GeneralPractice sheets in lectures: public and private version

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
bollox98
Posts: 3
Joined: Wed Jan 05, 2011 2:44 pm

Practice sheets in lectures: public and private version

Post by bollox98 »

I want to make my practice sheets for my lectures by Latex, public version without solution and my private version including solution - just by switching, let's say, an option in preamble. How is this feature supported by Latex?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Practice sheets in lectures: public and private version

Post by coachbennett1981 »

I am confused by what you are asking. Do you want notes sheets, and then a separate sheet that has answers?

You can use the exam class to do this.

Code: Select all


\documentclass[12pt]{exam}
\begin{document}
.....
\end{document}

If you want the answers printed you can use the command:

Code: Select all

\documentclass[answers]{exam}

here is the online manual to help you. This can tell you about some good commands to use in the document.

http://docs.google.com/viewer?a=v&q=ca ... YdmS9Rfasg
Hope this helps.

Nick
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Re: Practice sheets in lectures: public and private version

Post by Montag »

If you distribute them by hand, you could create a new command with at least two arguments for writing a "task" and its "solution". Then print the solution's text in white and partially disable the printing of figures for the solutions when printing the public version..
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
Post Reply