blob: 1e9854775222c3d7577038e0d8915b17fdce3cde (
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
|
\documentclass{article}
\usepackage{graphicx}
\usepackage{alltt}
\title{<%= song.title %>}
\date{}
\begin{document}
\maketitle
\begin{alltt} \rmfamily
<%= song.lyrics %>
\end{alltt}
<%- p "tmp sheet file: #{tmp(song_sheet_pdf song.id)}" -%>
<%- if File.file? tmp(song_sheet_pdf song.id) -%>
\begin{figure}
\centering
\includegraphics[width=\textwidth]{<%= tmp(song_sheet_pdf song.id) %>}
\end{figure}
<%- end -%>
\end{document}
|