| 1 |
\PassOptionsToPackage{ |
| 2 |
% drafting=true, % print version information on the bottom of the pages |
| 3 |
tocaligned=false, % the left column of the toc will be aligned (no indentation) |
| 4 |
dottedtoc=false, % page numbers in ToC flushed right |
| 5 |
eulerchapternumbers=true, % use AMS Euler for chapter font (otherwise Palatino) |
| 6 |
floatperchapter=true, % numbering per chapter for all floats (i.e., Figure 1.1) |
| 7 |
style=arsclassica % classicthesis, arsclassica, linedheaders, plain |
| 8 |
}{classicthesis} |
| 9 |
\documentclass[a4paper, 11pt, |
| 10 |
use style = classicthesis, |
| 11 |
theorem in new line, |
| 12 |
emphasize theorems, |
| 13 |
theorem numbering = section, |
| 14 |
% number theorems separately, |
| 15 |
simple name, % for clever referencing |
| 16 |
name in link, % for clever referencing |
| 17 |
]{simplivre} |
| 18 |
\usepackage{ProjLib} |
| 19 |
\usepackage[ |
| 20 |
% lang = {french}, |
| 21 |
type = {CC}, |
| 22 |
modifier = {by}, |
| 23 |
version = {4.0}, |
| 24 |
hyperxmp = false, |
| 25 |
]{doclicense} |
| 26 |
|
| 27 |
\usepackage{blindtext} |
| 28 |
|
| 29 |
%% \UseLanguage{French} |
| 30 |
|
| 31 |
\numberwithin{equation}{section} |
| 32 |
\SwitchTheoremNumbering{example,examples,claim} |
| 33 |
|
| 34 |
\begin{document} |
| 35 |
|
| 36 |
\frontmatter |
| 37 |
|
| 38 |
\TitlePage [ style = fancy, color = { main = Maroon, back = Goldenrod }, author info on the right ] |
| 39 |
{ |
| 40 |
% , logo = { } % the logo image |
| 41 |
, title = { \fontspec{SourceSansPro}[WordSpace={1.25,1,1}] |
| 42 |
\addfontfeature{LetterSpace=2.0} |
| 43 |
Title of the book\\(demo of the style \textquote{ClassicThesis}) |
| 44 |
} |
| 45 |
, author = { Author Name } |
| 46 |
, date = { \today[only-year-month] } |
| 47 |
% , date = { \TheDate{2026-01} } |
| 48 |
, info = { |
| 49 |
This text is... \blindtext |
| 50 |
} |
| 51 |
, license = { \addfontfeature{Numbers=Lining} \medskip\doclicenseThis } |
| 52 |
, license page name = { Info } |
| 53 |
} |
| 54 |
|
| 55 |
\tableofcontents |
| 56 |
|
| 57 |
\mainmatter |
| 58 |
|
| 59 |
\mainmatter |
| 60 |
|
| 61 |
\ctparttext{Some introductory text. \blindtext} |
| 62 |
\part{Basic examples} |
| 63 |
|
| 64 |
\chapter{Chapter title} |
| 65 |
|
| 66 |
\section{Section title} |
| 67 |
|
| 68 |
\subsection{Subsection title} |
| 69 |
|
| 70 |
Some introductory text. |
| 71 |
|
| 72 |
\begin{definition}[something] |
| 73 |
Define something. |
| 74 |
\end{definition} |
| 75 |
|
| 76 |
\begin{theorem}[some result]\label{thm:result}\index{Theorem on some result} |
| 77 |
The statement. |
| 78 |
\end{theorem} |
| 79 |
|
| 80 |
\begin{emphasis} |
| 81 |
Clever reference: \cref{thm:result} (only name: \namecref{thm:result}, only number: \labelcref{thm:result}). |
| 82 |
\end{emphasis} |
| 83 |
|
| 84 |
An equation:\index{Euler's equation} |
| 85 |
\begin{equation}\label{eq:Euler} |
| 86 |
\mathrm{e}^{\mathrm{i}\pi} + 1 = 0. |
| 87 |
\end{equation} |
| 88 |
|
| 89 |
\begin{emphasis} |
| 90 |
Reference of equation: \eqref{eq:Euler} or \cref{eq:Euler}. |
| 91 |
\end{emphasis} |
| 92 |
|
| 93 |
\SetTheorem{corollary}{shared counter = subsubsection} |
| 94 |
\begin{corollary}[of \cref{thm:result}]\label{cor:result} |
| 95 |
Some corollary. |
| 96 |
\end{corollary} |
| 97 |
\SetTheorem{corollary}{shared counter = subsection} |
| 98 |
\begin{proof} |
| 99 |
Some lines of proof. |
| 100 |
\end{proof} |
| 101 |
|
| 102 |
\begin{examples} |
| 103 |
\begin{enumerate} |
| 104 |
\item First example. |
| 105 |
\item Second example. |
| 106 |
\item Third example. |
| 107 |
\end{enumerate} |
| 108 |
\end{examples} |
| 109 |
|
| 110 |
\begin{example*}[Important example] |
| 111 |
The numbering is switched in the preamble, thus \verb|example*| is the numbered version while \verb|example| is the unnumbered version. |
| 112 |
\end{example*} |
| 113 |
|
| 114 |
\begin{proof}[Proof of \cref{thm:result}] |
| 115 |
Some lines of proof. |
| 116 |
\end{proof} |
| 117 |
|
| 118 |
\part{Demonstration} |
| 119 |
|
| 120 |
\blinddocument |
| 121 |
|
| 122 |
\backmatter |
| 123 |
|
| 124 |
\printindex |
| 125 |
|
| 126 |
\end{document} |