[OS X TeX] Division into

Alain Schremmer Schremmer.Alain at verizon.net
Wed Sep 8 17:30:50 EDT 2004


I am trying to set up a division and the following almost does it

\begin{center}
    \begin{tabular}{@{} cc @{}}
    %Row0
            ?
        &    2
        \\
        \cmidrule{2-2}
    %Row1
            3
        \vline
        &    8
        \\
    %Row2
            ?
        &    6
        \\

        \cmidrule{2-2}
    %Row3
            ?
        &    2
        \\
    \end{tabular}
\end{center}

I don't require that the vertical line be curved--although I wouldn't 
mind if it did but I would like it to connect with the horizontal one.
When I tried

    \setlength\@{0}

Console replied

    !You can't use 'spacefactor' in vertical mode.
    \@->\spacefactor
        \@m
    1.4836 \setlength\@{0}

And, strange behavior, when I try to copy this, it turns into

    ! Missing $ inserted.
    <inserted text>
                    $
    l.4836 \setlength\@{0}

What am I doing wrong?
Do I really have to use the hhline package?

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