diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/leadsheets/leadsheets_en.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/leadsheets/leadsheets_en.tex | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/leadsheets/leadsheets_en.tex b/Master/texmf-dist/doc/latex/leadsheets/leadsheets_en.tex index 3b2e875a46d..c458db5c956 100644 --- a/Master/texmf-dist/doc/latex/leadsheets/leadsheets_en.tex +++ b/Master/texmf-dist/doc/latex/leadsheets/leadsheets_en.tex @@ -38,13 +38,13 @@ } , add-silent-cmds = { @itemdepth , + arraybackslash , endmdframed , mdframed , - newfontfamily, + newfontfamily , musejazz } , add-envs = { - arraybackslash , bridge , chorus , chorus* , flushleft , @@ -1760,7 +1760,15 @@ in the margin: \flushleft \unskip \vspace*{-\baselineskip} - \ifobeylines{\setlength\parskip{0pt}}{\vspace*{-\parskip}}% + \ifobeylines + {% + \setlength\parskip{0pt} + \setleadsheets{ obey-lines-parskip = .5\baselineskip } + } + {% + \setlength\parskip{.5\baselineskip} + \vspace*{-\parskip} + }% } {\endflushleft} \begin{chorus}[template=flushleft] @@ -1784,7 +1792,15 @@ in the margin: \flushright \unskip \vspace*{-\baselineskip} - \ifobeylines{\setlength\parskip{0pt}}{\vspace*{-\parskip}}% + \ifobeylines + {% + \setlength\parskip{0pt} + \setleadsheets{ obey-lines-parskip = .5\baselineskip } + } + {% + \setlength\parskip{.5\baselineskip} + \vspace*{-\parskip} + }% } {\endflushright} \begin{chorus}[template=flushright] @@ -1814,7 +1830,7 @@ The example adapts one of the examples of \pkg{mdframed}'s manual. \ifversestarred{}{% frametitle={% \noexpand\tikz[baseline=(current bounding box.east),outer sep=0pt] - \noexpand\node[anchor=east,rectangle,fill=blue!20] + \noexpand\node[anchor=east,rectangle,fill=blue!20,rounded corners=2pt] {\noexpand\strut\noexpand\verselabel}; }% }, @@ -1825,7 +1841,11 @@ The example adapts one of the examples of \pkg{mdframed}'s manual. frametitleaboveskip = \dimexpr-\ht\strutbox\relax , ]% }% - \ifobeylines{\setlength\parskip{0pt}}{}% + \setlength\parindent{0pt} + \setlength\parskip{\parsep} + \ifobeylines + {\setleadsheets{ obey-lines-parskip=\parskip }\setlength\parskip{0pt}} + {\vspace*{-\parskip}}% } {% \endmdframed |