[OS X TeX] colorbox

Alain Schremmer Schremmer.Alain at verizon.net
Wed Jan 26 23:27:08 EST 2005


I am puzzled by the way 2x=7 is typeset:

  \documentclass[11pt]{book}
                \usepackage{color}      
                \usepackage{amsmath}
    \begin{document}

        \begin{equation*}
            \colorbox{yellow}{2x=7}
        \end{equation*}

        \begin{center}
            \colorbox{yellow}{$3x=7$}
        \end{center}

   \end{document}

3x=7  shows that colorbox does not hate math.
Interchanging the order of the packages makes no difference.

The only place where colorbox is mentioned in Companion 2ed is on page 
158. 

Regards
--schremmer
--------------------- 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 MacOSX-TeX mailing list