-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdocument-tikz.tex
57 lines (41 loc) · 1.09 KB
/
document-tikz.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
\documentclass{report}
\usepackage{amssymb, amsmath, hyperref}
\usepackage{tikz}
\usepackage{tikz-cd}
\theoremstyle{plain}
\newtheorem{theorem}[subsection]{Theorem}
\newtheorem{proposition}[subsection]{Proposition}
\newtheorem{lemma}[subsection]{Lemma}
\theoremstyle{definition}
\newtheorem{definition}[subsection]{Definition}
\newtheorem{example}[subsection]{Example}
\newtheorem{exercise}[subsection]{Exercise}
\newtheorem{situation}[subsection]{Situation}
\theoremstyle{remark}
\newtheorem{remark}[subsection]{Remark}
\newtheorem{remarks}[subsection]{Remarks}
\numberwithin{equation}{subsection}
\begin{document}
\chapter{A first chapter}
\label{chapter:first}
\section{A first section}
\label{section:first}
\begin{lemma}
\label{lemma:pythagoras}
$a^2=b^2+c^2$
\end{lemma}
\begin{tikzpicture}
\draw (0,0) --(1,2);
\end{tikzpicture}
\begin{tikzcd}
a \arrow[r] & b
\end{tikzcd}
\section{A second section}
\label{section:second}
\chapter{A second chapter}
\label{chapter:second}
\section{A third section}
\label{section:third}
\section{A fourth section}
\label{section:fourth}
\end{document}