How can I make a list as shown in the picture?

enter image description here

I want to have a similar list of abbreviations/notions where everything is lined up as shown in the picture. I have tried to use the glossaries package, but that didn't give me the dots inbetween. I have also tried to use \begin{description}, but then I had to manually enter the dots.

Can someone help me with this?


This is possible either with the main glossary and using listdotted as glossary style or defining another special glossary for this.

Please note that listdotted ignores the value of the symbol key, however.




\newglossaryentry{energy}{name={$E$}, description={Energy}}
\newglossaryentry{speedoflight}{name={$c$}, description={Speed of light}}
\newglossaryentry{mass}{name={$m$}, description={Mass}}





enter image description here

| improve this answer | |
  • Hello Christian, somehow I'm getting an additional line: latex ................. Is a markup languag especially suited for scientific documents. Is there a bug in the glossary package? – Aidan Rocke Aug 10 '17 at 10:38
  • @AidanRocke: As you can see from my screen shot: There's no extra ...... line – user31729 Aug 11 '17 at 7:28
  • I managed to fix this problem actually but only by inserting the glossary entries into the page where I wanted the glossary to appear. – Aidan Rocke Aug 11 '17 at 9:05
  • @AidanRocke: I doubt that is the correct way to do so.. – user31729 Aug 13 '17 at 16:16
  • When I tried your suggestion, everything was correct but I got an extra line with latex... Could the 'correct' solution depend on the latex editor? – Aidan Rocke Aug 13 '17 at 16:26

An example using the acro package (borrowing from Christian's answer):



% use KOMA-Script's `labeling' list:
  {\labeling[ \dotfill]{alongwordthatdeterminesthewidth}}

% declare a list style for acro using the new list:
  list = mylist

% tell acro to use the new list style:
  list-style = dotted-list

% declare the acronyms:
  short = {$E$},
  long  = {energy}
  short = {$c$},
  long  = {speed of light}
  short = {$m$},
  long  = {mass}





enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.