From 9f2fd2f1f3827a5318b1f5752c343988a37e6174 Mon Sep 17 00:00:00 2001
From: Jan Wille <jan.wille@stud.hs-hannover.de>
Date: Sat, 20 Mar 2021 14:51:30 +0100
Subject: [PATCH] expanded test project

---
 test.tex | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/test.tex b/test.tex
index 740b41f..aa10ef3 100644
--- a/test.tex
+++ b/test.tex
@@ -40,6 +40,18 @@
 
 	Tiny: {\tiny hello} Small: {\small hello}
 
+	\makeatletter
+	\newcommand{\test}[1][l]{
+		{
+			\def\t{#1}
+			\if\t l left
+			\else
+				right
+			\fi
+		}
+	}
+	\test; \test[right]
+
 	\lipsum[5-6]
 
 	\pagebreak
@@ -56,8 +68,6 @@
 	\end{figure}
 
 	\makeatletter
-	\g@addto@macro\@floatboxreset\raggedright % center all floats
-	\setcapwidth[l]{0.8\textwidth} % center all captions
 
 	\begin{figure}
 		\graphicspath{{svg/build/}} % double curly brackets needet for unknown reason
@@ -65,6 +75,15 @@
 		\caption{made via inkscape}
 	\end{figure}
 
+	\begin{table}
+		\caption{hello}
+		\begin{tabular}{c|c}
+			test & hello \\\hline\hline
+			1 & 2 \\
+			\multicolumn{2}{|c|}{temp}
+		\end{tabular}
+	\end{table}
+
 \printbibliography
 \listoffigures
 \end{document}
-- 
GitLab