-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.tex
61 lines (45 loc) · 1 KB
/
example.tex
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
\section*{TexStuffExample}
%%%%%%%%%%%%%%%%
% REGULAR TEXT %
%%%%%%%%%%%%%%%%
BLABLA\\
\emph{BLABLA}\\
BLABLA
BLABLA\\
BLABLA
BLABLA
\\
i'm a line with dots\ldots
\\
%%%%%%%%%%%%
% FORMULAS %
%%%%%%%%%%%%
Formulas
\[ a^2 + b^2 = c^2\]
\[ b = \sqrt{c^2 - a^2} \]
Pictures (Fig. \ref{fig:egPic})\\
\begin{figure}[htp]
\begin{center}
\includegraphics[width=6cm]{Pic/exampleimage.jpg}
\caption{description of the sketch}
\label{fig:egPic}
\end{center}
\end{figure}
%%%%%%%%%%
% TABLES %
%%%%%%%%%%
Tables (Tab. \ref{tab:mytable})\\
\begin{table}[htbp]
\begin{center}
\begin{tabular}{|l||c|c|c|} \hline
Name & Test 1 & Test 2 & Final \\ \hline \hline
Bob & 93 & 92 & 70 \\ \hline
John & 93 & 92 & 70 \\ \hline
Peter & 78 & 41 & 77 \\ \hline
Jack & 94 & 97 & 45 \\ \hline
Jane & 95 & 87 & 96 \\ \hline \hline
Avg: & 94 & 90 & 83 \\ \hline
\end{tabular}
\caption{\label{tab:mytable}This is a table with random numbers.}
\end{center}
\end{table}