From b888e4a4f3f72e1fe5d48aa7a5c219e5e7737c12 Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Thu, 12 Nov 2009 18:09:41 +0100 Subject: [PATCH] Remove capo information when producing a lyricbook. --- crepbook.cls | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/crepbook.cls b/crepbook.cls index 469783c8..751c215f 100644 --- a/crepbook.cls +++ b/crepbook.cls @@ -2,7 +2,7 @@ % for LaTeX2e % \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesClass{crepbook}[2009/08/13 v0.4 LaTeX document class for Crep +\ProvidesClass{crepbook}[2009/11/12 v0.4.1 LaTeX document class for Crep Books] % Base class @@ -137,14 +137,16 @@ \newlength{\capoheight} \setlength{\capoheight}{1.5cm} \renewcommand\capo[1]{% - \iftranscapos% - \transpose{#1}% - \else% - \mbox{% - \includegraphics[height=\capoheight]{capodastre}% - \put(-22,8){\Large #1} - }% - \hspace{\coverspace}% + \ifchorded% + \iftranscapos% + \transpose{#1}% + \else% + \mbox{% + \includegraphics[height=\capoheight]{capodastre}% + \put(-22,8){\Large #1} + }% + \hspace{\coverspace}% + \fi% \fi% }%