-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
57 lines (46 loc) · 1.31 KB
/
main.tex
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
51
52
53
54
55
56
57
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\usepackage{color}
% For code formatting
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstset{style=mystyle}
% TITLE
\title{CS50 Seminar: Type-ing Music with Haskell and LilyPond}
\author{Connor Harris and Stephen Krewson}
% The Slide Deck
\begin{document}
\frame{\titlepage}
\frame{\frametitle{Table of contents}\tableofcontents}
% EUTERPEA
\section{Euterpea}
\begin{frame}
\frametitle{Some code}
\lstinputlisting[language=Haskell]{test.lhs}
\end{frame}
\section{LilyPond}
\begin{frame}{Frame Title}
LilyPond stuff.
\end{frame}
\end{document}