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.
120 lines
1.9 KiB
120 lines
1.9 KiB
|
|
|
|
|
|
|
|
|
|
|
|
%% 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{ %
|
|
{@TEST_FOLDER@/syntax_datadir/templates/styles/} %
|
|
{@TEST_FOLDER@/templates/styles/} %
|
|
{@DATA_FOLDER@/templates/styles/} %
|
|
}
|
|
\makeatother
|
|
|
|
\documentclass[
|
|
]{article}
|
|
|
|
\usepackage[
|
|
chorded,
|
|
pictures,
|
|
repeatchords,
|
|
importantdiagramonly,
|
|
diagrampage,
|
|
guitar,
|
|
]{patacrep}
|
|
|
|
\usepackage{lmodern}
|
|
|
|
|
|
\PassOptionsToPackage{english}{babel}
|
|
\usepackage[english]{babel}
|
|
\lang{english}
|
|
|
|
\usepackage{graphicx}
|
|
\graphicspath{ %
|
|
{@TEST_FOLDER@/syntax_datadir/} %
|
|
{@TEST_FOLDER@/} %
|
|
{@DATA_FOLDER@/} %
|
|
}
|
|
|
|
|
|
\makeatletter
|
|
\@ifpackageloaded{hyperref}{}{
|
|
\usepackage{url}
|
|
\newcommand{\phantomsection}{}
|
|
\newcommand{\hyperlink}[2]{#2}
|
|
\newcommand{\href}[2]{\expandafter\url\expandafter{#1}}
|
|
}
|
|
\makeatother
|
|
|
|
|
|
\usepackage{chords}
|
|
|
|
\title{Guitar songbook}
|
|
\author{The Patacrep Team}
|
|
|
|
\newindex{titleidx}{syntax_title}
|
|
\newauthorindex{authidx}{syntax_auth}
|
|
|
|
\authignoreword{unknown}
|
|
\authbyword{by}
|
|
\authsepword{and}
|
|
|
|
\notenamesout{A}{B}{C}{D}{E}{F}{G}
|
|
|
|
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
|
|
\showindex{\songindexname}{titleidx}
|
|
\showindex{\authorindexname}{authidx}
|
|
|
|
% list of chords
|
|
\ifdiagrampage
|
|
\phantomsection
|
|
\addcontentsline{toc}{section}{\chordlistname}
|
|
\chords
|
|
\fi
|
|
\setcounter{songnum}{1}%
|
|
|
|
\phantomsection
|
|
\addcontentsline{toc}{section}{\songlistname}
|
|
|
|
\begin{songs}{titleidx,authidx}
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% songs/./musicnote.csg
|
|
|
|
\selectlanguage{english}
|
|
|
|
\beginsong{Song with Sharp in musicnote}[
|
|
by={
|
|
},
|
|
]
|
|
|
|
|
|
|
|
|
|
\ifchorded
|
|
\begin{verse*}
|
|
\musicnote {\nolyrics \[Am C{\shrp}m]}
|
|
\end{verse*}
|
|
\fi
|
|
|
|
\endsong
|
|
|
|
\end{songs}
|
|
|
|
|
|
|
|
|
|
\end{document}
|