Commit ddf0eab3 authored by Orkun Şensebat's avatar Orkun Şensebat
Browse files

Initial commit

parents
Pipeline #461680 passed with stage
in 16 seconds
*.swp
# general latex
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
*.blg
*.dvi
*.glg
*.gls
*.ilg
*.ind
*.lof
*.lot
*.maf
*.mtc
*.mtc1
*.out
*.synctex.gz
# continuous integration
*.pdf
# latexmk
*.fdb_latexmk
*.fls
# macos
.DS_Store
# pycharm
*.pyc
.idea
venv
---
variables:
REPORT_NUMBER: 3
report.pdf:
script:
- pip3 install --requirement python/requirements.txt
- python3 python/main.py
- mkdir plots
- find . -name '*.pdf' -exec mv {} plots/ \;
- cd latex/
- latexmk -pdf report.tex
- cd ..
- mv latex/report.pdf Report\_$REPORT_NUMBER\_Kempe_Sensebat.pdf
artifacts:
paths:
- "*.pdf"
- "plots/*.pdf"
# Computational Physics Homework
## Exercise 3
This repository continuously integrates the production of a report using Python and LaTeX for 2021's M.Sc course of Computational Physics at RWTH Aachen University.
If you want to read the report, the latest version of it can be downloaded inside the `report.zip` using the download button above.
If you want to look at past revisions and compare commits, GitLab archives the past reports' PDFs next to each commit.
\appendix
\section{Listing of code}
\subsection{\code{main.py}}
\lstset{style=normalcode}
\begin{lstlisting}[language=Python]
\end{lstlisting}
\lstset{style=normalcode}
\part{Exercise}
\documentclass[11pt,a4paper]{article}
\usepackage[top=12mm,bottom=12mm,left=30mm,right=30mm,head=12mm,includeheadfoot]{geometry}
\usepackage{fancyhdr}
\newcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{T. Kempe, O. \,{S}ensebat}{}}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO]{T. Kempe, O. \,{S}ensebat}
\fancyhead[RE]{\leftmark}
\fancyfoot[C]{}
\pagestyle{fancy}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{hyperref}
\usepackage{xcolor}
\usepackage{graphicx}
\graphicspath{ {../} }
\usepackage{listings}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.95}
\lstdefinestyle{normalcode}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstdefinestyle{tinycode}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\tiny,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\newcommand{\code}[1]{\texttt{#1}}
\lstset{style=normalcode}
\setlength{\parindent}{0cm}
\begin{document}
\include{title_page}
\tableofcontents
\renewcommand{\baselinestretch}{1.3}
\setlength{\parskip}{1em}
\include{exercise}
\include{appendix}
\end{document}
\begin{titlepage}
\begin{center}
\vspace*{5cm}
\Huge
\textbf{Computational Physics}
\vspace*{0.5cm}
\LARGE
Exercise 3
\vspace{2.5cm}
\large
\begin{tabular}{ll}
\large Tobias Kempe & \small tobias.kempe@rwth-aachen.de \\
& \small 414754 \\
& \\
\large Orkun \c{S}ensebat & \small orkun.sensebat@rwth-aachen.de \\
& \small 283068
\end{tabular}
\vspace{8cm}
\normalsize https://git.rwth-aachen.de/computational-physics-homework
\end{center}
\end{titlepage}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment