diff options
author | Karl Berry <karl@freefriends.org> | 2017-12-03 22:19:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-12-03 22:19:26 +0000 |
commit | 0a0b0de2788454509ea578118b40418158981fb1 (patch) | |
tree | 44183f35fac634629ff7693d66f55636383c3654 /Master/texmf-dist/tex | |
parent | 3864d9407972dec949ebd588a084249aa5855380 (diff) |
poemscol (3dec17)
git-svn-id: svn://tug.org/texlive/trunk@45979 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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 |