Browse Source

(import v2.9) New \nolyrics macro puts chords on the baseline instead of raised, to better typeset instrumental solos and intros.

remotes/origin/translate_notes
Alexandre Dupas 16 years ago
parent
commit
47b93269ff
  1. 13
      songs.sty

13
songs.sty

@ -2374,13 +2374,19 @@
\SB@skip\lastskip% \SB@skip\lastskip%
\unskip\penalty200\hskip\SB@skip% \unskip\penalty200\hskip\SB@skip%
\fi% \fi%
\ifnum\SB@numhyps>0 % \ifnum\SB@numhyps>\z@%
\ifnum\SB@numhyps>\@ne\relax% \ifnum\SB@numhyps>\@ne\relax%
\SB@brokenwordfalse% \SB@brokenwordfalse%
\else% \else%
\SB@brokenwordtrue% \SB@brokenwordtrue%
\fi% \fi%
\fi% \fi%
\SB@testfalse%
\ifnolyrics\ifdim\wd\SB@lyricbox=\z@\SB@testtrue\fi\fi%
\ifSB@test%
\unhbox\SB@chordbox%
\gdef\SB@temp{\expandafter\SB@clearlig\SB@ligfull}%
\else%
\vbox{\baselineskip\f@size\p@\kern2\p@% \vbox{\baselineskip\f@size\p@\kern2\p@%
\ifSB@brokenword% \ifSB@brokenword%
\global\setbox\SB@lyricbox\hbox{% \global\setbox\SB@lyricbox\hbox{%
@ -2414,6 +2420,7 @@
\else% \else%
\nobreak\spacefactor\SB@cnt% \nobreak\spacefactor\SB@cnt%
\fi% \fi%
\fi%
\SB@temp% \SB@temp%
} }
\newcommand\shrp{\raise3\p@\hbox{\small\#}\kern-\p@} \newcommand\shrp{\raise3\p@\hbox{\small\#}\kern-\p@}
@ -3355,12 +3362,15 @@
\newif\ifpartiallist \newif\ifpartiallist
\newif\ifrepchorus \newif\ifrepchorus
\newif\iftranscapos \newif\iftranscapos
\newif\ifnolyrics
\newif\ifrawtext \newif\ifrawtext
\newif\ifpdfindex\pdfindextrue \newif\ifpdfindex\pdfindextrue
\newif\ifsongindexes\songindexestrue \newif\ifsongindexes\songindexestrue
\newif\ifSB@colorboxes\SB@colorboxestrue \newif\ifSB@colorboxes\SB@colorboxestrue
\newif\ifSB@genindexes\SB@genindexestrue \newif\ifSB@genindexes\SB@genindexestrue
\newif\ifSB@omitscrip \newif\ifSB@omitscrip
\newcommand\nolyrics{}
\let\nolyrics\nolyricstrue
\SB@chordson \SB@chordson
\ProcessOptions\relax \ProcessOptions\relax
\ifSB@pdf\else\pdfindexfalse\fi \ifSB@pdf\else\pdfindexfalse\fi
@ -3446,6 +3456,7 @@
\def\rep#1{(x#1)} \def\rep#1{(x#1)}
\def\echo#1{(#1)} \def\echo#1{(#1)}
\def\mbar#1#2{} \def\mbar#1#2{}
\def\nolyrics{}
\fi \fi
\endinput \endinput
%% %%

Loading…
Cancel
Save