Browse Source

Update to songs latex package v. 2.10

remotes/origin/translate_notes
Romain Goffe 15 years ago
parent
commit
e7de6678a2
  1. 59
      songs.sty

59
songs.sty

@ -8,7 +8,7 @@
%% %%
%% This is a generated file. %% This is a generated file.
%% %%
%% Copyright (C) 2009 by Kevin W. Hamlen %% Copyright (C) 2010 by Kevin W. Hamlen
%% %%
%% This file may be distributed and/or modified under the conditions of %% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3a of this license %% the LaTeX Project Public License, either version 1.3a of this license
@ -22,7 +22,7 @@
%% %%
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{songs} \ProvidesPackage{songs}
[2009/08/02 v2.9 Songs package] [2010/01/01 v2.10 Songs package]
\newif\ifSB@etex \newif\ifSB@etex
\ifx\eTeXversion\undefined\else \ifx\eTeXversion\undefined\else
\ifx\eTeXversion\relax\else \ifx\eTeXversion\relax\else
@ -452,9 +452,9 @@
\ifnum\SB@cntii<\SB@numcols% \ifnum\SB@cntii<\SB@numcols%
\SB@cnt\SB@numcols% \SB@cnt\SB@numcols%
\advance\SB@cnt-\SB@colnum% \advance\SB@cnt-\SB@colnum%
\ifodd\count\z@\else% \if@twoside\ifodd\count\z@\else%
\advance\SB@cnt\SB@numcols% \advance\SB@cnt\SB@numcols%
\fi% \fi\fi%
\fi% \fi%
} }
\newcommand\SB@sposi{% \newcommand\SB@sposi{%
@ -463,9 +463,9 @@
\fi\fi% \fi\fi%
\ifnum\SB@cntii<\SB@numcols\else% \ifnum\SB@cntii<\SB@numcols\else%
\SB@spbegnew% \SB@spbegnew%
\ifnum\SB@cntii<\SB@numcols\else% \ifnum\SB@cntii<\SB@numcols\else\if@twoside%
\SB@spextnew% \SB@spextnew%
\fi% \fi\fi%
\SB@spdblpg% \SB@spdblpg%
\fi% \fi%
} }
@ -1085,10 +1085,10 @@
} }
\newcommand\SB@par{% \newcommand\SB@par{%
\ifhmode% \ifhmode%
\begingroup% \SB@cnt\interlinepenalty%
\interlinepenalty\@M% \interlinepenalty\@M%
\endgraf% \endgraf%
\endgroup% \interlinepenalty\SB@cnt%
\ifSB@inchorus% \ifSB@inchorus%
\ifdim\cbarwidth>\z@\nobreak\else\SB@ilpenalty\fi% \ifdim\cbarwidth>\z@\nobreak\else\SB@ilpenalty\fi%
\else% \else%
@ -2443,8 +2443,41 @@
\fi% \fi%
\SB@temp% \SB@temp%
} }
\newcommand\shrp{\raise3\p@\hbox{\small\#}\kern-\p@} \newcommand\SB@accidental[1]{{%
\newcommand\flt{\thinspace\raise3\p@\hbox{\normalsize$\flat$}} \/%
\m@th#1%
\SB@dimen-\fontdimen\@ne\font%
\advance\SB@dimen.088142\p@%
\ifdim\SB@dimen<\z@%
\kern\f@size\SB@dimen%
\fi%
}}
\newcommand\sharpsymbol{\ensuremath{^\#}}
\newcommand\flatsymbol{\raise.5ex\hbox{{\SB@flatsize$\flat$}}}
\newcommand\shrp{\SB@accidental\sharpsymbol}
\newcommand\flt{\SB@accidental\flatsymbol}
\newcommand\DeclareFlatSize[2]{%
\expandafter\xdef\csname SB@flatsize@#1\endcsname{#2}%
}
\DeclareFlatSize\@vpt\@vpt
\DeclareFlatSize\@vipt\@vipt
\DeclareFlatSize\@viipt\@vipt
\DeclareFlatSize\@viiipt\@viipt
\DeclareFlatSize\@ixpt\@viiipt
\DeclareFlatSize\@xpt\@ixpt
\DeclareFlatSize\@xipt\@xpt
\DeclareFlatSize\@xiipt\@xipt
\DeclareFlatSize\@xivpt\@xiipt
\DeclareFlatSize\@xviipt\@xivpt
\DeclareFlatSize\@xxpt\@xviipt
\DeclareFlatSize\@xxvpt\@xxpt
\newcommand\SB@flatsize{%
\@ifundefined{SB@flatsize@\f@size}{}{%
\expandafter\fontsize%
\csname SB@flatsize@\f@size\endcsname\f@baselineskip%
\selectfont%
}%
}
\newcommand\ch{\SB@ch} \newcommand\ch{\SB@ch}
\newcommand\SB@ch{} \newcommand\SB@ch{}
\newcommand\SB@ch@on{\SB@begincname\SB@@ch} \newcommand\SB@ch@on{\SB@begincname\SB@@ch}
@ -2557,7 +2590,7 @@
\kern-.2\p@% \kern-.2\p@%
\fontencoding{OMS}\fontfamily{cmsy}% \fontencoding{OMS}\fontfamily{cmsy}%
\fontseries{m}\fontshape{n}% \fontseries{m}\fontshape{n}%
\fontsize{7}{7}\selectfont\char\tw@% \fontsize\@viipt\@viipt\selectfont\char\tw@%
\kern-.2\p@% \kern-.2\p@%
}% }%
}} }}
@ -2574,11 +2607,11 @@
\hbox{% \hbox{%
\fontencoding{OMS}\fontfamily{cmsy}% \fontencoding{OMS}\fontfamily{cmsy}%
\fontseries{m}\fontshape{n}% \fontseries{m}\fontshape{n}%
\fontsize{12}{12}\selectfont\char15% \fontsize\@xiipt\@xiipt\selectfont\char15%
}% }%
}} }}
\newcommand\SB@finger[1]{% \newcommand\SB@finger[1]{%
\SB@atopfret{\sffamily\fontsize{6}{6}\selectfont#1}% \SB@atopfret{\sffamily\fontsize\@vipt\@vipt\selectfont#1}%
} }
\newif\ifSB@gettabind\SB@gettabindfalse \newif\ifSB@gettabind\SB@gettabindfalse
\newdimen\SB@tabindent \newdimen\SB@tabindent

Loading…
Cancel
Save