|
@ -6,8 +6,6 @@ |
|
|
\NeedsTeXFormat{LaTeX2e}[1994/06/01] |
|
|
\NeedsTeXFormat{LaTeX2e}[1994/06/01] |
|
|
\ProvidesPackage{SongbookUtils}[2014/04/13 Songbook Package, version 0.1] |
|
|
\ProvidesPackage{SongbookUtils}[2014/04/13 Songbook Package, version 0.1] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\RequirePackage{graphicx,xcolor} % |
|
|
\RequirePackage{graphicx,xcolor} % |
|
|
\RequirePackage{epstopdf} % |
|
|
\RequirePackage{epstopdf} % |
|
|
\RequirePackage{songs} % |
|
|
\RequirePackage{songs} % |
|
@ -28,38 +26,30 @@ |
|
|
|
|
|
|
|
|
\newif{\iftabs} |
|
|
\newif{\iftabs} |
|
|
\DeclareOption{tabs}{\tabstrue} |
|
|
\DeclareOption{tabs}{\tabstrue} |
|
|
%\DeclareOption{notabs}{\tabsfalse} % This is the default. |
|
|
|
|
|
|
|
|
|
|
|
\newif{\iflilypond} |
|
|
\newif{\iflilypond} |
|
|
\DeclareOption{lilypond}{\lilypondtrue} |
|
|
\DeclareOption{lilypond}{\lilypondtrue} |
|
|
%\DeclareOption{nolilypond}{\lilypondfalse} |
|
|
|
|
|
|
|
|
|
|
|
\newif{\iflilypondauto} |
|
|
\newif{\iflilypondauto} |
|
|
\DeclareOption{lilypond}{\lilypondautotrue\lilypondtrue} |
|
|
\DeclareOption{lilypond}{\lilypondautotrue\lilypondtrue} |
|
|
|
|
|
|
|
|
\newif{\ifdiagram} |
|
|
\newif{\ifdiagram} |
|
|
\DeclareOption{diagram}{\diagramtrue} |
|
|
\DeclareOption{diagram}{\diagramtrue} |
|
|
%\DeclareOption{nodiagram}{\diagramfalse} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\newif{\ifimportantdiagramonly} |
|
|
\newif{\ifimportantdiagramonly} |
|
|
\DeclareOption{importantdiagramonly}{\importantdiagramonlytrue\diagramtrue} |
|
|
\DeclareOption{importantdiagramonly}{\importantdiagramonlytrue\diagramtrue} |
|
|
|
|
|
|
|
|
\newif{\ifpictures} |
|
|
\newif{\ifpictures} |
|
|
\DeclareOption{pictures}{\picturestrue} |
|
|
\DeclareOption{pictures}{\picturestrue} |
|
|
%\DeclareOption{nopictures}{\picturesfalse} |
|
|
|
|
|
|
|
|
|
|
|
\newif{\ifrepeatchords} |
|
|
\newif{\ifrepeatchords} |
|
|
\DeclareOption{repeatchords}{\repeatchordstrue} |
|
|
\DeclareOption{repeatchords}{\repeatchordstrue} |
|
|
%\DeclareOption{norepeatchords}{\repeatchordsfalse} |
|
|
|
|
|
|
|
|
|
|
|
\newif{\ifukulele} |
|
|
\newif{\ifukulele} |
|
|
\DeclareOption{ukulele}{\ukuleletrue} |
|
|
\DeclareOption{ukulele}{\ukuleletrue} |
|
|
%\DeclareOption{noukulele}{\ukulelefalse} |
|
|
|
|
|
|
|
|
|
|
|
\newif{\ifguitar} |
|
|
\newif{\ifguitar} |
|
|
\DeclareOption{guitar}{\guitartrue} |
|
|
\DeclareOption{guitar}{\guitartrue} |
|
|
%\DeclareOption{noguitar}{\guitarfalse} |
|
|
|
|
|
|
|
|
|
|
|
\newif{\ifonesongperpage} |
|
|
\newif{\ifonesongperpage} |
|
|
\DeclareOption{onesongperpage}{\onesongperpagetrue} |
|
|
\DeclareOption{onesongperpage}{\onesongperpagetrue} |
|
|