mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-18 19:18:21 +02:00
The commands find . -type f -name '*.md' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ and find . -type f -name '*.tex' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ were used to do so.
41 lines
1.2 KiB
TeX
41 lines
1.2 KiB
TeX
\documentclass[a4paper]{scrartcl}
|
|
\usepackage{amssymb, amsmath} % needed for math
|
|
\usepackage[utf8]{inputenc} % this is needed for umlauts
|
|
\usepackage[english]{babel} % this is needed for umlauts
|
|
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
|
|
\usepackage[margin=2.5cm]{geometry} %layout
|
|
\usepackage{hyperref} % links im text
|
|
\usepackage{parskip}
|
|
\usepackage{csquotes}
|
|
|
|
\title{The Game '2048'}
|
|
\author{Martin Thoma}
|
|
|
|
\hypersetup{
|
|
pdfauthor = {Martin Thoma},
|
|
pdfkeywords = {Game, combinatorics, 2048},
|
|
pdftitle = {The Game '2048'}
|
|
}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% Begin document %
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
\begin{document}
|
|
\maketitle
|
|
\begin{abstract}
|
|
\enquote{2048} is a single-player game with random elements and a score.
|
|
\end{abstract}
|
|
|
|
\section{Rules of '2048'}
|
|
\enquote{2048} is played on a $4 \times 4$ grid.
|
|
|
|
\section{Best reachable highscore}
|
|
|
|
\section{Algorithms}
|
|
|
|
\section{Related}
|
|
\begin{itemize}
|
|
\item \url{http://math.stackexchange.com/q/716469/6876}
|
|
\end{itemize}
|
|
|
|
\end{document}
|