diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/poemscol/poemscol.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/poemscol/poemscol.sty | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/poemscol/poemscol.sty b/Master/texmf-dist/tex/latex/poemscol/poemscol.sty index 72d6de8fb4b..f7f4556987a 100644 --- a/Master/texmf-dist/tex/latex/poemscol/poemscol.sty +++ b/Master/texmf-dist/tex/latex/poemscol/poemscol.sty @@ -22,7 +22,8 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e}[1997/12/01] \ProvidesPackage{poemscol} - [2017/10/23 v2.87 poemscol file] + [2017/11/30 v2.9 poemscol file] + @@ -145,7 +146,9 @@ \addtolength{\leftmargin}{-#1}% \addtolength{\leftmargin}{-0.5\leftmargin}% \iflinenumberscenteredwithverse\v@riablemarginpar\fi} +\newif\iflastpoemcentered \newenvironment{pmclverse}[1][\linewidth]{% +\global\lastpoemcenteredfalse \let\\=\@centercr% \list{}{\itemsep\z@ \itemindent -\runoverindentvalue @@ -153,6 +156,7 @@ \ifdim #1 < \linewidth \iftextcenteringturnedon \c@nterverseblock{#1}% + \global\lastpoemcenteredtrue \else \rightmargin \leftmargin \addtolength{\leftmargin}{-\versemarginadjust}\fi @@ -162,7 +166,7 @@ \fi \advance\leftmargin\runoverindentvalue} \item[]} -{\endlist}% from 2.72 with additions +{\endlist} \newif\ifinquotedverse @@ -1458,6 +1462,16 @@ \emph{#1}\end{volumetitlepagequote}} \newcommand{\volumeattribution}[1]{\par\smallskip\begin{volumetitlepagequote} {\small \emph{#1}}\end{volumetitlepagequote}} +\newlength{\dateindent}% +\setlength{\dateindent}{\leftmargin}% +\newcommand{\variabledateindent}{% +\setlength{\dateindent}{\linewidth}% +\addtolength{\dateindent}{-\versewidth}% +\addtolength{\dateindent}{-.5\dateindent}} +\newcommand{\poemdate}[1]{\iflastpoemcentered\variabledateindent% +\else\setlength{\dateindent}{\leftmargin}% +\fi% +\bigskip\begin{raggedleft}\hspace{\dateindent}#1\end{raggedleft}\bigskip}% \def\strip#1>{} \newcommand{\literaltextnote}[1]{\iftextnotesatend \begingroup |