Debian Codegraph @

texmf-dist/doc/latex/lectures/example.tex

raw
1 \documentclass[english]{lectures}
2 \begin{document}
3 \maketitle{
4 Test title
5 }{
6 Luca Cappelletti,Pinco Pallino
7 }{
8 Mirco Marconi,Millo Malloni
9 }{
10 Parlo Parloni,Parletti Parini
11 }{
12 1782
13 }{
14 3
15 }{
16 Informatica
17 }{
18 Università degli studi di Milano
19 }{
20 Italy
21 }
22
23 \begin{tabular}{L C R}
24 a & b & c \\
25 \alpha & \beta & \gamma \\
26 x_1 & x_2 & x_3 \\
27 \end{tabular}
28
29 \begin{theorem}[Pythagorean Theorem]
30 In a right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.
31 \begin{equation}
32 a^2 + b^2 = c^2
33 \end{equation}
34 \end{theorem}
35
36 \begin{proof}
37 This can be proven using the properties of similar triangles.
38 \end{proof}
39
40 \begin{definition}[Prime Number]
41 A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself.
42 \end{definition}
43
44 \begin{todolist}
45 \item Complete the assignment
46 \item Review the lecture notes
47 \item Prepare for the exam
48 \end{todolist}
49
50 \begin{figure}
51 \begin{subfigure}{0.49\textwidth}
52 \NewAdigraph{myAdigraph}{
53 s:0,0;
54 t:4,0;
55 }{
56 s,t;
57 }
58 \myAdigraph{}
59 \caption{A directed graph}
60 \end{subfigure}
61 \end{figure}
62
63 \end{document}