diff --git a/projectplan/logoUvA_nl.pdf b/projectplan/logoUvA_nl.pdf new file mode 100644 index 0000000..16e00c4 Binary files /dev/null and b/projectplan/logoUvA_nl.pdf differ diff --git a/projectplan/projectplan.pdf b/projectplan/projectplan.pdf new file mode 100644 index 0000000..6fbd295 Binary files /dev/null and b/projectplan/projectplan.pdf differ diff --git a/projectplan/projectplan.tex b/projectplan/projectplan.tex new file mode 100644 index 0000000..9fbe0b3 --- /dev/null +++ b/projectplan/projectplan.tex @@ -0,0 +1,118 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% LATEX-TEMPLATE PROJECTPLAN +%------------------------------------------------------------------------------- +% Voor informatie over het projectplan, zie +% http://practicumav.nl/project/projectplan.html +% Voor readme en meest recente versie van het template, zie +% https://gitlab-fnwi.uva.nl/informatica/LaTeX-template.git +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%------------------------------------------------------------------------------- +% PACKAGES EN DOCUMENT CONFIGURATIE +%------------------------------------------------------------------------------- + +\documentclass{uva-inf-article} +\usepackage[dutch]{babel} + +%------------------------------------------------------------------------------- +% GEGEVENS VOOR IN DE TITEL +%------------------------------------------------------------------------------- + +% Vul de naam van de opdracht in. +\assignment{Webprogrameren en Databases} +% Vul het soort opdracht in. +\assignmenttype{Projectplan} +% Vul de titel van de eindopdracht in. +\title{Titel van het document} + +% Vul de volledige namen van alle auteurs in. +\authors{Lars van Hijfte; Hendrik Huhng; Marijn Jansen; Joey Lai; Kevin Nobel} +% Vul de corresponderende UvAnetID's in. +\uvanetids{11291680; 11342374; 11166932; 11057122; 11319801} + +% Vul altijd de naam in van diegene die het nakijkt, tutor of docent. +\tutor{Robin Klusman} +% Vul eventueel ook de naam van de docent of vakcoordinator toe. +\docent{} +% Vul hier de naam van de PAV-groep in. +\group{C++} +% Vul de naam van de cursus in. +\course{Webprogrameren en Databases} +% Te vinden op onder andere Datanose. +\courseid{5062WEDA6Y} + +% Dit is de datum die op het document komt te staan. Standaard is dat vandaag. +\date{11 januari 2017} + +%------------------------------------------------------------------------------- +% VOORPAGINA +%------------------------------------------------------------------------------- + +\begin{document} +\maketitle + +%------------------------------------------------------------------------------- +% INHOUDSOPGAVE +%------------------------------------------------------------------------------- + +\tableofcontents + +%------------------------------------------------------------------------------- +% ACHTERGROND +%------------------------------------------------------------------------------- + +\section{Achtergrond} +\lipsum[31] + +%------------------------------------------------------------------------------- +% DOELEN +%------------------------------------------------------------------------------- + +\section{Projectdoelstelling} +\lipsum[32] + +\subsection{Doelstellling} +\lipsum[33] + +\subsection{Visie} +\lipsum[34] + +%------------------------------------------------------------------------------- +% RESULTAAT +%------------------------------------------------------------------------------- + +\section{Projectresultaat} +\lipsum[35] + +%------------------------------------------------------------------------------- +% ORGANISATIE +%------------------------------------------------------------------------------- + +\section{Projectorganisatie} +\lipsum[36] + +\subsection{Communicatie} +\lipsum[37] + +\subsection{Verantwoording van geleverd werk} +\lipsum[38] + +\subsection{Werkafspaken} +\lipsum[39] + +%------------------------------------------------------------------------------- +% PLANNING +%------------------------------------------------------------------------------- + +%Zet de planning indien gewenst in een apart document +%\input{planning} + +%------------------------------------------------------------------------------- +% BIJLAGEN EN EINDE +%------------------------------------------------------------------------------- + +%\section{Bijlage A} +%\section{Bijlage B} +%\section{Bijlage C} + +\end{document} diff --git a/projectplan/uva-inf-article.cls b/projectplan/uva-inf-article.cls new file mode 100644 index 0000000..267d9c8 --- /dev/null +++ b/projectplan/uva-inf-article.cls @@ -0,0 +1,149 @@ +% LaTeX PAV klasse voor artikelen en generieke documenten +% Onderdeel van het LaTeX template pakket Practicum Academische Vaardigheden + +% Voor readme en meest recente versie, zie +% https://gitlab-fnwi.uva.nl/informatica/LaTeX-template.git + +% Geschreven door Robert van Wijk, Stephan van Schaik, Willem Vermeulen en +% Stephen Swatman. + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{uva-inf-article} +\LoadClass[10pt]{article} + +\RequirePackage{hyperref} +\RequirePackage{attachfile} +\RequirePackage{etoolbox} +\RequirePackage{xparse} +\RequirePackage{pgffor} +\RequirePackage{arrayjobx} +\RequirePackage{graphicx} +\RequirePackage{fancyhdr} +\RequirePackage{lastpage} +\RequirePackage{translations} +\RequirePackage{lipsum} +\RequirePackage{ifthen} +\RequirePackage{wrapfig} +\RequirePackage{xstring} +\RequirePackage[a4paper, left=35mm, right=35mm, top=35mm, bottom=35mm]{geometry} +\RequirePackage[utf8]{inputenc} + +\input{uva-inf-common} + +%------------------------------------------------------------------------------ +% INSTELLINGEN +%------------------------------------------------------------------------------ + +\newcommand*{\includesource}{} + +\DeclareOption{source}{ + \renewcommand*{\includesource}{\begin{flushright}\attachfile{\jobname.tex}\end{flushright}} + \attachfilesetup{description=LaTeX code, icon=Tag, mimetype=application/x-tex} +} + +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} +\ProcessOptions + +\reversemarginpar + +%------------------------------------------------------------------------------ +% HEADERS, FOOTERS EN SECTIONS +%------------------------------------------------------------------------------ + +\pagestyle{fancy} +\lhead{\includegraphics[width=5cm]{\GetTranslation{uva_logo}}} +\rhead{\footnotesize \textsc {\@assignmenttype\\ \@assignment}} +\lfoot +{ +\footnotesize +\begin{minipage}{0.8\textwidth} +\foreach \index in {1, ..., \value{authorcount}} {% + \getprefix{author\index}\ifthenelse{\equal{\index}{\value{authorcount}}}{}{,} +} +\end{minipage} +} +\cfoot{} +\rfoot{\small \textsc {\GetTranslation{page} \thepage\ \GetTranslation{of} \pageref{LastPage}}} +\renewcommand{\footrulewidth}{0.5pt} + +\fancypagestyle{firststyle} + { + \includesource + \fancyhf{} + \renewcommand{\headrulewidth}{0pt} + \rfoot{\small \textsc {\GetTranslation{page} \thepage\ \GetTranslation{of} \pageref{LastPage}}} + } + +\def\addlines#1{% + \IfSubStr{#1}{ }{% + \saveexpandmode + \expandarg + \StrSubstitute{#1}{ }{\noexpand\\}}{#1}} + \restoreexpandmode + +\newcommand{\sectionauthor}[2][]{ +\section[#2]{#2\protect\marginpar{\normalfont\footnotesize #1}} +} + +\newcommand{\subsectionauthor}[2][]{ +\subsection[#2]{#2\protect\marginpar{\normalfont\footnotesize #1}} +} + +%------------------------------------------------------------------------------ +% VOORPAGINA +%------------------------------------------------------------------------------ + +\renewcommand*{\maketitle}{% +\thispagestyle{firststyle} +\begin{center} +\includegraphics[width=7cm]{\GetTranslation{uva_logo}} +\\[1cm] + \textsc{\Large \@assignment}\\[0.2cm] + \rule{\linewidth}{0.5pt} \\[0.4cm] + { \huge \bfseries \@title} + \rule{\linewidth}{0.5pt} \\[0.2cm] + {\large \@date \\[0.4cm]} + + \begin{minipage}{0.4\textwidth} + \begin{flushleft} + \emph{\ifnum\value{authorcount}>1\relax + \GetTranslation{students}% + \else + \GetTranslation{student}% + \fi:}\\ + \foreach \index in {1, ..., \value{authorcount}} {% + {\getprefix{author\index}\\ {\small \getprefix{uva\index}\\[0.2cm]}} + } + \end{flushleft} + \end{minipage} +~ + \begin{minipage}{0.4\textwidth} + \begin{flushright} + \ifdefempty{\@tutor}{}{ + \emph{\GetTranslation{tutor}:} \\ + \@tutor \\[0.2cm] + } + \ifdefempty{\@mentor}{}{ + \emph{\GetTranslation{mentor}:} \\ + \@mentor \\[0.2cm] + } + \ifdefempty{\@group}{}{ + \emph{\GetTranslation{group}:} \\ + \@group \\[0.2cm] + } + \ifdefempty{\@docent}{}{ + \emph{\GetTranslation{lecturer}:} \\ + \@docent \\[0.2cm] + } + \ifdefempty{\@course}{}{ + \emph{\GetTranslation{course}:} \\ + \@course \\[0.2cm] + } + \ifdefempty{\@courseid}{}{ + \emph{\GetTranslation{course_id}:} \\ + \@courseid \\[0.2cm] + } + \end{flushright} + \end{minipage}\\[1 cm] +\end{center} +} diff --git a/projectplan/uva-inf-common.tex b/projectplan/uva-inf-common.tex new file mode 100644 index 0000000..b77809e --- /dev/null +++ b/projectplan/uva-inf-common.tex @@ -0,0 +1,87 @@ +\DeclareTranslation{dutch}{tutor}{Tutor} +\DeclareTranslation{english}{tutor}{Tutor} + +\DeclareTranslation{dutch}{of}{van} +\DeclareTranslation{english}{of}{of} + +\DeclareTranslation{dutch}{lecturer}{Docent} +\DeclareTranslation{english}{lecturer}{Lecturer} + +\DeclareTranslation{dutch}{group}{Practicumgroep} +\DeclareTranslation{english}{group}{Group} + +\DeclareTranslation{dutch}{student}{Student} +\DeclareTranslation{english}{student}{Student} + +\DeclareTranslation{dutch}{students}{Studenten} +\DeclareTranslation{english}{students}{Students} + +\DeclareTranslation{dutch}{course}{Cursus} +\DeclareTranslation{english}{course}{Course} + +\DeclareTranslation{dutch}{course_id}{Vakcode} +\DeclareTranslation{english}{course_id}{Course code} + +\DeclareTranslation{dutch}{uva_logo}{logoUvA_nl} +\DeclareTranslation{english}{uva_logo}{logoUvA_en} + +\newcommand*{\assignment}[1]{\gdef\@assignment{#1}} +\newcommand*{\@assignment}{$\backslash assignment\{\}$ is unset} + +\newcommand*{\assignmenttype}[1]{\gdef\@assignmenttype{#1}} +\newcommand*{\@assignmenttype}{$\backslash assignmenttype\{\}$ is unset} + +\newcommand*{\tutor}[1]{\gdef\@tutor{#1}} +\newcommand*{\@tutor}{} + +\newcommand*{\mentor}[1]{\gdef\@mentor{#1}} +\newcommand*{\@mentor}{} + +\newcommand*{\group}[1]{\gdef\@group{#1}} +\newcommand*{\@group}{} + +\newcommand*{\docent}[1]{\gdef\@docent{#1}} +\newcommand*{\@docent}{} + +\newcommand*{\course}[1]{\gdef\@course{#1}} +\newcommand*{\@course}{} + +\newcommand*{\courseid}[1]{\gdef\@courseid{#1}} +\newcommand*{\@courseid}{} + +\newcounter{authorcount} +\setcounter{authorcount}{0} + +\newcounter{uvacount} +\setcounter{uvacount}{0} + +\newcommand\setprefix[2]{\expandafter\def\csname#1\endcsname{#2}} +\newcommand\getprefix[1]{\csname#1\endcsname} + +\NewDocumentCommand\authors{>{\SplitList{;}}m}{ + \ProcessList{#1}{ \addauthor } +} +\newcommand\addauthor[1]{ + \stepcounter{authorcount} + \setprefix{author\arabic{authorcount}}{#1} +} +\renewcommand{\author}[1]{ + \addauthor{#1} +} +\NewDocumentCommand\uvanetids{>{\SplitList{;}}m}{ + \ProcessList{#1}{ \adduvanetid } +} +\newcommand\adduvanetid[1]{ + \stepcounter{uvacount} + \setprefix{uva\arabic{uvacount}}{#1} +} +\newcommand\uvanetid[1]{ + \adduvanetid{#1} +} + +\newcommand{\andreas}[4]{ + \begin{scope}[shift={(#1,#2)},rotate=45,scale=#3] + \fill[#4] (0,0) -- (0,1) -- (3,1) -- (3,0); + \fill[#4] (1,-1) -- (2,-1) -- (2,2) -- (1,2);`` + \end{scope} +}