neue Begriffs-Definition produziert nur Fehler

ich hab den alten Code hereinkopiert, neuer Code ist auskommentiert
This commit is contained in:
henrydatei 2018-11-09 15:44:02 +01:00
parent bae5d3e1aa
commit 6fc1f456d9

View file

@ -514,21 +514,26 @@
%\makeatletter
%declare new term to the index, output if no star is given to call position
%\NewDocumentCommand{\begriff}{s O{} m O{}}{%
% \index{#2#3#4}%
% \IfBooleanTF{#1}\relax\uline{#3\/}%
% \futurelet\begriffnextchar\begriffspace%
%}
%\def\begriffspace{%
% \if\begriffnextchar.\else%
% \if\begriffnextchar,\else%
% \if\begriffnextchar;\else%
% \ %
% \fi%
% \fi%
% \fi%
%}
%\makeatother
\NewDocumentCommand{\begriff}{s O{} m O{}}{%
\index{#2#3#4}%
\IfBooleanTF{#1}\relax\uline{#3\/}%
\futurelet\begriffnextchar\begriffspace%
\IfBooleanTF{#1}{}{\uline{#3}\ }%
}
\def\begriffspace{%
\if\begriffnextchar.\else%
\if\begriffnextchar,\else%
\if\begriffnextchar;\else%
\ %
\fi%
\fi%
\fi%
}
%\makeatother
%append a new mathsymbol to the index, output if no star is given at the call position
\NewDocumentCommand{\mathsymbol}{s O{} m m O{}}{%