From 71963a0e396b6781d39bf9c3dfe2e76e44d9f5a2 Mon Sep 17 00:00:00 2001
From: Paul Jungeblut <paul.jungeblut@gmail.com>
Date: Sun, 14 Feb 2016 01:46:45 +0100
Subject: Improving math section.

---
 tcr.tex | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

(limited to 'tcr.tex')

diff --git a/tcr.tex b/tcr.tex
index f1e2459..725c7f8 100644
--- a/tcr.tex
+++ b/tcr.tex
@@ -7,6 +7,7 @@
 
 % Display math.
 \usepackage{amsmath}
+\usepackage{mathtools}
 \usepackage{amssymb}
 
 % Nice enumerations without wasting space above and below.
@@ -72,10 +73,64 @@
 \usepackage{multicol}
 \usepackage{multirow}
 
+% Automatically have table fill horizontal space.
+\usepackage{tabularx}
+
 % New enviroment for remarks.
 \newtheorem{bem}{Bemerkung}
 
+% New commands for math operators.
+% Binomial coefficients.
+\renewcommand{\binom}[2]{
+  \biggl(
+  \begin{matrix}
+    #1 \\
+    #2
+  \end{matrix}
+  \biggr)
+}
+% Euler numbers, first kind.
+\newcommand{\eulerI}[2]{
+  \biggl\langle
+  \begin{matrix}
+    #1 \\
+    #2
+  \end{matrix}
+  \biggr\rangle
+}
+% Euler numbers, second kind.
+\newcommand{\eulerII}[2]{
+  \biggl\langle
+  \negthinspace
+  \biggl\langle
+  \begin{matrix}
+    #1 \\
+    #2
+  \end{matrix}
+  \biggr\rangle
+  \negthinspace
+  \biggr\rangle
+}
+% Stirling numbers, first kind.
+\newcommand{\stirlingI}[2]{
+  \biggl[
+  \begin{matrix}
+    #1 \\
+    #2
+  \end{matrix}
+  \biggr]
+}
+% Stirling numbers, second kind.
+\newcommand{\stirlingII}[2]{
+  \biggl\{
+  \begin{matrix}
+    #1 \\
+    #2
+  \end{matrix}
+  \biggr\}
+}
 
+% Title and author information.
 \title{Team Contest Reference}
 \author{ChaosKITs \\ Karlsruhe Institute of Technology}
 \begin{document}
-- 
cgit v1.2.3

