-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPENTAGAME-RULESHEETS.tex
237 lines (180 loc) · 4.38 KB
/
PENTAGAME-RULESHEETS.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
\documentclass[DIV=19,paper=b5,12pt]{scrartcl}
\usepackage{hyperref}
\hypersetup{
pdftitle={Pentagame Regulae Rules Regeln Regles},
pdfsubject={Pentagame Rules in Many Languages},
pdfauthor={Jan Suchanek et al.},
pdfkeywords={Pentagame board game rules explained latin english german deutsch latine francais russian chinese spanish espaniol}
}
\usepackage{polyglossia}
\usepackage{xeCJK}
\setmainlanguage{english}
\setotherlanguages{french,ngerman,latin,bahasai,russian,greek,spanish,georgian}
\DeclareTextCommandDefault{\cyrdash}{\hbox to.8em{---}~}
\setmainfont{FreeSerif}
\setsansfont{FreeSans}
\newCJKfontfamily{\tradChinesefont}{AR PL UKai HK}[BoldFont=Noto Sans CJK TC Bold]
\usepackage{setspace}
\usepackage{multicol}
\usepackage{titlesec}
\usepackage{microtype}
% \usepackage{CJKutf8}
\usepackage{pgfpages,tikz,lipsum}
\usetikzlibrary{calc}
\usetikzlibrary{shapes.multipart}
\usetikzlibrary{arrows}
\usetikzlibrary{shapes.misc}
\usetikzlibrary{decorations.text}
\usetikzlibrary{automata, positioning}
\usetikzlibrary{hobby}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{patterns}
%\usepackage{CJK}
\usepackage{tikz}
\raggedbottom
\raggedcolumns
\clubpenalty = 10000
\widowpenalty = 10000
\displaywidowpenalty = 10000
\newcommand{\noun}[1]{\textsc{#1}}
\newcounter{oldpage}
\makeatletter
\renewcommand\paragraph{%
\@startsection{paragraph}{4}%
{\z@}{1ex\@plus 1ex \@minus .2ex}%
{0.2ex \@plus .2ex}%
{\sffamily\normalsize\bfseries}%
}
\makeatother
%%% Document specific commands
\newcommand{\myskip}{\smallskip}
\newcommand{\headline}{{\LARGE{}Pentagame}}
\newcommand{\tocent}{}
\newcommand{\translator}{}
\newcommand{\general}{}
\newcommand{\choosext}{}
\newcommand{\choosex}{}
\newcommand{\setupt}{}
\newcommand{\setup}{}
\newcommand{\objectivet}{}
\newcommand{\objective}{}
\newcommand{\rulest}{}
\newcommand{\rules}{}
\newcommand{\website}{\textsf{\textbf{pentagame.org}}}
\newcommand{\layout}{
\begin{centering}
{\sffamily\LARGE{\textbf\headline}}
\addcontentsline{toc}{section}{\tocent}
\end{centering}
\bigskip
\hrulefill
\begin{multicols}{2}
%\noindent\hrulefill
\general
\paragraph*{\choosext}
\choosex
\paragraph*{\setupt}
\setup
\paragraph*{\objectivet}
\objective
\medskip
\parbox{\columnwidth}{
\paragraph*{\rulest}
\rules
}
\end{multicols}}
\setlength{\parskip}{0ex}
\setlength{\parindent}{0cm}
\title{
\includegraphics[width=0.5\textwidth]{Pentagame_board_2018.png}\\
Penta$\cdot$game}
%\subtitle{by Jan Suchanek}
\date{}
%% Actual Document. Calling the content first, then printing the same layout.
\begin{document}
\maketitle
\begin{enumerate}
\centering
\item Every player has one piece on each corner
\item Black blocks sit on central nodes
\item Goal: Reach the coloured nodes opposite
\item Everything goes, but no jumping allowed
\item Replace blocks
\item Swap neighbouring pieces
\item Upon moving out, place a grey block
\item Three pieces out wins
\item Grey blocks are one time blocks
\item No repetition (Ko)
\end{enumerate}
%\tableofcontents
\newpage
\phantomsection
%\begin{multicols}{2}
\input{illustrated.tex}
\clearpage
\input{english.tex}
\layout
\pagebreak
\begin{otherlanguage}{ngerman}
\input{deutsch.tex}
\layout
\pagebreak
%\input{vulgaerdeutsch.tex}
%\layout
%\pagebreak
\input{platt.tex}
\layout
\pagebreak
\end{otherlanguage}
\begin{otherlanguage}{latin}
\input{latine.tex}
\setcounter{oldpage}{\thepage}
\pagenumbering{Roman}
\setcounter{page}{\theoldpage}
\layout
\end{otherlanguage}
\pagebreak
\pagenumbering{arabic}
\stepcounter{oldpage}
\setcounter{oldpage}{\theoldpage}
\setcounter{page}{\theoldpage}
\begin{otherlanguage}{french}
\input{francais.tex}
\layout
\end{otherlanguage}
\pagebreak
\begin{otherlanguage}{russian}
\input{russian.tex}
\layout
\end{otherlanguage}
\pagebreak
\begin{otherlanguage}{georgian}
\input{georgian.tex}
\layout
\end{otherlanguage}
\pagebreak
\begin{otherlanguage}{spanish}
\input{espaniol.tex}
\layout
\end{otherlanguage}
\pagebreak
\begin{otherlanguage}{greek}
\input{greek.tex}
{\footnotesize
\layout}
\end{otherlanguage}
\pagebreak
\begin{otherlanguage}{bahasai}
\input{indonesian.tex}
\layout
\end{otherlanguage}
\pagebreak
{\tradChinesefont
\input{tradchinese.tex}
\layout}
\pagebreak
\input{simplechinese.tex}
\layout
%\end{multicols}
\end{document}