Skip to content

Commit 3f76c08

Browse files
committed
TeX template: Minor tweaks
1 parent be87147 commit 3f76c08

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

default/output/songbook.pdf

88 Bytes
Binary file not shown.

default/output/songbook.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
\titleformat{\section}
5858
{\centering\large\bfseries}{}{0pt}{\underline}
5959
\titlespacing*{\section}
60-
{0pt}{0pt}{.25ex}
60+
{0pt}{7mm}{0pt}
6161
\newcommand\songtitle[1]{%
6262
% This is a trick to only layout a song on the current page
6363
% if it fits, otherwise a pagebreak is inserted
@@ -135,8 +135,8 @@
135135
\begin{document}
136136

137137
%% Title page
138-
\frontmatter
139-
\begin{titlingpage}
138+
\frontmatter*
139+
\begin{titlingpage*}
140140
\begin{vplace}[0.5]
141141
\begin{center}
142142
\Huge{\textbf{My Songbook}} \\
@@ -148,13 +148,13 @@
148148
\mbox{}
149149
\vfill
150150
\begin{center}\small{(And this note too...)}\end{center}
151-
\end{titlingpage}
151+
\end{titlingpage*}
152152

153153
%% Contents page
154154
\tableofcontents*
155155

156156
%% Songs
157-
\mainmatter
157+
\mainmatter*
158158

159159
\pagestyle{songs}
160160

default/templates/pdf.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
\titleformat{\section}
6464
{\centering\large\bfseries}{}{0pt}{\underline}
6565
\titlespacing*{\section}
66-
{0pt}{0pt}{.25ex}
66+
{0pt}{7mm}{0pt}
6767
\newcommand\songtitle[1]{%
6868
% This is a trick to only layout a song on the current page
6969
% if it fits, otherwise a pagebreak is inserted
@@ -188,8 +188,8 @@
188188
\begin{document}
189189

190190
%% Title page
191-
\frontmatter
192-
\begin{titlingpage}
191+
\frontmatter*
192+
\begin{titlingpage*}
193193
\begin{vplace}[0.5]
194194
\begin{center}
195195
\Huge{\textbf{ {{~ book.title ~}} }} \\
@@ -205,13 +205,13 @@
205205
\mbox{}
206206
\vfill
207207
\begin{center}\small{ {{~ book.title_note ~}} }\end{center}
208-
\end{titlingpage}
208+
\end{titlingpage*}
209209

210210
%% Contents page
211211
\tableofcontents*
212212

213213
%% Songs
214-
\mainmatter
214+
\mainmatter*
215215

216216
\pagestyle{songs}
217217
{{#each songs -}}

example/output/songbook.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"book": {
3-
"title": "Bard Songbook",
4-
"front_img": "guitar.jpg",
53
"title_note": "A set of a few non-copyrighted songs.",
64
"subtitle": "An example project",
7-
"chorus_label": "Ch"
5+
"title": "Bard Songbook",
6+
"chorus_label": "Ch",
7+
"front_img": "guitar.jpg"
88
},
99
"songs": [
1010
{

example/output/songbook.pdf

-143 Bytes
Binary file not shown.

example/output/songbook.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
\titleformat{\section}
5858
{\centering\large\bfseries}{}{0pt}{\underline}
5959
\titlespacing*{\section}
60-
{0pt}{0pt}{.25ex}
60+
{0pt}{7mm}{0pt}
6161
\newcommand\songtitle[1]{%
6262
% This is a trick to only layout a song on the current page
6363
% if it fits, otherwise a pagebreak is inserted
@@ -135,8 +135,8 @@
135135
\begin{document}
136136

137137
%% Title page
138-
\frontmatter
139-
\begin{titlingpage}
138+
\frontmatter*
139+
\begin{titlingpage*}
140140
\begin{vplace}[0.5]
141141
\begin{center}
142142
\Huge{\textbf{Bard Songbook}} \\
@@ -151,13 +151,13 @@
151151
\mbox{}
152152
\vfill
153153
\begin{center}\small{A set of a few non-copyrighted songs.}\end{center}
154-
\end{titlingpage}
154+
\end{titlingpage*}
155155

156156
%% Contents page
157157
\tableofcontents*
158158

159159
%% Songs
160-
\mainmatter
160+
\mainmatter*
161161

162162
\pagestyle{songs}
163163

0 commit comments

Comments
 (0)