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.
41 lines
1.3 KiB
41 lines
1.3 KiB
(% variables %)
|
|
{
|
|
"songnumberbgcolor": {"description": {"en": "Number Shade", "fr": "Couleur des numéros"},
|
|
"type": "color",
|
|
"default": {"default": "D1E4AE"}
|
|
},
|
|
"notebgcolor": {"description": {"en": "Note Shade", "fr": "Couleur des notes"},
|
|
"type": "color",
|
|
"default": {"default": "D1E4AE"}
|
|
},
|
|
"indexbgcolor": {"description": {"en": "Index Shade", "fr": "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 *)
|
|
|