Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create a custom list for LaTeX. For my final paper for a degree as computer specialist I needed to add a glossary and a table of acronyms. I did not want to use a package. For this reason I looked for a simple solution: `\newenviroment` offers the possibility to define a custom list. Here is an Example on how to define a custom list.
% Custom list for glossary
\setlength{\labelsep}{0mm} % space before text.
\setlength{\labelwidth}{44mm} % width of the label.
\setlength{\leftmargin}{44mm} % adjust margin. same size as labelwidth.
\renewcommand{\makelabel}[1]{\textbf{##1\space}\dotfill\space} % \dotfill creates a line of dots. you can also use \hfill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.