m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/templates/song.tex.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/song.tex.erb')
-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}