I always thought I was handy with LaTeX but I'm stuck! I'm trying to write some lecture notes that will either display some text (for my personal copy) or leave a blank space of the same size (that my students will fill in during the lecture) depending on how the file is compiled. Currently I've got the following:
Code: Select all
\newif\iflecturerversion
\lecturerversiontrue % comment out this line for student's copy
\begin{document}
\iflecturerversion{My worked example goes here which may be spread over several lines and includes equations}\else{\vspace{50mm} }\fi
Thanks in anticipation!
Graeme