bold questions marks due to undefined labels in propref; fixed \begriff-bug with spaces

This commit is contained in:
epsilonbelowzero 2018-11-08 19:32:43 +01:00
parent a80fe6c51b
commit bae5d3e1aa

View file

@ -509,14 +509,26 @@
}% }%
}% }%
}% }%
{???}%similar to \ref\cref: question marks in case of undefined labels {\bfseries ???}%similar to \ref\cref: question marks in case of undefined labels
} }
%\makeatletter
%declare new term to the index, output if no star is given to call position %declare new term to the index, output if no star is given to call position
\NewDocumentCommand{\begriff}{s O{} m O{}}{% \NewDocumentCommand{\begriff}{s O{} m O{}}{%
\index{#2#3#4}% \index{#2#3#4}%
\IfBooleanTF{#1}{}{\uline{#3}\ }% \IfBooleanTF{#1}\relax\uline{#3\/}%
\futurelet\begriffnextchar\begriffspace%
} }
\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 %append a new mathsymbol to the index, output if no star is given at the call position
\NewDocumentCommand{\mathsymbol}{s O{} m m O{}}{% \NewDocumentCommand{\mathsymbol}{s O{} m m O{}}{%