summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/reledmac/examples/2-titles_in_line_numbering_with_notes.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/reledmac/examples/2-titles_in_line_numbering_with_notes.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/reledmac/examples/2-titles_in_line_numbering_with_notes.tex')
-rw-r--r--macros/latex/contrib/reledmac/examples/2-titles_in_line_numbering_with_notes.tex107
1 files changed, 107 insertions, 0 deletions
diff --git a/macros/latex/contrib/reledmac/examples/2-titles_in_line_numbering_with_notes.tex b/macros/latex/contrib/reledmac/examples/2-titles_in_line_numbering_with_notes.tex
new file mode 100644
index 0000000000..1636c83570
--- /dev/null
+++ b/macros/latex/contrib/reledmac/examples/2-titles_in_line_numbering_with_notes.tex
@@ -0,0 +1,107 @@
+\documentclass{book}
+\usepackage[osf,p]{libertinus}
+\usepackage{microtype}
+\usepackage[pdfusetitle,hidelinks]{hyperref}
+\usepackage[english]{babel}
+\babeltags{english = english}
+
+\usepackage[series={A},noend,nofamiliar,noledgroup]{reledmac}
+\linenumincrement{1}
+\firstlinenum{1}
+\begin{document}
+\title{Sectioning commands with critical notes}
+
+\date{}
+
+{\let\newpage\relax\maketitle}
+{\small
+This file provides examples of using sectioning command with reledmac. The section titles are in the line numbering, and have critical and side notes.
+
+We use the \verb+\reledxxx+ commands, each of them in their own \verb+\pstart…\pend+ group.
+
+Page breaks are manually added before chapter with \verb+\beforeeledchapter+.
+}
+\beginnumbering
+
+\beforeeledchapter
+\pstart
+\eledchapter{\edtext{chapter}{\Afootnote{chapitre}}\ledsidenote{chapter}}
+\pend
+
+\pstart
+I use git to manage some packages.
+I would like to add a pre-commit hook, to check if I have forgotten
+For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten..
+\pend
+
+\pstart
+\eledsection{section\ledsidenote{section}}
+\pend
+
+\pstart
+\eledsubsection{\edtext{subsection}{\Afootnote{sous-section}}\ledsidenote{subsection}}
+\pend
+
+\pstart
+\eledsubsubsection{\edtext{subsubsection}{\Afootnote{sous-sous-section}}\ledsidenote{subsubsection}}
+\pend
+
+\pstart
+I use git to manage some packages.
+I would like to add a pre-commit hook, to check if I have forgotten
+For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten.
+\pend
+
+\pstart
+\eledsection{section\ledsidenote{section}}
+\pend
+
+\pstart
+I use git to manage some packages.
+I would like to add a pre-commit hook, to check if I have forgotten
+For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten.
+\pend
+
+
+\beforeeledchapter
+\pstart
+\eledchapter{\edtext{chapter}{\Afootnote{chapitre}}\ledsidenote{chapter}}
+\pend
+
+\pstart
+I use git to manage some packages.
+I would like to add a pre-commit hook, to check if I have forgotten
+For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten..
+\pend
+
+\pstart
+\eledsection{section\ledsidenote{section}}
+\pend
+
+\pstart
+\eledsubsection{\edtext{subsection}{\Afootnote{sous-section}}\ledsidenote{subsection}}
+\pend
+
+\pstart
+\eledsubsubsection{\edtext{subsubsection}{\Afootnote{sous-sous-section}}\ledsidenote{subsubsection}}
+\pend
+
+\pstart
+I use git to manage some packages.
+I would like to add a pre-commit hook, to check if I have forgotten
+For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten.
+\pend
+
+\pstart
+\eledsection{section\ledsidenote{section}}
+\pend
+
+\pstart
+I use git to manage some packages.
+I would like to add a pre-commit hook, to check if I have forgotten
+For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten.
+\pend
+
+\endnumbering
+
+\end{document}