m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/templates/songbook.tex.erb
blob: 6a31adeccb874946e64ebc005cf448bad4dc3822 (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
45
46
47
48
49
50
\documentclass[12pt,a4paper,titlepage,openany]{book}
\usepackage{fontenc}
\usepackage{polski}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{alltt}
\usepackage{makeidx}
\usepackage{titlesec}
\usepackage{geometry}

\newgeometry{lmargin=1in, rmargin=1in}
\newcommand{\tyt}[1]{\phantomsection \section{#1} }
\setcounter{secnumdepth}{0}
\renewcommand*{\contentsname}{Lista piosenek}

\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]
        {
          \href{https://tuturutu.net}{tuturutu.net}
        }
		\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}