I'm using the nomencl
-package for a list of symbols. Line breaks are inserted automatically whenever a description of a symbol is too long. However, if a symbol itself is too long, the indentation of the first and second line of the description is not aligned. The following example shows what I mean:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{nomencl}
\makenomenclature
\usepackage{etoolbox}
\renewcommand\nomgroup[1]{%
\item[\bfseries
\ifstrequal{#1}{A}{A}{}
]}
\begin{document}
\mbox{}
\nomenclature[A]{$a$}{Abc def ghi jkl mno pqr stu vwx yz. 123 456 789 101112 131415 161718 192021}
\nomenclature[A]{$foobar123$}{Abc def ghi jkl mno pqr stu vwx yz. 123 456 789 101112 131415 161718 192021}
\printnomenclature
\end{document}
This is how the rendered output looks like:
Is it possible to automatically indent all descriptions relative to the longest symbol in the list ($foobar123$
in the example)?
$fooa123$
) and the indentation of the description of every other symbol (e.g.$a$
) should be aligned with that description.nomentbl
style)nomentbl
option. I made a report of this here: github.com/borisveytsman/nomencl/issues/7