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%
\unskip\penalty200\hskip\SB@skip%
\fi%
\ifnum\SB@numhyps>0 %
\ifnum\SB@numhyps>\z@%
\ifnum\SB@numhyps>\@ne\relax%
\SB@brokenwordfalse%
\else%
\SB@brokenwordtrue%
\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@%
\ifSB@brokenword%
\global\setbox\SB@lyricbox\hbox{%
@ -2414,6 +2420,7 @@
\else%
\nobreak\spacefactor\SB@cnt%
\fi%
\fi%
\SB@temp%
}
\newcommand\shrp{\raise3\p@\hbox{\small\#}\kern-\p@}
@ -3355,12 +3362,15 @@
\newif\ifpartiallist
\newif\ifrepchorus
\newif\iftranscapos
\newif\ifnolyrics
\newif\ifrawtext
\newif\ifpdfindex\pdfindextrue
\newif\ifsongindexes\songindexestrue
\newif\ifSB@colorboxes\SB@colorboxestrue
\newif\ifSB@genindexes\SB@genindexestrue
\newif\ifSB@omitscrip
\newcommand\nolyrics{}
\let\nolyrics\nolyricstrue
\SB@chordson
\ProcessOptions\relax
\ifSB@pdf\else\pdfindexfalse\fi
@ -3446,6 +3456,7 @@
\def\rep#1{(x#1)}
\def\echo#1{(#1)}
\def\mbar#1#2{}
\def\nolyrics{}
\fi
\endinput
%%

Loading…
Cancel
Save