Share via

Align paragraph border with table border

Anonymous
2019-01-08T10:10:36+00:00

Hi!

The goal is to use customized headings in a table, with side navigation (actually, the important thing is bookmarks in the exported PDF) and an automatic table of contents. I have figured out that this is not possible, so I tried another approach, a paragraph with borders above the table and with top/bottom margins set to 0. Table of contents and side navigation works, but the borders are not aligned with the table borders. At some zoom levels it looks good, but at other zoom levels you see they are not aligned. The same goes when exporting to a PDF.

No matter how much I change margins, I cannot get them aligned.

The attached image shows what I want to do. Is it possible in any way?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
2019-01-08T12:00:42+00:00

To get the borders of the paragraphs containing the text in the Heading 1 style, you will need to fiddle with the paragraph indents.

For the following screen shot at 250% zoom, the left and right indents were set to 2 mm.

You might need to use Points or Picas as the unit of measure to obtain a finer adjustment.

To get the following alignment at 500% zoom, a left indent of 0.49 Pica was used

Was this answer helpful?

4 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2019-01-08T13:49:16+00:00

    Thank you!

    Using picas did the trick. It is not perfect for all zoom levels, but the exported PDF is correct, as well as a printed document. Since the documents will be distributed as PDF, this is most important.

    /Kristofer

    Was this answer helpful?

    0 comments No comments