diff options
author | Karl Berry <karl@freefriends.org> | 2011-08-31 21:21:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-08-31 21:21:06 +0000 |
commit | a706eaebd9e859c2a4e3da9247666a364345b6e9 (patch) | |
tree | 743d3c1be8b07e68322c80f2770469bd7e398eab /Master/texmf-dist/tex/latex | |
parent | 11b77e8b155e22e3b38b857480169469aaf5429c (diff) |
poemscol 2.54 (21aug11)
git-svn-id: svn://tug.org/texlive/trunk@23762 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/poemscol/poemscol.sty | 17 |
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}% |