-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLittleHaskeller.tex
More file actions
31 lines (29 loc) · 1.31 KB
/
LittleHaskeller.tex
File metadata and controls
31 lines (29 loc) · 1.31 KB
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
\newcommand{\troislambdas}{\begin{center}
$\lambda\hspace{.25cm}\lambda\hspace{.25cm}\lambda$ \\
\color{black}\end{center}}
\definecolor{lightgray}{rgb}{.95,.95,.95}
\definecolor{darkgreen}{rgb}{0, .50, 0}
\definecolor{verylightgreen}{cmyk}{.010,0,.010,0}
\definecolor{verylightyellow}{cmyk}{0,0,.05,0}
\definecolor{orange}{rgb}{.91,.54,.17}
\newcommand{\success}{\textcolor{green}{$\blacksquare$} }
\newcommand{\failure}{\textcolor{red}{$\blacksquare$} }
\newcommand{\error}{\textcolor{orange}{$\blacksquare$} }
\newcommand{\hearts}[1]{\textcolor{red}{{#1}$\varheartsuit$}}
\newcommand{\clubs}[1]{\textcolor{black}{{#1}$\clubsuit$}}
\newcommand{\diamonds}[1]{\textcolor{red}{{#1}$\vardiamondsuit$}}
\newcommand{\spades}[1]{\textcolor{black}{{#1}$\spadesuit$}}
\newcommand{\monohearts}{$\varheartsuit$}
\newcommand{\monoclubs}{$\clubsuit$}
\newcommand{\monodiamonds}{$\vardiamondsuit$}
\newcommand{\monospades}{$\spadesuit$}
%% little haskeller commands
\newcounter{lhparagraph}
\newcommand{\il}{\lstinline}
\newcommand{\lhQ}{\stepcounter{lhparagraph}\begin{multicols}{2}}
\newcommand{\lhA}{\hspace*{\fill}\vspace*{\fill}\columnbreak\newline{\tiny\arabic{lhparagraph}} }
\newcommand{\lhend}{\end{multicols}}
\newcommand{\lhN}{\lhend\hrule\lhQ}
\newenvironment{qr}[1]{%
\begin{multicols}{2}{#1}\columnbreak\\}
{\end{multicols}\hrule}