Thursday, 6 December 2012

Lyx 2.0 (LaTeX) Nomenclature as numbered chapter/section

Lyx 2.0 (LaTeX): How to set nomenclature as numbered section:


%Nomenclature
\usepackage{nomencl}
\let\abbrev\nomenclature
\renewcommand{\nomname}{Abkürzungsverzeichnis}
\setlength{\nomlabelwidth}{.25\hsize}
\renewcommand{\nomlabel}[1]{#1 \dotfill}
\setlength{\nomitemsep}{-\parsep}
\makenomenclature
%...with number
\usepackage{etoolbox}
\makeatletter
\patchcmd{\idx@@heading}{\chapter*}{\section}{}{}%<= or \chapter*... \chapter
\patchcmd{\thenomenclature}{\chapter*}{\section}{} {}% dito
\makeatother

No comments:

Post a Comment