I need to build one environment for proofs in my lessons.
\begin{proof}
...
\end{proof}
This environment could have one content containing one macro named \lines
like in the following example. \lines{n}
draws n horizontal rules on which the pupils can write during the lesson.
\begin{proof}
bla, bla,...
\lines{4}
bla, bla,...
\lines{7}
bla, bla,...
\end{proof}
I would like to display,or not, proof
environments that contains one or more macros \lines
so as to have two versions of my lessons : one for the pupils and one showing only texts that I've typed.
Is it possible ?
More precisely, I want to not display the entire proof environment if the \lines
macro is used.
proof
environment if the\lines
macro is used, or do you want a method to change the\lines
macro to do nothing?\lines
macro is used. I've updated my question.proof
environment. Otherwise, interaction with packages likeamsthm
orntheorem
might be required.amsthm
orntheorem
that seem to be the good choices. What is the better one ? My proof environment would be a standard one with one left square at the end.