File: formulas.tex

package info (click to toggle)
latex2html 2025%2Bdebian1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,992 kB
  • sloc: perl: 34,820; makefile: 437; sh: 32
file content (47 lines) | stat: -rw-r--r-- 998 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
% -*- 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.