TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is my code:

\lamba = \frac{x}{2}

But \lamba appears just as a blank space.

share|improve this question
You seem to have several mistakes: \lamba = \lambda? it should be \begin-\end{equation}, not "equations", and why do you use align? – Peter Jansson Feb 24 '13 at 21:46
Welcome to TeX.sx! Please add a minimal working example (MWE) starting with \documentclass{...} and ending with \end{document} that illustrates your problem. And to add to @PeterJansson comment: Do not use the align environment inside another math-mode environment. align introduces math-mode on its own. – Qrrbrbirlbel Feb 25 '13 at 0:02

You would find comprehensive documentation online about typesetting equations. You can also Google for examples, you'll find several examples along with explanation. One such compilation is by Stefan M. Moser.

Below is a MWE to help you get started.

You would have to use the amsmath package.

To typeset inline equations, you may use the LaTeX shorthand \(...\) or the Tex shorthand $...$. For numbered equations, you would have to use the equation environment. See below for examples:


We can use the \LaTeX~shorthand for inline equations such as \( \alpha = \beta +
\gamma + \lambda \).

For numbered equations we can use the \texttt{equation} environment.
    \alpha = \beta + \gamma + \lambda

If we do not want the equations to be numbered, we may use the
\texttt{equation*} environment.
    \alpha = \beta + \gamma + \lambda

The \texttt{align} and/or \texttt{eqnarray} environment is used to group together multiple
equations and align them using \texttt{\&}
    \alpha &= \beta + \gamma * \lambda \\
    \theta &= \frac{\alpha}{4}


share|improve this answer
You should almost always avoid using eqnarray. See eqnarray vs. align. – Alan Munn Feb 25 '13 at 1:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.