% Copyright (C) 2009 Romain Goffe, Alexandre Dupas % Copyright (C) 2008 Kevin W. Hamlen % % This program is free software; you can redistribute it and/or % modify it under the terms of the GNU General Public License % as published by the Free Software Foundation; either version 2 % of the License, or (at your option) any later version. % % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License % along with this program; if not, write to the Free Software % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, % MA 02110-1301, USA. % % The latest version of this program can be obtained from % http://songs.sourceforge.net. % % Modified to serve personnal purposes. Newer versions can be % obtained from http://www.lohrun.net. \documentclass[a4paper]{article} % Packages \usepackage[bookmarks,bookmarksopen]{hyperref} \usepackage[chorded]{songs} \usepackage[utf8]{inputenc} \usepackage[pdftex]{graphicx} \usepackage[english,french]{babel} \usepackage{fancybox} %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{ {img/} } % Songs selection %\includeonlysongs{1} % Customization of the song package \titleprefixword{} \renewcommand{\stitlefont}{\LARGE\bf} \renewcommand{\printchord}[1]{\small{\it#1}} \renewcommand{\chorusfont}{\it} \renewcommand{\showauthors}{\normalsize\songauthors} \renewcommand{\idxtitlefont}{\sffamily\bfseries} \renewcommand{\idxauthfont}{\sffamily\bfseries} \renewcommand{\idxheadfont}{\sffamily\it\LARGE} \renewcommand{\idxrefsfont}{\bfseries} % Customization of the page appearance \setlength{\topmargin}{0cm} \setlength{\oddsidemargin}{0cm} \setlength{\evensidemargin}{0cm} \setlength{\textwidth}{15.5cm} \setlength{\textheight}{24.5cm} % header \setlength{\topskip}{0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} % column \setlength{\colminheight}{9cm} \settowidth{\versenumwidth}{1.\ } \addtolength{\voffset}{-1cm} \baselineadj=-2.5pt plus 1pt minus 0pt \versesep=8pt plus 2pt minus 2pt \pagestyle{empty} % Indexes \newindex{titleidx}{cbtitle} \newauthorindex{authidx}{cbauth} \input{title.tex} \begin{document} \maketitle \thispagestyle{empty} \newpage \input{license.tex} \showindex{Index des chansons}{titleidx} \showindex{Index des auteurs}{authidx} \songsection{Chansons} \begin{songs}{titleidx,authidx} \input{songs.sbd} \end{songs} \end{document}