2nd try for fix for \begriff

This commit is contained in:
epsilonbelowzero 2018-12-27 20:35:18 +01:00
parent 16a55a9639
commit 4ce7160a6a

View file

@ -521,7 +521,11 @@
\NewDocumentCommand{\begriff}{s O{} m O{}}{%
\index{#2#3#4}%
\IfBooleanTF{#1}{}{\uline{#3}}%
\futurelet\begriffnextchar\relax%
\futurelet\begriffnextchar\begriffspace%
}
\def\begriffspace{%
\fullexpandarg%
\IfSubStr{.,;}{\begriffnextchar}{}{\ }%
}
%append a new mathsymbol to the index, output if no star is given at the call position