From: 6500zxz@ucsbuxa.ucsb.edu (Sitaram Ramaswaamy)
Newsgroups: comp.text.tex
Subject: equations - and math mode-HELP-!!!!
Date: 1 Oct 92 07:11:35 GMT


Hello there,
        I am a novice as far as LaTeX is concerned. I was trying to
format some equations with LaTeX when I ran into some trouble.
My machine is a HP9000/730 running HP-UX 8.05. I have read 
the docs but they don't seem to help. 

        The problem seems to be with the math environments.
Below is a sample test file that should have no problems {I guess}
on your machines. None of the \begin{math}, \begin{displaymath}
or \begin{equation} seem not to be functioning correctly.
There is an example below and I have tried other equations but without
greater success.

        It in   is desperation that I turn to you all. Local gurus
are unavailable at present. 

        Is this peculiar to my system? Or is there some eazy
fix that I am missing.

Thanks a million for your help

-R. Sitaram


NCLUDE (test.tex)-------------------------------

\documentstyle{report}

\begin{document}
\vspace{1mm}

The equations of the drop are as given below.

\begin{equation}


\nabla \cdot \hat{\bf u}

% ^-- the above does not seem to function as it should. and seems to
% left flush the equation to give
% \nabla \cdot \hat{\bf u}(0.1)  where 0.1 is the equation label 

% HOWEVER
% $$\nabla \cdot \hat{\bf u}$$ <- this works without any problems
%
\end{equation}

\end{document}
-------------------------------------------------

INCLUDE (test.log)-------------------------------

This is TeX, C Version 3.14t3 (format=lplain 92.3.25)  30 SEP 1992 23:02
**t.tex
(t.tex
LaTeX Version 2.09 <7 Dec 1989>
(/usr/local/lib/tex/inputs/report.sty
Document Style `report' <13 Nov 89>.
(/usr/local/lib/tex/inputs/rep10.sty)
\descriptionmargin=\dimen99
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
 (/usr/local/lib/tex/inputs/titlepage.sty))
No file t.aux.
! Missing $ inserted.
<inserted text>
                $
<to be read again>
                   \par
l.9

?
! Display math should end with $$.
<to be read again>
                   \par
l.9

?
! Display math should end with $$.
<to be read again>
                   \par
l.9

?
! Missing $ inserted.
<inserted text>
                $
<to be read again>
                   \nabla
l.11 \nabla
            \cdot \hat{\bf u}
?
! You can't use `\eqno' in math mode.
\endequation ->\eqno
                     \@eqnnum $$\global \@ignoretrue
\end #1->\csname end#1\endcsname
                                 \@checkend {#1}\if@endpe \global \let \@gte...
l.12 \end{equation}

?
! Missing $ inserted.
<inserted text>
                $
<to be read again>
                   \endgroup
\end ...global \let \@gtempa \relax \fi \endgroup
                                                  \@gtempa \if@ignore \globa...
l.12 \end{equation}

?
[1

] (t.aux) )
Here is how much of TeX's memory you used:
 159 strings out of 4463
 1528 string characters out of 63241
 26263 words of memory out of 262141
 2110 multiletter control sequences out of 9500
 18996 words of font info for 72 fonts, out of 72000 for 255
 14 hyphenation exceptions out of 607
 12i,4n,15p,139b,54s stack positions out of 300i,40n,60p,3000b,4000s

Output written on t.dvi (1 page, 456 bytes).
Newsgroups: comp.text.tex,aus.tex