From d5a732389436497703b6c4c7bb3223d45ef9d8da Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Sat, 11 Oct 2008 19:52:49 +0200 Subject: [PATCH] add title.tex regrouping frontpage information for both output. modified chordbook to use title.tex. updated copyright. various move of commands. reflect changes in lyricbook.tex. --- chordbook.tex | 37 +++++++------------------------------ lyricbook.tex | 48 +++++++++++++----------------------------------- title.tex | 29 +++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 65 deletions(-) create mode 100644 title.tex diff --git a/chordbook.tex b/chordbook.tex index d275d3ad..2b1b92b4 100644 --- a/chordbook.tex +++ b/chordbook.tex @@ -1,3 +1,4 @@ +% Copyright (C) 2008 Romain Goffe, Alexandre Dupas % Copyright (C) 2008 Kevin W. Hamlen % % This program is free software; you can redistribute it and/or @@ -17,11 +18,13 @@ % % 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[chorded]{songs} -%\includeonlysongs{1} %my packages \usepackage[utf8]{inputenc} @@ -54,42 +57,16 @@ } %my renew +%\includeonlysongs{1} \titleprefixword{} \renewcommand{\stitlefont}{\LARGE\bf} \renewcommand{\printchord}[1]{\small{\it#1}} \renewcommand{\chorusfont}{\it} -\renewcommand{\everychorus}{\textnote{Refrain:}} +%\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{} +\input{title.tex} \begin{document} diff --git a/lyricbook.tex b/lyricbook.tex index 7c76e92c..5b60cd58 100644 --- a/lyricbook.tex +++ b/lyricbook.tex @@ -1,3 +1,4 @@ +% Copyright (C) 2008 Romain Goffe, Alexandre Dupas % Copyright (C) 2008 Kevin W. Hamlen % % This program is free software; you can redistribute it and/or @@ -17,16 +18,18 @@ % % 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]{hyperref} +\usepackage[bookmarks,bookmarksopen]{hyperref} \usepackage[lyric]{songs} -%\includeonlysongs{1} %my packages \usepackage[utf8]{inputenc} \usepackage[pdftex]{graphicx, color} -\usepackage[english,frenchb]{babel} +\usepackage[english,french]{babel} \usepackage{fancybox} \setlength{\oddsidemargin}{0in} @@ -41,54 +44,29 @@ \addtolength{\voffset}{-1cm} \pagestyle{empty} -\newindex{titleidx}{lbtitle} -\newauthorindex{authidx}{lbauth} +\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 +%\includeonlysongs{1} \titleprefixword{} \renewcommand{\stitlefont}{\LARGE\bf} \renewcommand{\printchord}[1]{\small{\it#1}} \renewcommand{\chorusfont}{\it} -\renewcommand{\everychorus}{\textnote{Refrain:}} +%\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{} +\input{title.tex} \begin{document} @@ -104,9 +82,9 @@ \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} - diff --git a/title.tex b/title.tex new file mode 100644 index 00000000..118003e1 --- /dev/null +++ b/title.tex @@ -0,0 +1,29 @@ +\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, Alexandre Dupas & \\ + \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} +} +\author{} +\date{}