How to Anchor Shapes, Create Underline Styles, and Remove Margin Marks in Word
Question details
The user needs to learn how to properly anchor graphics to paragraphs, save specific underline formats as character styles with keyboard shortcuts, and eliminate vertical lines appearing in document margins.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Formatting a complex document layout involving exact image placements, repetitive text styling, and resolving markup from edits.
- Observed behavior
- Shapes lose alignment with their intended text, applying complex text underlines manually is inefficient, and unresolved track changes leave persistent vertical marks in the margin.
Before adjusting layout settings, turn on formatting marks (by clicking the paragraph symbol ¶ on the Home tab) so you can clearly see where paragraphs end and where your shapes are currently anchored.
Anchor Shapes to Specific Paragraphs
Keep your graphics exactly where they belong by locking their anchors to the relevant text paragraphs.
By default, shapes in Word are attached to a specific paragraph. If the paragraph moves to another page, the shape goes with it. You can lock this anchor so the image never accidentally detaches from its context.
Click on the graphic or shape you want to anchor. You will see a small anchor icon appear next to a paragraph.
Click the 'Layout Options' icon that appears next to the shape, or right-click the shape and select 'Wrap Text' > 'More Layout Options'.
In the Position tab, check the box for 'Lock anchor'. You can also choose 'Move object with text' to ensure it travels with the paragraph as edits are made. Click 'OK'.

Create Reusable Underline Character Styles
Save complex formatting combinations, such as colored or wavy underlines, into a reusable style with an assigned shortcut.
Remove Vertical Margin Marks (Track Changes)
Clear the vertical lines on the side of your document by reviewing and accepting tracked changes.
Use WPS Writer for Advanced Formatting and Layout Control
WPS Writer provides an intuitive and user-friendly interface for anchoring graphics, managing custom text styles, and handling document revisions. It is completely free to use and seamlessly compatible with Microsoft Word documents, making complex layout tasks straightforward.
- 1. Anchor Shapes Effortlessly: Insert any shape into WPS Writer, click the 'Wrap Text' icon floating next to it, and navigate to 'More Layout Options' to precisely lock its paragraph anchor.
- 2. Set Up Custom Underlines: Open the Styles and Formatting panel, choose to create a new Character style, and define your exact underline weight, color, and pattern with ease.
- 3. Clear Revision Marks: Head to the Review tab, select 'Accept', and click 'Accept All Changes in Document' to instantly resolve edits and remove vertical margin lines.

Frequently Asked Questions
Why does my anchored shape jump to the next page unexpectedly?
A shape moves with the paragraph it is anchored to. If the text paragraph flows onto the next page due to edits above it, the shape will follow. You can reveal formatting marks to see exactly which paragraph holds the anchor, and drag the anchor icon to a different paragraph if needed.
Can I use shortcuts for the custom styles I create?
Yes. When creating or modifying a custom style, you can assign a custom keyboard shortcut by clicking 'Format' at the bottom of the Modify Style dialog box, then selecting 'Shortcut key'.
What do the red lines in the left margin of my document mean?
Red or vertical lines in the document margins indicate that 'Track Changes' is active and modifications (like added or deleted text) have been made on those lines. You need to accept or reject the changes via the Review tab to remove the lines.




