Browse Source

Use the new songbook package to replace old gtab and image handling.

remotes/origin/translate_notes
Alexandre Dupas 16 years ago
parent
commit
ae021f6b8e
  1. 13
      chordbook.tex
  2. 7
      lyricbook.tex

13
chordbook.tex

@ -30,16 +30,13 @@
\usepackage[english,french]{babel} \usepackage[english,french]{babel}
\usepackage{fancybox} \usepackage{fancybox}
\usepackage{songbook}
\newindex{titleidx}{cbtitle} \newindex{titleidx}{cbtitle}
\newauthorindex{authidx}{cbauth} \newauthorindex{authidx}{cbauth}
%Remove comment to include pictures in the songbook
\newcommand{\image}[2]{\begin{flushright} \includegraphics[width=#2cm]{#1}\end{flushright}}
%\newcommand{\image}[2]{}
%\renewcommand{\gtab}[2]{}
\graphicspath{ \graphicspath{
{img/} {img/},
} }
%\includeonlysongs{1} %\includeonlysongs{1}
@ -47,7 +44,9 @@
\renewcommand{\stitlefont}{\LARGE\bf} \renewcommand{\stitlefont}{\LARGE\bf}
\renewcommand{\printchord}[1]{\small{\it#1}} \renewcommand{\printchord}[1]{\small{\it#1}}
\renewcommand{\chorusfont}{\it} \renewcommand{\chorusfont}{\it}
\renewcommand{\showauthors}{\normalsize\songauthors} \renewcommand{\showauthors}{%
\hbox{\normalsize\songauthors}%
}
\renewcommand{\idxtitlefont}{\sffamily\bfseries} \renewcommand{\idxtitlefont}{\sffamily\bfseries}
\renewcommand{\idxauthfont}{\sffamily\bfseries} \renewcommand{\idxauthfont}{\sffamily\bfseries}
\renewcommand{\idxheadfont}{\sffamily\it\LARGE} \renewcommand{\idxheadfont}{\sffamily\it\LARGE}

7
lyricbook.tex

@ -32,6 +32,8 @@
\usepackage[english,french]{babel} \usepackage[english,french]{babel}
\usepackage{fancybox} \usepackage{fancybox}
\usepackage{songbook}
\setlength{\oddsidemargin}{0in} \setlength{\oddsidemargin}{0in}
\setlength{\evensidemargin}{0in} \setlength{\evensidemargin}{0in}
\setlength{\textwidth}{6.5in} \setlength{\textwidth}{6.5in}
@ -47,11 +49,6 @@
\newindex{titleidx}{lbtitle} \newindex{titleidx}{lbtitle}
\newauthorindex{authidx}{lbauth} \newauthorindex{authidx}{lbauth}
%Remove comment to include pictures in the songbook
\newcommand{\image}[2]{\begin{flushright} \includegraphics[width=#2cm]{#1}\end{flushright}}
%\newcommand{\image}[2]{}
\renewcommand{\gtab}[2]{}
\graphicspath{ \graphicspath{
{img/} {img/}
} }

Loading…
Cancel
Save