-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPokerHand.tex
More file actions
75 lines (69 loc) · 1.86 KB
/
PokerHand.tex
File metadata and controls
75 lines (69 loc) · 1.86 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
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
\documentclass[a4paper,10pt]{article}
\usepackage{longtable,geometry}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsmath, amssymb}
%\usepackage[T1]{fontenc}
\usepackage[babel]{csquotes}
\usepackage{multicol}
\usepackage{eurosym}
% \MakeAutoQuote{«}{»}
\pagestyle{headings}
\geometry{dvips,a4paper,margin=1.5in}
\usepackage[usenames]{color}
\usepackage{amssymb,amsmath}
\usepackage{listings}
\usepackage{verbatim}
\usepackage{alltt}
\usepackage{moreverb}
\usepackage{txfonts}
\addtolength{\hoffset}{-1.5cm}
\addtolength{\voffset}{-1.5cm}
\addtolength{\textwidth}{3cm}
\addtolength{\textheight}{3cm}
\title{Poker Hand}
\author{by ToF}
\input{LittleHaskeller.tex}
\begin{document}
\lstset{classoffset=0,
language=Haskell,
basicstyle=\color{black}\sffamily\small,
columns=flexible,
tabsize=4,
tab=$\to$,
literate={->}{$\to$ }2 {==>}{$\Longrightarrow$}1 {lll}{$\lambda$}1 {[]}{[ ]}2 {__}{\space}1
{♣}{\monoclubs}1 {♦}{\monodiamonds}1 {♥}{\monohearts}1 {♠}{\monospades}1 ,
numberstyle=\tiny,
float=tbph,
extendedchars,
breaklines,
frame=none,
showtabs=false,
showspaces=false,
showstringspaces=false,
keywordstyle=\color{blue},
identifierstyle=\color{black}\textsl,
morekeywords={subsequences, comparing, Suit, Card, Value, Hand, Ranking},
classoffset=1,
morekeywords={C, H, HighCard,Pair,TwoPairs,ThreeOfAKind,FullHouse,Straight,Flush,StraightFlush,FourOfAKind}, keywordstyle={\color{darkgreen}},
classoffset=0,
stringstyle=\color{darkgreen},
commentstyle=\color{red},
captionpos=b,
aboveskip=\medskipamount,
belowskip=\medskipamount}
\setlength{\columnsep}{1cm}
\parindent = 0cm
\maketitle
\troislambdas
\setcounter{lhparagraph}{0}
\input{Chapter1}
\input{Chapter2}
\input{Chapter3}
\input{Chapter4}
\input{Chapter5}
\input{Chapter6}
\input{Chapter7}
\input{Chapter8}
\input{Chapter9}
\end{document}