Browse Source

Merge pull request #44 from patacrep/fontsize

Inclusion de l'unité dans la taille de la police
pull/48/head
Luthaf 11 years ago
parent
commit
b8603421c2
  1. 12
      songbook_core/data/templates/default.tex
  2. 11
      songbook_core/data/templates/layout.tex

12
songbook_core/data/templates/default.tex

@ -21,6 +21,12 @@
(* variables *)
{
"classoptions": {"description": {"english": "LaTeX class options", "french": "Options de la classe LaTeX"},
"type": "flag",
"join": ",",
"mandatory": true,
"default": {"default":[]}
},
"title": {"description": {"english": "Title", "french": "Titre"},
"default": {"english": "Guitar songbook", "french": "Recueil de chansons pour guitare"},
"mandatory":true
@ -69,6 +75,12 @@
(* extends "songs.tex" *)
(* set indexes = "titleidx,authidx" *)
(* block documentclass *)
\documentclass[(* for option in classoptions *)
((option)),
(* endfor *)]{article}
(* endblock *)
(* block songbookpreambule *)
(( super() ))

11
songbook_core/data/templates/layout.tex

@ -26,17 +26,8 @@
%%
%% Generated using Songbook <http://www.patacrep.com>
(* variables *)
{
"mainfontsize": {"description": {"english": "Font Size", "french": "Taille de police"},
"type":"font",
"default":{"default": "10"}
}
}
(* endvariables *)
(* block documentclass *)
\documentclass[((mainfontsize))pt]{article}
\documentclass{article}
(* endblock *)
(* block songbookpackages *)

Loading…
Cancel
Save