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.
132 lines
2.5 KiB
132 lines
2.5 KiB
9 years ago
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
%% Automatically generated document.
|
||
|
%% You may edit this file but all changes will be overwritten.
|
||
|
%% If you want to change this document, have a look at
|
||
|
%% the templating system.
|
||
|
%%
|
||
|
%% Generated using Songbook <http://www.patacrep.com>
|
||
|
|
||
|
\makeatletter
|
||
|
\def\input@path{ %
|
||
9 years ago
|
{@TEST_FOLDER@/templates/styles/} %
|
||
|
{@DATA_FOLDER@/templates/styles/} %
|
||
9 years ago
|
}
|
||
|
\makeatother
|
||
|
|
||
|
\documentclass[
|
||
|
]{article}
|
||
|
|
||
|
\usepackage[
|
||
|
chorded,
|
||
|
pictures,
|
||
|
repeatchords,
|
||
|
importantdiagramonly,
|
||
9 years ago
|
diagrampage,
|
||
9 years ago
|
guitar,
|
||
|
]{crepbook}
|
||
|
|
||
|
\usepackage[
|
||
|
a4paper % paper size
|
||
|
,includeheadfoot % include header and footer into text size
|
||
|
,hmarginratio=1:1 % ratio between inner and outer margin (default)
|
||
|
,outer=1.8cm % outer margin (right)
|
||
|
,vmarginratio=1:1 % ratio between top and bottom margin
|
||
|
,bmargin=1.3cm % bottom margin
|
||
|
]{geometry}
|
||
|
|
||
|
\usepackage{lmodern}
|
||
|
|
||
|
|
||
9 years ago
|
\usepackage[english]{babel}
|
||
|
\lang{english}
|
||
9 years ago
|
|
||
|
\usepackage{graphicx}
|
||
|
\graphicspath{ %
|
||
9 years ago
|
{@TEST_FOLDER@/} %
|
||
|
{@DATA_FOLDER@/} %
|
||
9 years ago
|
}
|
||
|
|
||
|
|
||
|
\makeatletter
|
||
|
\@ifpackageloaded{hyperref}{}{
|
||
|
\usepackage{url}
|
||
|
\newcommand{\phantomsection}{}
|
||
|
\newcommand{\hyperlink}[2]{#2}
|
||
|
\newcommand{\href}[2]{\expandafter\url\expandafter{#1}}
|
||
|
}
|
||
|
\makeatother
|
||
|
|
||
|
|
||
|
\usepackage{chords}
|
||
|
|
||
9 years ago
|
\title{Guitar songbook}
|
||
|
\author{The Patacrep Team}
|
||
9 years ago
|
|
||
9 years ago
|
\newindex{titleidx}{lang_en_title}
|
||
|
\newauthorindex{authidx}{lang_en_auth}
|
||
9 years ago
|
|
||
|
\authignoreword{unknown}
|
||
|
\authbyword{by}
|
||
|
\authsepword{and}
|
||
|
|
||
9 years ago
|
\notenamesout{A}{B}{C}{D}{E}{F}{G}
|
||
9 years ago
|
|
||
|
|
||
|
\pagestyle{empty}\definecolor{SongNumberBgColor}{HTML}{D1E4AE}
|
||
|
\definecolor{NoteBgColor}{HTML}{D1E4AE}
|
||
|
\definecolor{IndexBgColor}{HTML}{D1E4AE}
|
||
|
|
||
|
\renewcommand{\snumbgcolor}{SongNumberBgColor}
|
||
|
\renewcommand{\notebgcolor}{NoteBgColor}
|
||
|
\renewcommand{\idxbgcolor}{IndexBgColor}
|
||
|
|
||
|
\definecolor{tango-green-3}{HTML}{4e9a06}
|
||
|
\definecolor{tango-blue-3}{HTML}{204a87}
|
||
|
\usepackage[
|
||
|
bookmarks,
|
||
|
bookmarksopen,
|
||
|
hyperfigures=true,
|
||
|
colorlinks=true,
|
||
|
linkcolor=tango-green-3,
|
||
|
urlcolor=tango-blue-3
|
||
|
]{hyperref}
|
||
|
|
||
|
|
||
|
\subtitle{}
|
||
|
\mail{crep@team-on-fire.com}
|
||
|
\web{http://www.patacrep.com}
|
||
|
\picture{img/treble_a}
|
||
|
\picturecopyright{Dbolton \url{http://commons.wikimedia.org/wiki/User:Dbolton}}
|
||
9 years ago
|
\footer{Generated using Songbook (\url{http://www.patacrep.com})}
|
||
9 years ago
|
|
||
|
|
||
|
\begin{document}
|
||
|
|
||
|
\maketitle
|
||
|
|
||
|
|
||
|
\showindex{\songindexname}{titleidx}
|
||
|
\showindex{\authorindexname}{authidx}
|
||
|
|
||
|
% list of chords
|
||
9 years ago
|
\ifdiagrampage
|
||
|
\phantomsection
|
||
|
\addcontentsline{toc}{section}{\chordlistname}
|
||
|
\chords
|
||
9 years ago
|
\fi
|
||
9 years ago
|
\setcounter{songnum}{1}%
|
||
9 years ago
|
|
||
|
\phantomsection
|
||
|
\addcontentsline{toc}{section}{\songlistname}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
9 years ago
|
\end{document}
|