m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-13 15:26:22 +0200
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-13 15:26:22 +0200
commitd270d4fb79cb6b4c9b4aae94c7c62598dae22f5d (patch)
tree8b098823311bba3c3ff47a8b2aa0bb5b30f5c5c9 /templates
parent1e00b4f3ab2e3171e00ae6f66ab58b8047711aad (diff)
Normalize layouts between songbook and individual songs
Diffstat (limited to 'templates')
-rw-r--r--templates/song.tex.erb9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/song.tex.erb b/templates/song.tex.erb
index 7cf5fe6..ec15d5a 100644
--- a/templates/song.tex.erb
+++ b/templates/song.tex.erb
@@ -1,6 +1,9 @@
-\documentclass{article}
+\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage{alltt}
+\usepackage{geometry}
+
+\newgeometry{lmargin=1in, rmargin=1in}
\newcommand{\tyt}[1]{\section{#1}}
\setcounter{secnumdepth}{0}
@@ -9,6 +12,8 @@
\pagenumbering{gobble}
-\input{<%= tmp(song_partial_tex song.id) %>}
+\begin{flushleft}
+ \input{<%= tmp(song_partial_tex song.id) %>}\clearpage
+\end{flushleft}
\end{document}