Browse Source

[templates] Isolation du \documentclass

pull/32/head
Louis 11 years ago
parent
commit
174e103c9f
  1. 6
      songbook_core/data/templates/default.tex
  2. 2
      songbook_core/data/templates/layout.tex

6
songbook_core/data/templates/default.tex

@ -69,10 +69,14 @@
(* extends "songs.tex" *) (* extends "songs.tex" *)
(* set indexes = "titleidx,authidx" *) (* set indexes = "titleidx,authidx" *)
(* block songbookpreambule *) (* block songbookpackages *)
(( super() )) (( super() ))
\usepackage{chords} \usepackage{chords}
(* endblock *)
(* block songbookpreambule *)
(( super() ))
\title{((title))} \title{((title))}
\author{((author))} \author{((author))}

2
songbook_core/data/templates/layout.tex

@ -71,7 +71,9 @@
(* block documentclass *) (* block documentclass *)
\documentclass[((mainfontsize))pt]{article} \documentclass[((mainfontsize))pt]{article}
(* endblock *)
(* block songbookpackages *)
\usepackage[((booktype)), \usepackage[((booktype)),
(* for option in bookoptions *)((option)), (* for option in bookoptions *)((option)),
(* endfor *) (* endfor *)

Loading…
Cancel
Save