From e4eb98ae3e2bcb4ceb49b534de09540b4d140827 Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Wed, 10 Aug 2011 18:45:30 +0200 Subject: [PATCH] textnote and musinote environments now take the songbook's language into account --- crepbook.cls | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/crepbook.cls b/crepbook.cls index 2882912f..aaf0c69c 100644 --- a/crepbook.cls +++ b/crepbook.cls @@ -358,6 +358,7 @@ \renewcommand{\bar}{}% }{}% \fi% +%% End of tabs.sty file \RequirePackage{xspace} \newcommand{\Intro}{ @@ -383,8 +384,12 @@ \let\musicnoteORIG\musicnote \renewcommand{\musicnote}[2][english]{% - \musicnoteORIG{#2} + \IfStrEq{\@lang}{#1}{\musicnoteORIG{#2}}{} +} + +\let\textnoteORIG\textnote +\renewcommand{\textnote}[2][english]{% + \IfStrEq{\@lang}{#1}{\textnoteORIG{#2}}{} } -%% End of tabs.sty file \makeatother