commit 6b202abd379068ec33630b001f329a6bd98b3cf2 Author: Simeon Wallrath Date: Mon Aug 5 23:02:37 2024 +0200 First Version diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7734bc2 --- /dev/null +++ b/.gitignore @@ -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/ \ No newline at end of file diff --git a/CitationsAndQotes/CitationsAndQuotes.pdf b/CitationsAndQotes/CitationsAndQuotes.pdf new file mode 100644 index 0000000..213e794 Binary files /dev/null and b/CitationsAndQotes/CitationsAndQuotes.pdf differ diff --git a/CitationsAndQotes/CitationsAndQuotes.tex b/CitationsAndQotes/CitationsAndQuotes.tex new file mode 100644 index 0000000..b2c8a30 --- /dev/null +++ b/CitationsAndQotes/CitationsAndQuotes.tex @@ -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} + diff --git a/CitationsAndQotes/Example.bib b/CitationsAndQotes/Example.bib new file mode 100644 index 0000000..a705b27 --- /dev/null +++ b/CitationsAndQotes/Example.bib @@ -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} +} diff --git a/EmbeddingImages/EmbeddingImages.pdf b/EmbeddingImages/EmbeddingImages.pdf new file mode 100644 index 0000000..808eb7d Binary files /dev/null and b/EmbeddingImages/EmbeddingImages.pdf differ diff --git a/EmbeddingImages/EmbeddingImages.tex b/EmbeddingImages/EmbeddingImages.tex new file mode 100644 index 0000000..d73302c --- /dev/null +++ b/EmbeddingImages/EmbeddingImages.tex @@ -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} diff --git a/RomanAndArabicPagenumbers/RomanAndArabicPagenumbers.pdf b/RomanAndArabicPagenumbers/RomanAndArabicPagenumbers.pdf new file mode 100644 index 0000000..e0c587d Binary files /dev/null and b/RomanAndArabicPagenumbers/RomanAndArabicPagenumbers.pdf differ diff --git a/RomanAndArabicPagenumbers/RomanAndArabicPagenumbers.tex b/RomanAndArabicPagenumbers/RomanAndArabicPagenumbers.tex new file mode 100644 index 0000000..563949f --- /dev/null +++ b/RomanAndArabicPagenumbers/RomanAndArabicPagenumbers.tex @@ -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} \ No newline at end of file diff --git a/TableWithPageBreak/TableWithPageBreak.pdf b/TableWithPageBreak/TableWithPageBreak.pdf new file mode 100644 index 0000000..ec5ec2d Binary files /dev/null and b/TableWithPageBreak/TableWithPageBreak.pdf differ diff --git a/TableWithPageBreak/TableWithPageBreak.tex b/TableWithPageBreak/TableWithPageBreak.tex new file mode 100644 index 0000000..8739fae --- /dev/null +++ b/TableWithPageBreak/TableWithPageBreak.tex @@ -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}