First Version

This commit is contained in:
Simeon "Waldo" Wallrath 2024-08-05 23:02:37 +02:00
commit 6b202abd37
10 changed files with 290 additions and 0 deletions

46
.gitignore vendored Normal file
View file

@ -0,0 +1,46 @@
*.acn
*.acr
*.alg
*.aux
*.bak
*.bbl
*.bcf
*.blg
*.brf
*.bst
*.dvi
*.fdb_latexmk
*.fls
*.glg
*.glo
*.gls
*.idx
*.ilg
*.ind
*.ist
*.lof
*.log
*.lol
*.lot
*.maf
*.mtc
*.mtc1
*.nav
*.nlo
*.nls
*.out
*.pyg
*.run.xml
*.snm
*.synctex.gz
*.tex.backup
*.tex~
*.thm
*.toc
*.vrb
*.xdy
*.xml
*blx.bib
.bak
.mtc
build/

Binary file not shown.

View file

@ -0,0 +1,33 @@
\documentclass{article}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage[style=apa, backend=biber]{biblatex} % Ran into an error that might be related to the order of packages loaded
\usepackage[thresholdtype=words]{csquotes}
\SetBlockThreshold{40}
\setlength{\parindent}{0pt}
\addbibresource{Example.bib}
\hypersetup{
colorlinks = true, %Colours links instead of ugly boxes
urlcolor = [RGB]{0 70 120}, %Colour for external hyperlinks
linkcolor = [RGB]{0 70 120}, %Colour of internal links
citecolor = [RGB]{0 70 120} %Colour of citations
}
\begin{document}
% Example text
According to \parencite{adamsGameMechanicsAdvanced2012}, this is a critical finding. \\
According to \cite{adamsGameMechanicsAdvanced2012}, this is a critical finding. \\
According to \textcite{adamsGameMechanicsAdvanced2012}, this is a critical finding. \\
% We set the Threshold to 40 Words (see APA), so we can always use blockquote.
He said \blockquote[\cite{adamsGameMechanicsAdvanced2012}]{Lorem ipsum dolor sit amet}. This is a critical finding. \\
He said \blockquote[\cite{adamsGameMechanicsAdvanced2012}]{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} This is a critical finding.
\printbibliography
\end{document}

View file

@ -0,0 +1,14 @@
@book{adamsGameMechanicsAdvanced2012,
title = {Game Mechanics: Advanced Game Design},
shorttitle = {Game Mechanics},
author = {Adams, Ernest and Dormans, Joris},
date = {2012},
publisher = {New Riders},
location = {Berkeley, CA},
isbn = {978-0-321-82027-3},
langid = {english},
pagetotal = {353},
keywords = {Computer games,Design,HQ,Programming},
annotation = {OCLC: ocn802250851},
file = {C:\Users\Waldo\OneDrive\Zotero\Adams_Dormans_2012_Game mechanics.pdf}
}

Binary file not shown.

View file

@ -0,0 +1,95 @@
\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{hyperref}
\setlength{\parindent}{0pt}
\hypersetup{
colorlinks=true,
linkcolor=blue,
citecolor=blue,
filecolor=magenta,
urlcolor=blue,
}
\begin{document}
% Insert Image at specified Position
The following \autoref{image0} is inserted at the specified position.
\begin{figure}[h]
\centering
\includegraphics[width=0.7\textwidth]{../../Figures/dependency_2x.png}
\caption{This is xkcd 2347}
\label{image0}
\end{figure}
This Reference to \autoref{image0} was inserted below the figure at the specified position.
% Insert an Array of Images
\newpage
The following \autoref{all_images} is inserted at the specified position. It contains six images, see \autoref{image1}, \autoref{image2}, \autoref{image3}, \autoref{image4}, \autoref{image5} and \autoref{image6}.
\begin{figure}[h]
\centering
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{../../Figures/dependency_2x.png}
\caption{image}
\label{image1}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{../../Figures/dependency_2x.png}
\caption{image}
\label{image2}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{../../Figures/dependency_2x.png}
\caption{image}
\label{image3}
\end{subfigure}
\vspace{0.2cm}
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{../../Figures/dependency_2x.png}
\caption{image}
\label{image4}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{../../Figures/dependency_2x.png}
\caption{image}
\label{image5}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{../../Figures/dependency_2x.png}
\caption{image}
\label{image6}
\end{subfigure}
\caption{All images}
\label{all_images}
\end{figure}
This Reference to \autoref{all_images} was inserted below the figure at the specified position.
\pagebreak
\listoffigures
\end{document}

View file

@ -0,0 +1,33 @@
\documentclass{report}
\newcommand{\romanpage}{\clearpage\renewcommand{\thepage}{\Roman{page}}\setcounter{page}{1}}
\newcommand{\arabicpage}{\clearpage\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}}
\begin{document}
\begin{titlepage}
\thispagestyle{empty} % Suppress the page number
\begin{center}
\vspace*{1in}
{\Huge\bfseries Your Title Here}\\[2in]
\end{center}
\end{titlepage}
\romanpage % Switch to roman
\tableofcontents
\newpage
Page intentionally left blank.
\newpage
Page intentionally left blank.
\arabicpage % Switch to arabic
\chapter{Example}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
\section{Example1}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
\section{Example2}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
\end{document}

Binary file not shown.

View file

@ -0,0 +1,69 @@
\documentclass{article}
\usepackage{longtable}
\usepackage{array} % For better table formatting
\usepackage{booktabs} % For professional quality tables
\usepackage{xcolor} % For coloring text
% Load hyperref package last
\usepackage{hyperref} % For clickable references
\setlength{\parindent}{0pt}
% Configure hyperref package
\hypersetup{
colorlinks=true,
linkcolor=blue, % Color of internal links
citecolor=blue, % Color of citations
filecolor=magenta, % Color of file links
urlcolor=blue, % Color of external links
}
\begin{document}
Here is an example of a long table. You can see the table in \autoref{table:example}.
\renewcommand{\arraystretch}{3} % Increase row height to a more typical value
\setlength{\tabcolsep}{10pt} % Increase column padding slightly for better readability
\begin{longtable}{p{0.33\textwidth} p{0.33\textwidth} p{0.33\textwidth}}
\caption{Animals}\label{table:example} \\
\toprule
\textbf{Dog} & \textbf{Cat} & \textbf{Fish} \\
\midrule
\endfirsthead
\toprule
\textbf{Dog} & \textbf{Cat} & \textbf{Fish} \\ % Repeated Tablehead
\midrule
\endhead
\midrule
\endfoot
\bottomrule
\endlastfoot
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
Example & Example & Example \\
\end{longtable}
This was an example of a long table. You were able to see the table in \autoref{table:example}.
\pagebreak
\listoftables
\end{document}