Browse Source

Adda new "nogtab" class option to remove chord diagram

remotes/origin/translate_notes
Alexandre Dupas 15 years ago
parent
commit
0f24749013
  1. 9
      crepbook.cls

9
crepbook.cls

@ -7,10 +7,16 @@
\newif{\iftabs} \newif{\iftabs}
\newif{\iflilypond} \newif{\iflilypond}
\newif{\ifnogtab}
\tabsfalse
\lilypondfalse
\nogtabfalse
% Options % Options
\DeclareOption{tabs}{\tabstrue} \DeclareOption{tabs}{\tabstrue}
\DeclareOption{lilypond}{\lilypondtrue} \DeclareOption{lilypond}{\lilypondtrue}
\DeclareOption{nogtab}{\nogtabtrue}
\DeclareOption{10pt}{\PassOptionsToClass{\CurrentOption}{article}} \DeclareOption{10pt}{\PassOptionsToClass{\CurrentOption}{article}}
\DeclareOption{11pt}{\PassOptionsToClass{\CurrentOption}{article}} \DeclareOption{11pt}{\PassOptionsToClass{\CurrentOption}{article}}
@ -39,6 +45,7 @@
\iflyric% \iflyric%
\tabsfalse% \tabsfalse%
\lilypondfalse% \lilypondfalse%
\nogtabtrue%
\fi \fi
% Start % Start
@ -167,7 +174,7 @@
\fi% \fi%
}% }%
\iflyric% \ifnogtab%
\renewcommand{\gtab}[2]{}% \renewcommand{\gtab}[2]{}%
\fi% \fi%

Loading…
Cancel
Save