Newer
Older
cg / hw04 / documentation / main.tex
\documentclass{article}

\usepackage{svg}
\usepackage{amssymb}
\usepackage[british]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb}
\usepackage{parskip}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{caption}
\DeclareCaptionType{code}[Codeblock][List of Codeblocks] 
\usepackage[a]{}
\usepackage{float}
\usepackage{hyperref}
\usepackage{tcolorbox}
\usepackage{datatool}% http://ctan.org/pkg/datatool
\newcommand{\sortitem}[1]{%
  \DTLnewrow{list}% Create a new entry
  \DTLnewdbentry{list}{description}{#1}% Add entry as description
}
\newenvironment{sortedlist}{%
  \DTLifdbexists{list}{\DTLcleardb{list}}{\DTLnewdb{list}}% Create new/discard old list
}{%
  \DTLsort{description}{list}% Sort list
  \begin{itemize}%
    \DTLforeach*{list}{\theDesc=description}{%
      \item \theDesc}% Print each item
  \end{itemize}%
}
\usepackage{tikz}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
            \node[shape=circle,fill=red, text=white, draw=red,inner sep=2pt,font=\bfseries] (char) {#1};}}

\usepackage[a4paper, textwidth=15cm]{geometry}

\usepackage{minted}
\usemintedstyle{monokai}
\lstset{language=C++}
% load package with ``framed'' and ``numbered'' option.
\usepackage[framed,numbered,autolinebreaks,useliterate]{mcode}
% something NOT relevant to the usage of the package.
\usepackage{url}

\newcommand{\inCode}[1]{\small\colorbox{black!70}{\mintinline{Cirru}{#1}}}
\newcommand{\paragraphnl}[1]{\paragraph{#1}\mbox{}\\}

\usepackage{tocloft}

\usepackage[
backend=biber,
style=alphabetic,
citestyle=authoryear
]{biblatex}
\addbibresource{source.bib}


%%%%%%%%%%%%%%%%%
%     Title     %
%%%%%%%%%%%%%%%%%
\title{% \vfill
    %\vspace{-2.0cm}
    Computer Graphics \\ Project 1 \\ Subdividing Surfaces} 
    

\author{ \\\\ Antonio Martinez Casadesus \\ 5103414 \\ \href{mailto:acasadesus@stud.hs-bremen.de}{acasadesus @ stud.hs-bremen.de}  
\\ 
   \and \\\\  Pascal Syma \\ 5097056 \\ \href{mailto:psyma@stud.hs-bremen.de}{psyma @ stud.hs-bremen.de}\\ } 
\date{ \today}
\parindent 0pt
\parskip 1ex

\pagenumbering{roman}
\begin{document}

\graphicspath{ {./images/} }
\maketitle
\begin{center}

\begin{figure}[H]
\centering
\includegraphics[scale=0.7]{images/example/a4.png}
\end{figure}

Computer Graphics \\ Prof. Dr. Martin Hering-Bertram \\ SoSe 2021 \\ Gruppe 7 \\~\\ Source code: \\ \href{https://git.syma.dev/Pascal/cg/tree/master/hw04}{https://git.syma.dev / Pascal/cg}
\end{center}

\lstset{literate=%
  {Ö}{{\"O}}1
  {Ä}{{\"A}}1
  {Ü}{{\"U}}1
  {ß}{{\ss}}2
  {ü}{{\"u}}1
  {ä}{{\"a}}1
  {ö}{{\"o}}1
}


%%%%%%%%%%%%%%%%%%%%%%%%%%
%   Inhaltsverzeichnis   %
%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\tableofcontents

\clearpage
\listoffigures
\listoftables
\listofcodes


\clearpage

\section{Abstract}
\pagenumbering{arabic}
\input{_Abstract}

\section{Fundamentals}
\input{_Fundamentals}

\section{Algorithms}
\input{_Algorithms}

\section{Implementation}
\input{_Implementation}

\clearpage
\section{Examples}
\input{_Examples}

\clearpage
\section{Conclusions}
\input{_Conclusions}

\printbibliography[title={References},heading=bibnumbered]

\end{document}