Moonic's notes


Tuesday, December 06, 2005

LaTeX tip #4

Tip below requires the amslatex macros.
These are automatically loaded if you use the amsart documentclass, but if you use other documentclasses, such as article, put the following in the preamble, after \documentclass{...}: \usepackage{amsmath, amsthm, amssymb} .

Theorem and Proof enviroment can be done in LaTeX as follows:

\newtheorem{Task}{Task}
\newcommand{\change}{}
\newenvironment{Exc}{\begin{Task} \rm}{\hfill $\Box$ \end{Task}}

More on the same topic: LaTeX tips: Theorems

2 Comments:

At 7:11 PM, Blogger LEEO said...

use
\begin{proof}
...
\end{proof}
It's gonna put a box automatically as well as write "Proof" in the begining :)

 
At 12:27 PM, Blogger Lunatik said...

no, it needs something like enviroment declaration or user package...

 

Post a Comment

<< Home