This keeps the "S" and "L" in non-italic upshape, as given in your example.

```
\documentclass{article}
\usepackage{stackengine}
\begin{document}
$ a \mathrel{\stackunder[-1pt]{$\wedge$}{\tiny L}}
b \mathrel{\stackunder[-1pt]{$\wedge$}{\tiny S}} c$
\end{document}
```

LaTeX needs to know beforehand that the subsequent text does indeed contain mathematical elements. This is because LaTeX typesets maths notation differently from normal text. Therefore, special environments have been declared for this purpose.

Greek letters are commonly used in mathematics, and they are very easy to type in math mode. You just have to type the name of the letter after a backslash: if the first letter is lowercase, you will get a lowercase Greek letter, if the first letter is uppercase (and only the first letter), then you will get an uppercase letter. Note that some uppercase Greek letters look like Latin ones, so they are not provided by LaTeX (e.g. uppercase Alpha and Beta are just "A" and "B" respectively). Lowercase epsilon, theta, kappa, phi, pi, rho, and sigma are provided in two different versions. The alternate, or variant, version is created by adding "var" before the name of the letter:

`\alpha`

, `A`

, `\beta`

, `B`

, `\gamma`

, `\Gamma`

, `\pi`

, `\Pi`

, `\phi`

, `\varphi`

, `\Phi`

See more in: http://en.wikibooks.org/wiki/LaTeX/Mathematics

## Best Answer

As stated in the comments, you get the symbols in mathmode simply by writing them down. Packages like

`amsmath`

and`amssymb`

support you.