diff --git a/id/templates/hci.sty b/id/templates/hci.sty new file mode 100755 index 0000000..19782a0 --- /dev/null +++ b/id/templates/hci.sty @@ -0,0 +1,53 @@ +\usepackage[ngerman]{babel} +\usepackage{geometry} +\usepackage{fancyhdr} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{listings} +\usepackage{bold-extra} +\usepackage{ifpdf} +\usepackage{graphicx} + + +\geometry{left=2.5cm,right=2.5cm,top=2.0cm,bottom=2.0cm} +\parindent0mm + +\pagestyle{fancy} + +\ifpdf +\pdfinfo { + /Author (\autor) + /Title (Interaktionsdesign I \blatt) +} +\fi + +\newcommand{\betreuer}{Prof. Dr. Frank Steinicke, Dr. Gerd Bruder, Dr. Sven Magg} +\renewcommand{\figurename}{Abbildung} + + +\newcommand{\kopf}{ + \Large + \centerline{\textbf{Human-Computer Interaction}} + \vspace*{0.1\baselineskip} + \large + \centerline{\textbf{Bearbeitung zu \emph{Interaktionsdesign}, SoSe 2014}} + \vspace*{0.1\baselineskip} + \normalsize + Betreuer:~\betreuer\\ + Autor(en):~\autor~\hfill~{\"U}bung~\blatt \\ + \rule{\textwidth}{.25pt} +} + +\headsep.5cm + + + +\renewcommand{\headrulewidth}{.25pt} +\renewcommand{\footrulewidth}{.25pt} + +\renewcommand{\labelenumi}{(\alph{enumi})} +\renewcommand{\labelenumii}{(\roman{enumii})} + +\newcommand{\aufgabe}[1]{\section*{Aufgabe #1}} + +\newcommand{\sourcecode}[1]{\lstinputlisting[caption={#1},label=lst:#1,language=C++,frame=single,showstringspaces=false,basicstyle={\ttfamily \small},breaklines=true,breakatwhitespace=true,tabsize=4,numbers=left,stepnumber=5,numberfirstline=false,firstnumber=1,numberstyle={\scriptsize}]{#1}} \ No newline at end of file diff --git a/id/templates/images/uhh-hci.jpg b/id/templates/images/uhh-hci.jpg new file mode 100755 index 0000000..de2ab1c Binary files /dev/null and b/id/templates/images/uhh-hci.jpg differ diff --git a/id/templates/main.cpp b/id/templates/main.cpp new file mode 100755 index 0000000..15c0c6d --- /dev/null +++ b/id/templates/main.cpp @@ -0,0 +1,14 @@ +/* + * Interaktionsdesign, SoSe 2014 + * Zettel 1, Aufgabe 2 + * Autor(en): ?? + */ + +#include + +int main(int argc, char** argv) +{ + std::cout << "Hello World!" << std::endl; + + return 0; +} diff --git a/id/templates/zettel-01-name.tex b/id/templates/zettel-01-name.tex new file mode 100755 index 0000000..bd8dd81 --- /dev/null +++ b/id/templates/zettel-01-name.tex @@ -0,0 +1,36 @@ +\documentclass[a4paper,10pt]{article} + +% Hier die Nummer des Blatts und Autoren angeben. +\newcommand{\blatt}{1} +\newcommand{\autor}{Foo} + +\usepackage{hci} + +\begin{document} +% Seitenkopf mit Informationen +\kopf +\renewcommand{\figurename}{Figure} + +\aufgabe{1} +\begin{enumerate} + +\item Lorem ipsum quo docendi eligendi ut, an assum nonummy comprehensam cum, ut mundi nonumy voluptatibus usu. Nam assentior contentiones ad, ea illud meliore quo. Eum id dico sonet, ei sed harum audiam integre. Vix an saepe electram efficiendi, ea est sumo iisque torquatos. Cum eu salutatus constituto, graece impetus nonummy ei nec. + + +\begin{figure}[ht] +\centering \includegraphics[width=0.4\textwidth]{images/uhh-hci.jpg} +\caption{Human-Computer Interaction} +\label{fig:wwu_logo} +\end{figure} + +\item At soleat fastidii legendos his. Quas soleat lobortis ad vis, te habemus commune qualisque mei. At mei salutandi maluisset, modus idque aeterno per ei, eos iusto ullamcorper eu. Mei in soluta interesset delicatissimi, vide fastidii theophrastus no vim. Illud nostrud est no. Mea in simul persius similique, vim posse vocent placerat ei, cum scaevola invenire consulatu in. + +\end{enumerate} + + +\aufgabe{2} +Einfaches \emph{HelloWorld}-Programm sieht zum Beispiel aus wie Listing~\ref{lst:main.cpp} dargestellt. + +\sourcecode{main.cpp} + +\end{document}