[OS X TeX] equation* and \boxed do not work

Berend Hasselman bhh at xs4all.nl
Fri Jun 1 07:33:16 CEST 2007


On 1 Jun 2007, at 07:20, Michael Rogers wrote:

> I am using the MacTex-2007 package, with TeXLive-2007 set as the  
> distribution to use in TeXShop.
>
> I was using the i-package system before, and just upgraded a few  
> days ago, but the problems have existed before the upgrade.
>
> The Problem:
>
> I have NEVER been able to get
>
> \begin{equation*}
> [equation body]
> \end{equation*}
>
> to work.
>
> Error is:
> ---------------------------------------------------------------------- 
> --------------
> ! LaTeX Error: Environment equation* undefined.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
> ...                                                                    
>                         l.49 \begin{equation*}
>                    ?
> ---------------------------------------------------------------------- 
> --------------
>
>
> It always chokes on the *. I can use \[    \] or a plain \begin 
> {equation}...
>
> Also, I can't get  \boxed{   } to work either. Error is:
>
>
> ---------------------------------------------------------------------- 
> --------------
> ! Undefined control sequence.
> l.50 \boxed
>          {x=y}
>
> ---------------------------------------------------------------------- 
> --------------
>
>

Use the amsmath package.

Place a

	\usepackage{amsmath}

in the document preamble, i.e. after the \documentclass and before  
the \begin{document}

Documentation is in amsldoc(.pdf).
In Terminal issue

	texdoc amsldoc

and you should get amsldoc.pdf in Preview.

Berend


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list