Generate two versions of the same latex document
\documentclass{article} | |
\ifdefined\SOLUTIONS | |
\newcommand{\solution}[1]{\textbf{Solution:} #1} | |
\else | |
\newcommand{\solution}[1]{} | |
\fi | |
\begin{document} | |
Job name: `\jobname'.\\ | |
\solution{Just use makefiles!} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment