Engine for LaTeX songbooks http://www.patacrep.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

90 lines
2.4 KiB

% Copyright (C) 2008 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[letterpaper]{article}
\usepackage[bookmarks,bookmarksopen]{hyperref}
\usepackage[lyric]{songs}
%my packages
\usepackage[utf8]{inputenc}
\usepackage[pdftex]{graphicx, color}
\usepackage[english,french]{babel}
\usepackage{fancybox}
\setlength{\oddsidemargin}{0in}
\setlength{\evensidemargin}{0in}
\setlength{\textwidth}{6.5in}
\setlength{\topmargin}{0in}
\setlength{\topskip}{0in}
\setlength{\headheight}{0in}
\setlength{\headsep}{0in}
\setlength{\textheight}{9.1in}
\settowidth{\versenumwidth}{1.\ }
\addtolength{\voffset}{-1cm}
\pagestyle{empty}
\newindex{titleidx}{lbtitle}
\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{
{img/}
}
%my renew
%\includeonlysongs{1}
\titleprefixword{}
\renewcommand{\stitlefont}{\LARGE\bf}
\renewcommand{\printchord}[1]{\small{\it#1}}
\renewcommand{\chorusfont}{\it}
%\renewcommand{\everychorus}{\textnote{Refrain:}}
\baselineadj=-2.5pt plus 1pt minus 0pt
\versesep=8pt plus 2pt minus 2pt
\input{title.tex}
\begin{document}
\maketitle
\newpage
\input{license.tex}
\newpage
\setlength{\colminheight}{9.5in}
\setlength{\textheight}{9.7in}
\showindex{Index par titre des chansons}{titleidx}
\showindex{Index par titre des auteurs}{authidx}
\songsection{Chansons}
\begin{songs}{titleidx,authidx}
\input{songs.sbd}
\end{songs}
\end{document}