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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
\PassOptionsToPackage{
% drafting=true, % print version information on the bottom of the pages
tocaligned=false, % the left column of the toc will be aligned (no indentation)
dottedtoc=false, % page numbers in ToC flushed right
style=arsclassica % classicthesis, arsclassica, linedheaders, plain
}{classicthesis}
\documentclass[a4paper, 11pt,
use style = classicthesis,
theorem in new line,
emphasize theorems,
theorem numbering = section,
% number theorems separately,
simple name, % for clever referencing
name in link, % for clever referencing
]{einfart}
\usepackage{ProjLib}
\usepackage{blindtext}
%% \UseLanguage{French}
\numberwithin{equation}{section}
\SwitchTheoremNumbering{example,examples,claim}
\begin{document}
\title{\spacedallcaps{Title of the article}\\[.3\baselineskip](demo of the style \textquote{ClassicThesis})}
\author{Author One}
\address{Address of Author One}
\email{\href{mailto:author.one@email.com}{author.one@email.com}}
%% \thanks{The first author is indebted to...}
\author{Author Two}
\address{Address of Author Two}
\email{\href{mailto:author.two@email.com}{author.two@email.com}}
%% \thanks{The second author would like to thank the support of...}
\subjclass{XXXXX}
%% \keywords{AAA, BBB, CCC}
\date{\today[only-year-month]}
%% \date{\TheDate{2024-01}}
\maketitle
\begin{abstract}
Some abstract. \blindtext
\end{abstract}
\begin{keyword}
AAA, BBB, CCC
\end{keyword}
\tableofcontents
\section{Section title}
\subsection{Subsection title}
Some introductory text.
\begin{definition}[something]
Define something.
\end{definition}
\begin{theorem}[some result]\label{thm:result}\index{Theorem on some result}
The statement.
\end{theorem}
\begin{emphasis}
Clever reference: \cref{thm:result} (only name: \namecref{thm:result}, only number: \labelcref{thm:result}).
\end{emphasis}
An equation:\index{Euler's equation}
\begin{equation}\label{eq:Euler}
\mathrm{e}^{\mathrm{i}\pi} + 1 = 0.
\end{equation}
\begin{emphasis}
Reference of equation: \eqref{eq:Euler} or \cref{eq:Euler}.
\end{emphasis}
\SetTheorem{corollary}{shared counter = subsubsection}
\begin{corollary}[of \cref{thm:result}]\label{cor:result}
Some corollary.
\end{corollary}
\SetTheorem{corollary}{shared counter = subsection}
\begin{proof}
Some lines of proof.
\end{proof}
\begin{examples}
\begin{enumerate}
\item First example.
\item Second example.
\item Third example.
\end{enumerate}
\end{examples}
\begin{example*}[Important example]
The numbering is switched in the preamble, thus \verb|example*| is the numbered version while \verb|example| is the unnumbered version.
\end{example*}
\begin{proof}[Proof of \cref{thm:result}]
Some lines of proof.
\end{proof}
\blinddocument
\printindex
\end{document}
|