add command \textInString for future use

could be used to make \appear and \away sensitive to Person1 und Person2
This commit is contained in:
AntonObersteiner 2023-02-03 12:42:46 +01:00
parent 3bdc642e47
commit fbb7cdaf49

View file

@ -59,6 +59,14 @@
\includegraphics[height=4em]{tudlogo}% \includegraphics[height=4em]{tudlogo}%
} }
} }
% from https://tex.stackexchange.com/questions/566641/test-for-substring-with-expl3-in-argument-of-setlength
\newcommand{\textInString}[2]{%
\ifnum\pdfmatch{#1}{#2}=1
\expandafter\@firstoftwo
\else
\expandafter\@secondoftwo
\fi
}
\makeatother \makeatother
\pagestyle{fsrProtokoll} \pagestyle{fsrProtokoll}