summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classicthesis.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classicthesis.tex')
-rw-r--r--macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classicthesis.tex126
1 files changed, 126 insertions, 0 deletions
diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classicthesis.tex b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classicthesis.tex
new file mode 100644
index 0000000000..78578c60d4
--- /dev/null
+++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classicthesis.tex
@@ -0,0 +1,126 @@
+\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
+ eulerchapternumbers=true, % use AMS Euler for chapter font (otherwise Palatino)
+ floatperchapter=true, % numbering per chapter for all floats (i.e., Figure 1.1)
+ 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
+]{simplivre}
+\usepackage{ProjLib}
+\usepackage[
+ % lang = {french},
+ type = {CC},
+ modifier = {by},
+ version = {4.0},
+ hyperxmp = false,
+]{doclicense}
+
+\usepackage{blindtext}
+
+%% \UseLanguage{French}
+
+\numberwithin{equation}{section}
+\SwitchTheoremNumbering{example,examples,claim}
+
+\begin{document}
+
+\frontmatter
+
+\TitlePage [ style = fancy, color = { main = Maroon, back = Goldenrod } ]
+ {
+ % , logo = { } % the logo image
+ , title = { \fontspec{SourceSansPro}[WordSpace={1.25,1,1}]
+ \addfontfeature{LetterSpace=2.0}
+ Title of the book\\(demo of the style \textquote{ClassicThesis})
+ }
+ , author = { Author Name }
+ , date = { \today[only-year-month] }
+ % , date = { \TheDate{2024-01} }
+ , info = {
+ This text is... \blindtext
+ }
+ , license = { \addfontfeature{Numbers=Lining} \medskip\doclicenseThis }
+ , license page name = { Info }
+ }
+
+\tableofcontents
+
+\mainmatter
+
+\mainmatter
+
+\ctparttext{Some introductory text. \blindtext}
+\part{Basic examples}
+
+\chapter{Chapter title}
+
+\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}
+
+\part{Demonstration}
+
+\blinddocument
+
+\backmatter
+
+\printindex
+
+\end{document}