Ask Your Question

Formatting Glossary Table

asked 2019-08-16 08:01:01 +0100

RenierMKAT gravatar image

updated 2020-09-21 23:22:58 +0100

Alex Kemp gravatar image


I am trying to insert a glossary into a document using the description from here:

When inserting the glossary the formatting into the document it ends up looking like this with each entry spanning two lines:

image description

I would like to change to format to get something as shown below.

image description

Thanks in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2019-08-16 14:55:05 +0100

ajlittoz gravatar image

Unfortunately, you can't do that with the Index feature.

The answer you reference makes use of two fields in the Index dialog: Entry and 1st key. Each field translates to an independent paragraph which is style respectively Index 1 and Index 2. Add to that that any tab character in an index entry is changed to a space when the glossary is formatted.

What you want is to merge both paragraphs and get rid of the page number.

The advantage of the index machinery is you can (must?) write the expansion of your abbreviation every time you use it. The index machinery then collapses all identical occurrences to a single one. However, from your sample, it looks like you define the meaning of the abbreviation only once and, therefore, the page number is not really relevant.

Consequently, if you accept to manage your glossary manually, the solution is quite simple.

Define a new paragraph style Glossary (eg.g as Text Body + right-click and New) with the following properties:

  • Indents & Spacing: to your liking
  • Tabs: define a new tab stop at right margin (in my case, it is 17cm with default margins but may vary on your page settings), Right aligned, dot leading line

Create your glossary entries, one per line (paragraph): the abbreviation, a tab character, the expanded name.

When you're done , and afterwards after adding new entries at end, select all entries and Tools>Sort.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

edit flag offensive delete link more

answered 2019-08-18 20:32:20 +0100

RenierMKAT gravatar image

Thanks for the feedback and suggestions.

edit flag offensive delete link more


You're welcome.

In order not to confuse users, please, transfer this "no-solution" as a comment to my answer. Answers in a Q&A site are reserved for solutions. Thanks.

ajlittoz gravatar imageajlittoz ( 2019-08-18 20:44:10 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-08-16 08:01:01 +0100

Seen: 375 times

Last updated: Aug 18 '19