Formatting Issues

How to Anchor Shapes, Create Underline Styles, and Remove Margin Marks in Word

Nimra MalikNimra Malik Nov 2, 2026 870 views

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.

How to Anchor Shapes, Create Underline Styles, and Remove Margin Marks in Word
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 you start

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.

Solution 1Recommended

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.

1
Select the Shape

Click on the graphic or shape you want to anchor. You will see a small anchor icon appear next to a paragraph.

2
Open Layout Options

Click the 'Layout Options' icon that appears next to the shape, or right-click the shape and select 'Wrap Text' > 'More Layout Options'.

3
Lock the Anchor

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'.

Anchor Shapes to Specific Paragraphs
Simplify Document Layout and Styling

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. 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. 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. 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.
Easily lock shape anchors and wrap text using visual layout menus.Quickly generate custom character styles and assign keyboard shortcuts for efficient typing.Manage tracked changes effortlessly to keep your document margins clean.Fully compatible with Microsoft Word (.doc, .docx) formatting and features.
microsoft office alternative - wps office

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.