How to Create Writing Lines That Touch Text in Microsoft Word
Question details
The user wants to create a custom notebook-style document where typed text perfectly aligns and sits directly on continuous horizontal writing lines.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Creating a lined document, worksheet, or template where standard typing naturally rests on ruled lines without relying on excessive text boxes or misaligned tables.
- Observed behavior
- Using tables or standard document templates leaves gaps between the text and the lines, making it fail to replicate the appearance of handwriting on a physical notebook.
Before adjusting your formatting, finalize the font type and size you intend to use for your document, as different fonts have varying default baselines that heavily affect line alignment.
Adjust Paragraph Line Spacing to an Exact Value
This method forces text to sit directly on ruled lines by locking the paragraph line spacing to a specific point value, preventing automatic line height adjustments.
By setting the line spacing to 'Exactly', you override the default dynamic spacing. This gives you pixel-perfect control over where the bottom of your text sits in relation to underlined elements.
Highlight the text or blank paragraphs where you want to apply the notebook lines.
Go to the 'Home' tab on the ribbon and click the small dialog box launcher arrow in the bottom right corner of the 'Paragraph' group.
In the Paragraph dialog box, locate the 'Spacing' section. Change the 'Line spacing' dropdown menu to 'Exactly'.
In the 'At' box, type a point value that matches or slightly exceeds your font size (e.g., 14 pt for a 12 pt font). Click 'OK'. Incrementally adjust this exact value until your typed text visually touches the underlines.

Use a Background Text Box in the Header
This approach separates the lined background from the actual text by using underlined tabs placed behind the main document content.
Create Precision Lined Documents in WPS Writer
WPS Writer offers incredibly precise paragraph formatting controls and advanced header manipulation, making it simple to create perfectly aligned lined paper templates.
- 1. Open Document: Launch WPS Writer, open a new document, and type your content or set up your underline styling.
- 2. Access Paragraph Tools: Highlight your text, right-click, and select 'Paragraph' from the context menu to open the formatting tools.
- 3. Apply Exact Spacing: Navigate to the 'Spacing' tab, select 'Exactly' under Line Spacing, and input a custom point value that aligns perfectly with your font's baseline.
- 4. Fine-tune and Save: Apply the settings to verify the text sits right on the lines, make any micro-adjustments, and save your document flawlessly in .docx format.

Frequently Asked Questions
Why does my text sit above the line instead of touching it?
Standard line spacing includes extra padding (leading) above and below characters to improve readability. To make text touch the line, you must override this padding by changing line spacing to an 'Exact' point value through the Paragraph settings.
Will changing the font style ruin my exact line spacing alignment?
Yes. Different fonts have varying built-in baseline heights. If you switch from Arial to Times New Roman, for instance, you will likely need to reopen your Paragraph dialog and slightly tweak the 'Exactly' point value to make the text sit perfectly on the lines again.
Can I use the table method to create notebook lines?
While you can use a single-column table with only the bottom borders visible, tables inherently have cell margins that create a gap between the text and the border. You would need to set the cell margins to zero and set the row height to an 'Exact' measure to achieve the desired touching effect.




