mirror of https://github.com/patacrep/patacrep.git
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.
113 lines
3.0 KiB
113 lines
3.0 KiB
% 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.
|
|
|
|
\documentclass[letterpaper]{article}
|
|
\usepackage[bookmarks]{hyperref}
|
|
\usepackage[chorded]{songs}
|
|
%\includeonlysongs{1}
|
|
|
|
%my packages
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[pdftex]{graphicx, color}
|
|
\usepackage[english,frenchb]{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}{cbtitle}
|
|
\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{
|
|
{img/}
|
|
}
|
|
|
|
%my renew
|
|
\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
|
|
|
|
\newlength{\larg}
|
|
\setlength{\larg}{14.5cm}
|
|
|
|
\title{
|
|
{\rule{\larg}{1mm}}\vspace{7mm}
|
|
\begin{tabular}{p{4cm} r}
|
|
& {\Huge {Carnet de bord}} \\
|
|
& \\
|
|
& {\Large Recueil de chansons pour guitare}
|
|
\end{tabular}\\
|
|
\vspace{2mm}
|
|
{\rule{\larg}{1mm}}
|
|
\vspace{2mm} \\
|
|
\begin{tabular}{p{11cm} r}
|
|
& {\large \bf Version 3.0} \\
|
|
& {\large \today} \\
|
|
& \\
|
|
\small auteur : Romain Goffe & \\
|
|
\small tel : 06 99 57 67 68 & \\
|
|
\small contact : crep@team-on-fire.com& \\
|
|
\small illustrations : \href{http://tux.crystalxp.net/}{CrystalXP.net}
|
|
& \\
|
|
\hline
|
|
\end{tabular}\\
|
|
%\begin{flushright} \includegraphics[width=7cm]{mawie-mexitux-1894} \end{flushright}
|
|
%\begin{figure} \includegraphics[width=6cm]{on-fire} \end{figure}
|
|
}
|
|
\date{}
|
|
|
|
\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}
|
|
|
|
\begin{songs}{titleidx,authidx}
|
|
\input{songs.sbd}
|
|
\end{songs}
|
|
|
|
\end{document}
|
|
|
|
|