aboutsummaryrefslogtreecommitdiff
path: root/src/Lecture2/live/new.tex
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-05-25 17:10:49 +0200
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-05-25 17:10:49 +0200
commitd6c61d988bfa4255baf9cdae42db59ebee38363f (patch)
tree118ff3c2424e735149c145524965a4a337e50beb /src/Lecture2/live/new.tex
parent46eef66b1e1571c77dc828d7e950b129b4c8bfd0 (diff)
downloadmathsoftware-d6c61d988bfa4255baf9cdae42db59ebee38363f.tar.gz
mathsoftware-d6c61d988bfa4255baf9cdae42db59ebee38363f.zip
Added files
Diffstat (limited to 'src/Lecture2/live/new.tex')
-rw-r--r--src/Lecture2/live/new.tex99
1 files changed, 99 insertions, 0 deletions
diff --git a/src/Lecture2/live/new.tex b/src/Lecture2/live/new.tex
new file mode 100644
index 0000000..e38c7cf
--- /dev/null
+++ b/src/Lecture2/live/new.tex
@@ -0,0 +1,99 @@
1\documentclass[10pt,a5paper]{article}
2\usepackage[utf8]{inputenc}
3\usepackage{amsmath}
4\usepackage{amsfonts}
5\usepackage{amssymb}
6\usepackage{amsthm}
7\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
8
9\usepackage{enumitem}
10
11\title{Latex Example Live}
12\author{Sebastiano Tronto}
13\date{12-03-2021}
14
15
16
17\newtheorem{mythm}{My Theorem}[section]
18
19\theoremstyle{definition}
20\newtheorem{prop}[mythm]{Proposition}
21\newtheorem{defi}{Definition}
22
23\theoremstyle{remark}
24\newtheorem*{warning}{Achtung}
25
26\renewcommand{\thesection}{\S\arabic{section}}
27\renewcommand{\themythm}{\arabic{section},\Alph{mythm}}
28
29
30\numberwithin{equation}{section}
31
32\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}
33
34\begin{document}
35
36\maketitle
37
38
39\section{Text}
40
41abc
42
43\begin{align}
441+1=2
45\end{align}
46
47The section \ref{ts} contains theorems
48
49\section{inbetween}
50
51\section{Last section}
52\label{ts}
53
54
55\begin{prop}
56A less important fact
57\end{prop}
58
59\begin{mythm}[Gauss]
60\label{gaussthm}
61The equation \(2+x=4\) is true for \(x=2\).
62\begin{align}
63\label{eq}
64\sum_{i=1}^ni
65\end{align}
66\end{mythm}
67
68The above equation \eqref{eq} is not an equation
69
70\arabic{equation}
71
72
73\setcounter{defi}{23}
74\begin{defi}
75a definition
76\end{defi}
77
78\setcounter{mythm}{10}
79\begin{mythm}
80Another important fact.
81\end{mythm}
82
83\begin{warning}
84It is a common mistake to think that \(2+2=5\)
85\end{warning}
86
87
88\vspace{1cm}
89
90\begin{enumerate}[label=(\Roman*)]
91 \item an item
92 \item another one
93\end{enumerate}
94
95\arabic{enumi}
96
97\ref{gaussthm} is a theorem by gauss
98
99\end{document} \ No newline at end of file

Generated with cgit - Back to sebastiano.tronto.net