From 0f2474901335796708e7e352400e2ab73f862aac Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Mon, 16 Aug 2010 02:14:46 +0200 Subject: [PATCH] Adda new "nogtab" class option to remove chord diagram --- crepbook.cls | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/crepbook.cls b/crepbook.cls index f8d2ccb8..69983cd6 100644 --- a/crepbook.cls +++ b/crepbook.cls @@ -7,10 +7,16 @@ \newif{\iftabs} \newif{\iflilypond} +\newif{\ifnogtab} + +\tabsfalse +\lilypondfalse +\nogtabfalse % Options \DeclareOption{tabs}{\tabstrue} \DeclareOption{lilypond}{\lilypondtrue} +\DeclareOption{nogtab}{\nogtabtrue} \DeclareOption{10pt}{\PassOptionsToClass{\CurrentOption}{article}} \DeclareOption{11pt}{\PassOptionsToClass{\CurrentOption}{article}} @@ -39,6 +45,7 @@ \iflyric% \tabsfalse% \lilypondfalse% + \nogtabtrue% \fi % Start @@ -167,7 +174,7 @@ \fi% }% -\iflyric% +\ifnogtab% \renewcommand{\gtab}[2]{}% \fi%