m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/templates/songbook.tex.erb
blob: 742409424a10b3f638743f6c3f322347b6702283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
\documentclass[12pt,a4paper,titlepage,openany]{book}
\usepackage{fontenc}
\usepackage{polski}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{alltt}
\usepackage{makeidx}
\usepackage{titlesec}

\newcommand{\tyt}[1]{\phantomsection \section{#1} }
\setcounter{secnumdepth}{0}

\begin{document}

\begin{titlepage}
	\raggedleft

	\rule{1pt}{\textheight}
	\hspace{0.05\textwidth}
	\parbox[b]{0.75\textwidth}{
		{\textsc{Marcin Chrzanowski} przedstawia}
		\\[2\baselineskip]
		{\Huge\bfseries Śpiewnik \\[0.5\baselineskip] Tuturutu w Chmielu}
		\\[14\baselineskip]
		\begin{flushright}
		Wersja~~\fbox{$0.1$}
		\end{flushright}
	}
\end{titlepage}
\raggedbottom
\pagestyle{plain}

\tableofcontents
\clearpage

\phantomsection
\begin{flushleft}
<%- songs.keys.sort.each do |song_id| -%>
  \input{<%= tmp (song_partial_tex song_id) %>}\clearpage
<%- end -%>
\end{flushleft}

\end{document}