[OS X TeX] OT-latex file management

Samuel Lelievre samuel.lelievre at univ-rennes1.fr
Thu Apr 29 08:49:44 CEST 2004


On Apr 28, 2004, at 4:29 PM, Chris Goedde wrote:
>Maybe I'm a bit dense, but couldn't this be done more easily using TeX
>itself, i.e.:
>
>----
>\documentclass[12pt]{article}
>
>\newcommand{\ProbEasyIntegral}{%
>Find the integral of $f(x)=x^2$ from $x=0$ to $x=10$.
>}

On Wed, 28 Apr at 21:22:41 -0400, Themis Matsoukas added
>Not a bad idea.   One inconvenience is that \newcommand names don't 
>accept numbers (dashes, underscores...), which limits the names you 
>can give. Another one is that if you want to print the entire 
>database you must include all the problems one by one.

Or you could have all the \item's like

   \item \ProbEasyIntegral

present in the document and just comment/uncomment them
(cmd-D / opt-cmd-D with Alpha).
-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the macostex-archives mailing list