summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/poemscol/poemscol.sty17
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/poemscol/poemscol.sty b/Master/texmf-dist/tex/latex/poemscol/poemscol.sty
index 54e7c537624..1e2c6d6d511 100644
--- a/Master/texmf-dist/tex/latex/poemscol/poemscol.sty
+++ b/Master/texmf-dist/tex/latex/poemscol/poemscol.sty
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}[1997/12/01]
\ProvidesPackage{poemscol}
- [2007/07/14 v2.53 poemscol file]
+ [2011/08/30 v2.54 poemscol file]
@@ -455,20 +455,24 @@
\numbersgutterfalse}
\newcommand{\putverselinenumber}{\nolinebreak\begin{marginenvironment}%
\nolinebreak%
- \ifnumbersswitch\pmclsidepar{\hfil\textrm{\scriptsize\theverselinenumber}}%
+ \ifnumbersswitch\pmclsidepar{\textrm{\scriptsize\theverselinenumber}}%
\else%
- \ifnumbersright\pmclrightsidepar{\hfil\textrm{\scriptsize\theverselinenumber}}%
+ \ifnumbersright\pmclrightsidepar{\textrm{\scriptsize\theverselinenumber}}%
\else%
- \pmclleftsidepar
-{\textrm{\scriptsize\theverselinenumber}\hfil}%
+ \pmclleftsidepar{\textrm{\scriptsize\theverselinenumber}}%
\fi%
\fi%
\nolinebreak%
\end{marginenvironment}%
\nolinebreak%
}
+
\newif\ifspeciallinelock
\speciallinelockfalse
+\newcounter{margnumbegin}
+\setcounter{margnumbegin}{0}
+\newcommand{\setmargnumbegin}[1]{\setcounter{margnumbegin}{#1}%
+\addtocounter{margnumbegin}{-1}}
\newcommand{\verseline}{\ifspeciallinelock%
\relax\else%
\nolinebreak\incrementverselinenumber%
@@ -479,12 +483,13 @@
\newcommand{\incrementverselinenumber}{%
\nolinebreak\addtocounter{verselinenumber}{1}%
\addtocounter{printlineindex}{1}%
+\ifnum\theverselinenumber>\themargnumbegin
\ifnum\theprintlineindex>\thelineindexrepeat%
\ifverselinenumbers\nobreak%
\putverselinenumber\nobreak%
\fi\nobreak%
\setcounter{printlineindex}{0}%
- \fi%
+ \fi\fi%
}
\newcommand{\setverselinemodulo}[1]{%
\setcounter{lineindexrepeat}{#1}%