diff options
author | Norbert Preining <norbert@preining.info> | 2024-02-24 03:01:46 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-02-24 03:01:46 +0000 |
commit | f325bd88d1d4db13f51277bc59c8ff8814e937bc (patch) | |
tree | e39af6619c91d812dd93cb57d25149da5a84d801 /macros/unicodetex | |
parent | e7a321bba289c40f39563c19bbeac355f7c0eeeb (diff) |
CTAN sync 202402240301
Diffstat (limited to 'macros/unicodetex')
28 files changed, 1424 insertions, 2 deletions
diff --git a/macros/unicodetex/latex/einfart/README.md b/macros/unicodetex/latex/einfart/README.md index 5cb65cbe21..f8db51385d 100644 --- a/macros/unicodetex/latex/einfart/README.md +++ b/macros/unicodetex/latex/einfart/README.md @@ -21,6 +21,21 @@ Compared with usual document classes, it has the following features: - Support both the standard and the AMS writing fashion. - ... and much more... +## To get started + +Prepration: + +- Make sure that your TeX distribution is up-to-dated. +- Check the required fonts indicated below, and make sure that they are installed. + +Once prepared: + +- You may get started by looking at one of the [demo documents](https://github.com/Jinwen-XU/minimalist/tree/main/einfart/demo) that suits your need and edit the code there to get your own template. + +If you run into a problem, or if you would like some elements to be changed or improved: + +- Feel free to raise an issue or post a feature request via [the GitHub issue](https://github.com/Jinwen-XU/minimalist/issues). + ## Required fonts The current document class requires the following open-source fonts that are not included in the standard TeX collection: diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classical.pdf b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classical.pdf Binary files differnew file mode 100644 index 0000000000..ad2ebb4667 --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classical.pdf diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classical.tex b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classical.tex new file mode 100644 index 0000000000..7861bff8a8 --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classical.tex @@ -0,0 +1,108 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + use osf, + use style = classical, + % use indent = false, + % title in boldface, + % title in scshape, + % title in sffamily, + % 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{Title of the article (demo of the style \textquote{classical})} +\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} diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classicthesis.pdf b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classicthesis.pdf Binary files differnew file mode 100644 index 0000000000..b4c30ec463 --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classicthesis.pdf diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classicthesis.tex b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classicthesis.tex new file mode 100644 index 0000000000..6879fb5a30 --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-classicthesis.tex @@ -0,0 +1,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} diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-default.pdf b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-default.pdf Binary files differnew file mode 100644 index 0000000000..08e4cb919a --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-default.pdf diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-default.tex b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-default.tex new file mode 100644 index 0000000000..73c502b9e7 --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-default.tex @@ -0,0 +1,107 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + use osf, + % use indent = false, + title in boldface, + % title in scshape, + % title in sffamily, + 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{Title of the article (demo of the default style)} +\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} diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-flow.pdf b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-flow.pdf Binary files differnew file mode 100644 index 0000000000..475a2da1d8 --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-flow.pdf diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-flow.tex b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-flow.tex new file mode 100644 index 0000000000..45c7f04829 --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-flow.tex @@ -0,0 +1,108 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + use osf, + use style = flow, + % use indent = false, + title in boldface, + % title in scshape, + % title in sffamily, + 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{Title of the article (demo of the style \textquote{flow})} +\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} diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-plain.pdf b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-plain.pdf Binary files differnew file mode 100644 index 0000000000..3dfd68e0ab --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-plain.pdf diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-plain.tex b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-plain.tex new file mode 100644 index 0000000000..ae9c139c9c --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-plain.tex @@ -0,0 +1,108 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + % use osf, + use style = plain, + % use indent = false, + title in boldface, + % title in scshape, + % title in sffamily, + 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{Title of the article (demo of the style \textquote{plain})} +\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} diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-stream.pdf b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-stream.pdf Binary files differnew file mode 100644 index 0000000000..4edd164588 --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-stream.pdf diff --git a/macros/unicodetex/latex/einfart/demo/einfart-demo-style-stream.tex b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-stream.tex new file mode 100644 index 0000000000..b9d7230304 --- /dev/null +++ b/macros/unicodetex/latex/einfart/demo/einfart-demo-style-stream.tex @@ -0,0 +1,108 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + use osf, + use style = stream, + % use indent = false, + title in boldface, + % title in scshape, + % title in sffamily, + 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{Title of the article (demo of the style \textquote{stream})} +\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} diff --git a/macros/unicodetex/latex/einfart/einfart.cls b/macros/unicodetex/latex/einfart/einfart.cls index 2146ce094d..7daea1ac7e 100644 --- a/macros/unicodetex/latex/einfart/einfart.cls +++ b/macros/unicodetex/latex/einfart/einfart.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {einfart} - {2024/02/20} {} + {2024/02/23} {} {A simple and clear article style} \tl_const:Nn \l__minimclass_base_class_tl { article } diff --git a/macros/unicodetex/latex/simplivre/README.md b/macros/unicodetex/latex/simplivre/README.md index bee36bec07..573563659a 100644 --- a/macros/unicodetex/latex/simplivre/README.md +++ b/macros/unicodetex/latex/simplivre/README.md @@ -21,6 +21,21 @@ Compared with usual document classes, it has the following features: - Support both the standard and the AMS writing fashion. - ... and much more... +## To get started + +Prepration: + +- Make sure that your TeX distribution is up-to-dated. +- Check the required fonts indicated below, and make sure that they are installed. + +Once prepared: + +- You may get started by looking at one of the [demo documents](https://github.com/Jinwen-XU/minimalist/tree/main/simplivre/demo) that suits your need and edit the code there to get your own template. + +If you run into a problem, or if you would like some elements to be changed or improved: + +- Feel free to raise an issue or post a feature request via [the GitHub issue](https://github.com/Jinwen-XU/minimalist/issues). + ## Required fonts The current document class requires the following open-source fonts that are not included in the standard TeX collection: diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classical.pdf b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classical.pdf Binary files differnew file mode 100644 index 0000000000..497a84ac6b --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classical.pdf diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classical.tex b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classical.tex new file mode 100644 index 0000000000..cd08d686d1 --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classical.tex @@ -0,0 +1,124 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + use osf, + use style = classical, + % use indent = false, + % title in boldface, + % title in scshape, + % title in sffamily, + % 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 = simple ] + { + % , 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{classical}) + } + , 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 + +\part{Basic examples} +\parttext{Some introductory text.} + +\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} diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classicthesis.pdf b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classicthesis.pdf Binary files differnew file mode 100644 index 0000000000..4a5675645f --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-classicthesis.pdf 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} diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-default.pdf b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-default.pdf Binary files differnew file mode 100644 index 0000000000..cfaab378bc --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-default.pdf diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-default.tex b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-default.tex new file mode 100644 index 0000000000..89fde057fa --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-default.tex @@ -0,0 +1,123 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + use osf, + % use indent = false, + title in boldface, + % title in scshape, + % title in sffamily, + 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 = academic ] + { + % , logo = { } % the logo image + , title = { \fontspec{SourceSansPro}[WordSpace={1.25,1,1}] + \addfontfeature{LetterSpace=2.0} + Title of the book\\(demo of the default style) + } + , 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 + +\part{Basic examples} +\parttext{Some introductory text.} + +\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} diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-flow.pdf b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-flow.pdf Binary files differnew file mode 100644 index 0000000000..dbba9df779 --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-flow.pdf diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-flow.tex b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-flow.tex new file mode 100644 index 0000000000..0b7ed19adb --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-flow.tex @@ -0,0 +1,124 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + use osf, + use style = flow, + % use indent = false, + title in boldface, + % title in scshape, + % title in sffamily, + 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 = academic ] + { + % , 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{flow}) + } + , 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 + +\part{Basic examples} +\parttext{Some introductory text.} + +\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} diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-plain.pdf b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-plain.pdf Binary files differnew file mode 100644 index 0000000000..67725599d5 --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-plain.pdf diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-plain.tex b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-plain.tex new file mode 100644 index 0000000000..8a94bf89ec --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-plain.tex @@ -0,0 +1,124 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + % use osf, + use style = plain, + % use indent = false, + title in boldface, + % title in scshape, + % title in sffamily, + 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 + { + % , 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{plain}) + } + , 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 + +\part{Basic examples} +\parttext{Some introductory text.} + +\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} diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-stream.pdf b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-stream.pdf Binary files differnew file mode 100644 index 0000000000..38b0933ac8 --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-stream.pdf diff --git a/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-stream.tex b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-stream.tex new file mode 100644 index 0000000000..dcb2204696 --- /dev/null +++ b/macros/unicodetex/latex/simplivre/demo/simplivre-demo-style-stream.tex @@ -0,0 +1,124 @@ +\documentclass[a4paper, 11pt, + % use font = times, % garamond, newcm, lmodern, ... + use osf, + use style = stream, + % use indent = false, + title in boldface, + % title in scshape, + % title in sffamily, + 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 = academic ] + { + % , 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{stream}) + } + , 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 + +\part{Basic examples} +\parttext{Some introductory text.} + +\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} diff --git a/macros/unicodetex/latex/simplivre/simplivre.cls b/macros/unicodetex/latex/simplivre/simplivre.cls index 43ed3e3f30..cfb01a533d 100644 --- a/macros/unicodetex/latex/simplivre/simplivre.cls +++ b/macros/unicodetex/latex/simplivre/simplivre.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {simplivre} - {2024/02/20} {} + {2024/02/23} {} {A simple and clear book style} \tl_const:Nn \l__minimclass_base_class_tl { book } |