Is there a possibility to design a \newcommand for the if-structure?
I want to shorten the
\ifdefined\todo text \fi
into something where I simply need to write
\todo text
without the \fi.
Is there a possibility to design a \newcommand for the if-structure?
I want to shorten the
\ifdefined\todo text \fi
into something where I simply need to write
\todo text
without the \fi.
\todo{text}which you can define with newcomnand – David Carlisle Oct 17 '22 at 06:24\newcommand\todo[1]{#1}then\todo{foo}. And if you don't want text to appear in later versions you could use\newcommand\todo[1]{}instead. – Skillmon Oct 17 '22 at 07:39\todowith will end? – egreg Oct 17 '22 at 08:25