From 88e99a2b0cb522813b216d6ad6ae319ee4748de5 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 6 Sep 2021 09:25:35 +0200 Subject: use \verselinenumfont with memoir --- ekdosis.dtx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'ekdosis.dtx') diff --git a/ekdosis.dtx b/ekdosis.dtx index cde4586..0c669f9 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -61,7 +61,7 @@ along with this program. If not, see %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{ekdosis} %<*package> - [2021/09/02 v1.4-dev Typesetting TEI xml-compliant critical editions] + [2021/09/06 v1.4-dev Typesetting TEI xml-compliant critical editions] % %<*driver> \begin{filecontents}[noheader,overwrite]{bibdata.xml} @@ -4854,9 +4854,7 @@ substantiall fewell,} % \DescribeMacro{\verselinenumfont} % \cs{verselinenumfont}\marg{commands} can be used to set the font % used for lines of verse. By default, the definition is -% |\normalfont\footnotesize|. \danger If the \cls{memoir} class be -% loaded, this command is replaced with \cs{linenumberfont} described -% above.\\ +% |\normalfont\footnotesize|.\\ % \DescribeMacro{\vrightskip} The \pkg{verse} package prints the % numbers at the distance \cs{vrightskip} into the right margin. This % distance can be redefined by means of \cs{setlength} like so: @@ -8336,7 +8334,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \begin{macro}{\SetSubseparator} -% \changes{v1.4}{2021/09/02}{New command for subseparators} +% \changes{v1.4}{2021/09/06}{New command for subseparators} % \cs{SetSubseparator}\marg{sub-separator} allows to change the % \enquote{subseparator} between variant readings. By default, % no subseparator is set:--- @@ -8667,7 +8665,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \begin{macro}{\vmodulolinenumbers} -% \changes{v1.4}{2021/09/02}{New command to adjust modulo verse line +% \changes{v1.4}{2021/09/06}{New command to adjust modulo verse line % numbering} % \begin{macrocode} \NewDocumentCommand{\vmodulolinenumbers}{O{5}}{% @@ -9928,7 +9926,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \begin{macro}{\\+} -% \changes{v1.4}{2021/09/02}{New macro for poetry} +% \changes{v1.4}{2021/09/06}{New macro for poetry} % |\\+| comes in addition to the verse commands that are provided by % the \pkg{verse} package. |\\+| causes a linebreak within a verse % line. In contrast to |\\>|, the subsequent line is not indented and @@ -9970,7 +9968,8 @@ Sample text with a \textcolor{red}{word} in red. code type = \def\type@value{#1}, } \ifekd@memoir@loaded - \linenumberfont{\normalfont\footnotesize} + \def\vlvnumfont{\normalfont\footnotesize} + \def\verselinenumfont#1{\def\vlvnumfont{#1}} \else \verselinenumfont{\normalfont\footnotesize} \fi -- cgit v1.2.3