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.

63 lines
2.2 KiB

(%%) Copyright (C) 2014 The Songbook team (www.patacrep.com)
(%%)
(%%) 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
(%%) https://github.com/patacrep/
(% variables %)
{
"songnumberbgcolor": {"description": {"english": "Number Shade", "french": "Couleur des numéros"},
"type": "color",
"default": {"default": "D1E4AE"}
},
"notebgcolor": {"description": {"english": "Note Shade", "french": "Couleur des notes"},
"type": "color",
"default": {"default": "D1E4AE"}
},
"indexbgcolor": {"description": {"english": "Index Shade", "french": "Couleur d'index"},
"type": "color",
"default": {"default": "D1E4AE"}
}
}
(% endvariables %)
(* extends "default.tex" *)
(* block songbookpreambule *)
\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}
(( super() ))
\pagestyle{empty}
\definecolor{SongNumberBgColor}{HTML}{((songnumberbgcolor))}
\definecolor{NoteBgColor}{HTML}{((notebgcolor))}
\definecolor{IndexBgColor}{HTML}{((indexbgcolor))}
\renewcommand{\snumbgcolor}{SongNumberBgColor}
\renewcommand{\notebgcolor}{NoteBgColor}
\renewcommand{\idxbgcolor}{IndexBgColor}
(* endblock *)