[Tex/LaTex] How to insert Greek letters (having trouble with \greekletter)


This is my code:

\lamba = \frac{x}{2}

But \lamba appears just as a blank space.

Best Answer

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}