Am 30.03.21 um 19:45 schrieb Wolfgang Engelmann:


Am 30.03.21 um 17:29 schrieb Yu Jin:
Am Di., 30. März 2021 um 10:54 Uhr schrieb Wolfgang Engelmann <engelm...@uni-tuebingen.de <mailto:engelm...@uni-tuebingen.de>>:

    How do I get the nomenclature to show up in the table of contents?
    I found, that idxtotoc should be added to the class option in the
    Document Class (I use Koma script book)

    This is, what I have in the class option (default of Koma script?):
refpage,intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading

    but I don't know whether index=totoc is the same as idxtotoc, or should
    I add idxtotoc=??


I did it like this:
In Document settings > local layouts insert

PackageOptions nomencl intoc

--
     Eugene

Thanks again. I do get now the Nomenclature listed, however, the output is scrambled. I had this in the preamble before for a two column nomenclature (here with % added). Doesn't seem to go along with the
PackageOptions nomencl intoc
With this package it is still scrambled, but differently (the
description text is too much pushed to the right of the symbol in bold.
Is there another way to get the two columns? And were can I read about the settings?
Wolfgang

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Two column nomenclature ========================
%\usepackage{multicol}
%\makeatletter
%\@ifundefined{chapter}
%{\def\wilh@nomsection{section}}
%{\def\wilh@nomsection{chapter}}
%\def\thenomenclature{%
%\begin{multicols}{2}[%
%\csname\wilh@nomsection\endcsname*{\nomname}
%\if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi
%\nompreamble]
%\list{}{%
%\labelwidth\nom@tempdim
%\leftmargin\labelwidth
%\advance\leftmargin\labelsep
%\itemsep\nomitemsep
%\let\makelabel\nomlabel}%
%}
%\def\endthenomenclature{%
%\endlist
% \end{multicols}
%\nompostamble}
%\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Thanks, Eugene,

PackageOptions nomencl intoc

in Document settings > local layouts insert

worked together with the Two column nomenclature in the preamble as shown above.

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to