1

Suppose you want to keep two versions of the same document: one where you highlight changes and one where you show the final result. How can I use a "debug" or "test" mode to turn on/off my \textbf commands? Example:

\documentclass[phd,testing]{nuthesis}
\begin{document}
    This is old.
    \if testing, \textbf{This is new.}
\end{document}

I would like the following when in testing:

This is old.
This is new.

And this when not in testing:

This is old.
This is new.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.