| 1 |
\documentclass{book} |
| 2 |
\usepackage[T1]{fontenc} |
| 3 |
\usepackage[osf,p]{libertinus} |
| 4 |
\usepackage{microtype} |
| 5 |
\usepackage[pdfusetitle,hidelinks]{hyperref} |
| 6 |
\usepackage[english]{babel} |
| 7 |
\babeltags{english = english} |
| 8 |
|
| 9 |
\usepackage[series={A},noend,nofamiliar,noledgroup]{reledmac} |
| 10 |
\linenumincrement{1} |
| 11 |
\firstlinenum{1} |
| 12 |
\begin{document} |
| 13 |
\title{Sectioning commands with critical notes} |
| 14 |
|
| 15 |
\date{} |
| 16 |
|
| 17 |
{\let\newpage\relax\maketitle} |
| 18 |
{\small |
| 19 |
This file provides examples of using sectioning command with reledmac. The section titles are in the line numbering, and have critical and side notes. |
| 20 |
|
| 21 |
We use the \verb+\reledxxx+ commands, each of them in their own \verb+\pstart…\pend+ group. |
| 22 |
|
| 23 |
Page breaks are manually added before chapter with \verb+\beforeeledchapter+. |
| 24 |
} |
| 25 |
\beginnumbering |
| 26 |
|
| 27 |
\beforeeledchapter |
| 28 |
\pstart |
| 29 |
\eledchapter{\edtext{chapter}{\Afootnote{chapitre}}\ledsidenote{chapter}} |
| 30 |
\pend |
| 31 |
|
| 32 |
\pstart |
| 33 |
I use git to manage some packages. |
| 34 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 35 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten.. |
| 36 |
\pend |
| 37 |
|
| 38 |
\pstart |
| 39 |
\eledsection{section\ledsidenote{section}} |
| 40 |
\pend |
| 41 |
|
| 42 |
\pstart |
| 43 |
\eledsubsection{\edtext{subsection}{\Afootnote{sous-section}}\ledsidenote{subsection}} |
| 44 |
\pend |
| 45 |
|
| 46 |
\pstart |
| 47 |
\eledsubsubsection{\edtext{subsubsection}{\Afootnote{sous-sous-section}}\ledsidenote{subsubsection}} |
| 48 |
\pend |
| 49 |
|
| 50 |
\pstart |
| 51 |
I use git to manage some packages. |
| 52 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 53 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten. |
| 54 |
\pend |
| 55 |
|
| 56 |
\pstart |
| 57 |
\eledsection{section\ledsidenote{section}} |
| 58 |
\pend |
| 59 |
|
| 60 |
\pstart |
| 61 |
I use git to manage some packages. |
| 62 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 63 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten. |
| 64 |
\pend |
| 65 |
|
| 66 |
|
| 67 |
\beforeeledchapter |
| 68 |
\pstart |
| 69 |
\eledchapter{\edtext{chapter}{\Afootnote{chapitre}}\ledsidenote{chapter}} |
| 70 |
\pend |
| 71 |
|
| 72 |
\pstart |
| 73 |
I use git to manage some packages. |
| 74 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 75 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten.. |
| 76 |
\pend |
| 77 |
|
| 78 |
\pstart |
| 79 |
\eledsection{section\ledsidenote{section}} |
| 80 |
\pend |
| 81 |
|
| 82 |
\pstart |
| 83 |
\eledsubsection{\edtext{subsection}{\Afootnote{sous-section}}\ledsidenote{subsection}} |
| 84 |
\pend |
| 85 |
|
| 86 |
\pstart |
| 87 |
\eledsubsubsection{\edtext{subsubsection}{\Afootnote{sous-sous-section}}\ledsidenote{subsubsection}} |
| 88 |
\pend |
| 89 |
|
| 90 |
\pstart |
| 91 |
I use git to manage some packages. |
| 92 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 93 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten. |
| 94 |
\pend |
| 95 |
|
| 96 |
\pstart |
| 97 |
\eledsection{section\ledsidenote{section}} |
| 98 |
\pend |
| 99 |
|
| 100 |
\pstart |
| 101 |
I use git to manage some packages. |
| 102 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 103 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten. |
| 104 |
\pend |
| 105 |
|
| 106 |
\endnumbering |
| 107 |
|
| 108 |
\end{document} |