LaTeX: Create a list of abbreviations - how it works
You can also create abbreviations in LaTeX. This helps you above all for longer work. This practical tip shows you how to create your list of abbreviations correctly.
LaTeX: Create a list of abbreviations with Longtable
In LaTeX you can easily incorporate abbreviations as a table. To create a list of abbreviations in LaTeX, you can use a longtable. It is encoded as follows:
- \ begin {longtable} {p {x cm} p {y cm}} Abbreviation & abbreviation \\ \ end {longtable}
- Here you should only use two to three centimeters for the first column, i.e. for x. With the second column, y, fill up the page, for example eight to ten centimeters.
- The advantage of a longtable is that it can go over one side without being cut off.
- If necessary, you can also write individual entries in bold.
- You can find out more about tables in LaTeX in the corresponding practical tip.
LaTeX: Create a list of abbreviations with the Abbrevations package
Alternatively, you can use the Abbreviations package:
- Load it in front of "\ begin {document}" using "\ usepackage {acronym}". This is how the directory is encoded:
- \ begin {acronym} \ acro {abktag} [abbreviation] {abbreviation} \ end {acronym}
- Every shortcut gets a day here.
- If you type in "\ ac {abktag}" in the body text, the advertised version will be displayed the first time and the corresponding abbreviation will appear in brackets.
- When called again via "\ ac {abktag}", only the abbreviation follows.
- If you don't want to introduce the abbreviation at all, always write "\ acs {tagabk}".
- "\ acl {tagabk}" outputs the form, here "abbreviation".
In further CHIP online practical tips, we will show you how to insert pictures into your document and create an automatic list of figures with LaTex.