borisveytsman / nomencl

The nomenclature package can be used to generate and format a nomenclature using MakeIndex.
http://ctan.org/pkg/nomencl
8 stars 1 forks source link

`siunitx` incompatibility #11

Closed learex closed 3 years ago

learex commented 3 years ago

The s column has been removed. Therefore a workaround is needed to make nomencl working again: If the collcell-lines and \si are removed, errors are thrown.

\documentclass{article}

\usepackage[
    german
    nomentbl
    ]{nomencl}

\usepackage{collcell}% bug workaround
\newcolumntype{s}{>{\collectcell\unit}c<{\endcollectcell}}% bug workaround
\makenomenclature

\begin{document}
    \nomenclature[a]{$a$}{Beschleunigung}{\si{m.s^{-2}}}{reell}% bug workaround (\si)
    \printnomenclature
\end{document}