mirror of
https://github.com/2martens/uni.git
synced 2026-05-06 11:26:25 +02:00
[IKON] IKON 1 hinzugefügt
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
53
ikon1/templates/hci.sty
Executable file
53
ikon1/templates/hci.sty
Executable file
@ -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 (Informatik im Kontext I \blatt)
|
||||
}
|
||||
\fi
|
||||
|
||||
\newcommand{\betreuer}{Prof. Dr. Frank Steinicke}
|
||||
\renewcommand{\figurename}{Abbildung}
|
||||
|
||||
|
||||
\newcommand{\kopf}{
|
||||
\Large
|
||||
\centerline{\textbf{Human-Computer Interaction}}
|
||||
\vspace*{0.1\baselineskip}
|
||||
\large
|
||||
\centerline{\textbf{Bearbeitung zu \emph{Informatik im Kontext I}, WiSe 2015/16}}
|
||||
\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}}
|
||||
14
ikon1/templates/main.cpp
Executable file
14
ikon1/templates/main.cpp
Executable file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Interaktionsdesign, SoSe 2014
|
||||
* Zettel 1, Aufgabe 2
|
||||
* Autor(en): ??
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
std::cout << "Hello World!" << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
36
ikon1/templates/zettel-01-name.tex
Executable file
36
ikon1/templates/zettel-01-name.tex
Executable file
@ -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}
|
||||
Reference in New Issue
Block a user