summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.tex')
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.tex104
1 files changed, 104 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.tex b/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.tex
new file mode 100644
index 00000000000..b3f4dfecbfd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.tex
@@ -0,0 +1,104 @@
+\documentclass[twoside,12pt]{book}
+\usepackage{polyglossia,fontspec,xunicode}
+\usepackage{libertineotf}
+\setmainlanguage{english}
+
+\usepackage{eledmac}
+\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 eledmac. The section titles are in the line numbering, and have critical and side notes.
+
+We use the \verb+\eledxxx+ 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}