# LaTeX error

1. Dec 21, 2009

### latentcorpse

hi i wrote the following code. i think it's fairly easy to understand what im trying to get it to print. but LaTeX really doesn't like it. any advice?

\documentclass[12pt]{report}
\usepackage{float}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{mathrsfs}

\begin{document}
\begin{subequations}

U(\theta,t)=\beta \ln{t} + \gamma + \nu(\theta,t) t^{-\frac{1}{2}}+\kappa(\theta,t)

where $\beta$ and $\gamma$ are constants, $\nu$ is a bounded solution of the wave equation $\nu''=\ddot{\nu}$ and the remainder, $\kappa$, obeys
\begin{align*}
| \kappa(\theta,t) | &\leqslant C_7 t^{-\frac{3}{2}} \\
| \partial_t \kappa(\theta,t)| &\leqslant C_8 t^{-\frac{3}{2}}
\end{align*}
and

A(\theta,t)= \begin{cases}
\alpha + \beta^2 \ln{t} & \quad \text{ if $\nu(\theta,t)=0 \forall \theta,t$} \\
\delta t + \epsilon(\theta,t) & \quad \text{ if $\nu(\theta,t) \neq 0$ for some $\theta$ and $t$}
\end{cases}

\end{subequations}
\end{document}

2. Dec 21, 2009

### jdwood983

My advice is "www.lyx.org"[/URL]. It is a multi-platform LaTeX front-end (also free) that is a WYSIWYM (mean) (opposed to the OOo and MS WYSIWYG (get) ). No more need for $mathstuff$ and no more front matter (you can still add new codes via the Preamble option in the Document menu). I've been using it since version 1.4.2 (now on version 1.6.4).

What is great about it is you can see your work (math-type work I mean) as you are writing so there will be no compiling issues unless your single line of math-code is missing something necessary, like {,}, or something else of that nature.

Last edited by a moderator: Apr 24, 2017
3. Dec 22, 2009

### matonski

Use the amsart document class along with the amssymb and latexsym packages.

4. Jan 5, 2010

### kbaumen

What is the error LaTeX gives?

5. Jan 5, 2010

### Hepth

\begin{align*}
| \kappa(\theta,t) | &\leqslant C_7 t^{-\frac{3}{2}} \\
| \partial_t \kappa(\theta,t)| &\leqslant C_8 t^{-\frac{3}{2}}
\end{align*}

these dont need to be in an equation or 's?