[OS X TeX] conditionally included text

Maarten Sneep maarten.sneep at xs4all.nl
Thu Apr 7 23:56:30 CEST 2005


On 8 apr 2005, at 0:51, Larry Smith wrote:

> How do I conditionally include text in LaTeX?  Say I'm typing a math
> assignment and I want to put the worked-out solutions in the same file
> (each solution after its respective question), but then toggle a 
> switch to
> print either the assignment alone or with the solutions.

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=conditional

and search teh comp.text.tex group on Google, there are some nice 
packages
specifically for this situation, and there were discussions about them 
in the last
6 months.

Maarten

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list