| 1 |
\documentclass[a4paper, 11pt, |
| 2 |
% use font = times, % garamond, newcm, lmodern, ... |
| 3 |
use osf, |
| 4 |
use style = flow, |
| 5 |
% use indent = false, |
| 6 |
title in boldface, |
| 7 |
% title in scshape, |
| 8 |
% title in sffamily, |
| 9 |
theorem in new line, |
| 10 |
emphasize theorems, |
| 11 |
theorem numbering = section, |
| 12 |
% number theorems separately, |
| 13 |
simple name, % for clever referencing |
| 14 |
name in link, % for clever referencing |
| 15 |
]{einfart} |
| 16 |
\usepackage{ProjLib} |
| 17 |
\usepackage{blindtext} |
| 18 |
|
| 19 |
%% \UseLanguage{French} |
| 20 |
|
| 21 |
\numberwithin{equation}{section} |
| 22 |
\SwitchTheoremNumbering{example,examples,claim} |
| 23 |
|
| 24 |
\begin{document} |
| 25 |
|
| 26 |
\title{Title of the article (demo of the style \textquote{flow})} |
| 27 |
\author{Author One} |
| 28 |
\address{Address of Author One} |
| 29 |
\email{\href{mailto:[email protected]}{[email protected]}} |
| 30 |
%% \thanks{The first author is indebted to...} |
| 31 |
\author{Author Two} |
| 32 |
\address{Address of Author Two} |
| 33 |
\email{\href{mailto:[email protected]}{[email protected]}} |
| 34 |
%% \thanks{The second author would like to thank the support of...} |
| 35 |
\subjclass{XXXXX} |
| 36 |
%% \keywords{AAA, BBB, CCC} |
| 37 |
\date{\today[only-year-month]} |
| 38 |
%% \date{\TheDate{2026-01}} |
| 39 |
|
| 40 |
\maketitle |
| 41 |
|
| 42 |
\begin{abstract} |
| 43 |
Some abstract. \blindtext |
| 44 |
\end{abstract} |
| 45 |
|
| 46 |
\begin{keyword} |
| 47 |
AAA, BBB, CCC |
| 48 |
\end{keyword} |
| 49 |
|
| 50 |
\tableofcontents |
| 51 |
|
| 52 |
\section{Section title} |
| 53 |
|
| 54 |
\subsection{Subsection title} |
| 55 |
|
| 56 |
Some introductory text. |
| 57 |
|
| 58 |
\begin{definition}[something] |
| 59 |
Define something. |
| 60 |
\end{definition} |
| 61 |
|
| 62 |
\begin{theorem}[some result]\label{thm:result}\index{Theorem on some result} |
| 63 |
The statement. |
| 64 |
\end{theorem} |
| 65 |
|
| 66 |
\begin{emphasis} |
| 67 |
Clever reference: \cref{thm:result} (only name: \namecref{thm:result}, only number: \labelcref{thm:result}). |
| 68 |
\end{emphasis} |
| 69 |
|
| 70 |
An equation:\index{Euler's equation} |
| 71 |
\begin{equation}\label{eq:Euler} |
| 72 |
\mathrm{e}^{\mathrm{i}\pi} + 1 = 0. |
| 73 |
\end{equation} |
| 74 |
|
| 75 |
\begin{emphasis} |
| 76 |
Reference of equation: \eqref{eq:Euler} or \cref{eq:Euler}. |
| 77 |
\end{emphasis} |
| 78 |
|
| 79 |
\SetTheorem{corollary}{shared counter = subsubsection} |
| 80 |
\begin{corollary}[of \cref{thm:result}]\label{cor:result} |
| 81 |
Some corollary. |
| 82 |
\end{corollary} |
| 83 |
\SetTheorem{corollary}{shared counter = subsection} |
| 84 |
\begin{proof} |
| 85 |
Some lines of proof. |
| 86 |
\end{proof} |
| 87 |
|
| 88 |
\begin{examples} |
| 89 |
\begin{enumerate} |
| 90 |
\item First example. |
| 91 |
\item Second example. |
| 92 |
\item Third example. |
| 93 |
\end{enumerate} |
| 94 |
\end{examples} |
| 95 |
|
| 96 |
\begin{example*}[Important example] |
| 97 |
The numbering is switched in the preamble, thus \verb|example*| is the numbered version while \verb|example| is the unnumbered version. |
| 98 |
\end{example*} |
| 99 |
|
| 100 |
\begin{proof}[Proof of \cref{thm:result}] |
| 101 |
Some lines of proof. |
| 102 |
\end{proof} |
| 103 |
|
| 104 |
\blinddocument |
| 105 |
|
| 106 |
\printindex |
| 107 |
|
| 108 |
\end{document} |