% -*- latex -*-
% read by l2htest.tex

\section{Mathematic formulas}
This is a sample formula:
$$ c = \pm\sqrt{a^2 + b^2} $$
\begin{displaymath}
\int_0^1 f(x)dx = F(x)|_0^1
\end{displaymath}

And this is an inline formula: $\int_0^1 f(x)dx = F(x)|_0^1$ and
so it goes.

\begin{eqnarray}
  a &=& 2(b+c) \\
    &=& 2b + 2c
\end{eqnarray}

Testing single variables: $a$, $b$, $c$.

Test of Figure environment:
\begin{figure}
\[ a = \int \exp{x} \,\mathrm{d}x \]
\end{figure}

Test using eqnarray:
\begin{eqnarray}
a_1 &=& -2 r \cos( 2 \pi f_c T_s ) \\
a_2 &=& r^2,
\end{eqnarray}

Test using eqnarray*:
\begin{eqnarray*}
b_0 &=& (1 - r^2) / 2 \\
b_1 &=& 0 \\
b_2 &=& -b_0,
\end{eqnarray*}
First as an equation:
\begin{equation}
\tilde{y}(x,t) = C^{+} e^{j (\omega t - k x)} + C^{-} e^{j (\omega t + k x)},
\label{eq:yxt}
\end{equation}
Then using displaymath:
\begin{displaymath}
  \tilde{y}(x,t) = C^{+} e^{j (\omega t - k x)} + C^{-} e^{j (\omega t + k x)},
\end{displaymath}
followed by more text.
