From d270d4fb79cb6b4c9b4aae94c7c62598dae22f5d Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Mon, 13 Sep 2021 15:26:22 +0200 Subject: Normalize layouts between songbook and individual songs --- templates/song.tex.erb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'templates') 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} -- cgit v1.2.3