diff options
| author | manuel <manuel@nc8430.lan> | 2009-05-10 16:07:02 +0200 |
|---|---|---|
| committer | manuel <manuel@nc8430.lan> | 2009-05-10 16:07:02 +0200 |
| commit | a7e42a67aae98ade48f7ba7199ed021ca276f373 (patch) | |
| tree | a5af158188968c12ca938ccb53e3ca9d8d32c398 /ue3/protokoll | |
| parent | 10570eee9a8191674ecd3b67ac69187b5bfac041 (diff) | |
| download | ooprog-a7e42a67aae98ade48f7ba7199ed021ca276f373.tar.gz ooprog-a7e42a67aae98ade48f7ba7199ed021ca276f373.tar.bz2 ooprog-a7e42a67aae98ade48f7ba7199ed021ca276f373.zip | |
adding ue3
Diffstat (limited to 'ue3/protokoll')
| -rw-r--r-- | ue3/protokoll/Makefile | 20 | ||||
| -rw-r--r-- | ue3/protokoll/fancyheadings.sty | 166 | ||||
| -rw-r--r-- | ue3/protokoll/oop_prot.sty | 222 | ||||
| -rw-r--r-- | ue3/protokoll/protokoll.tex | 92 |
4 files changed, 500 insertions, 0 deletions
diff --git a/ue3/protokoll/Makefile b/ue3/protokoll/Makefile new file mode 100644 index 0000000..3acf895 --- /dev/null +++ b/ue3/protokoll/Makefile | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # Makefile for protokoll | ||
| 2 | # Author: Guenther Neuwirth (0626638), Manuel Mausz (0728348) | ||
| 3 | # Created: 26.04.2009 | ||
| 4 | |||
| 5 | TEXFILE= protokoll.tex | ||
| 6 | PDFFILE= $(shell echo $(TEXFILE) | sed -e 's/\.tex$$/\.pdf/') | ||
| 7 | PDFLATEX= pdflatex | ||
| 8 | TMPDIR= tmp | ||
| 9 | |||
| 10 | all: tex | ||
| 11 | |||
| 12 | tex: | ||
| 13 | @echo $(PDFFILE)" lala" | ||
| 14 | @mkdir -p $(TMPDIR) | ||
| 15 | @$(PDFLATEX) -interaction=nonstopmode -output-directory=$(TMPDIR) $(TEXFILE) | ||
| 16 | @$(PDFLATEX) -interaction=nonstopmode -output-directory=$(TMPDIR) $(TEXFILE) | ||
| 17 | @cp $(TMPDIR)/$(PDFFILE) ../ | ||
| 18 | @rm -rf $(TMPDIR) | ||
| 19 | |||
| 20 | # vim600: noet sw=8 ts=8 | ||
diff --git a/ue3/protokoll/fancyheadings.sty b/ue3/protokoll/fancyheadings.sty new file mode 100644 index 0000000..c1e706e --- /dev/null +++ b/ue3/protokoll/fancyheadings.sty | |||
| @@ -0,0 +1,166 @@ | |||
| 1 | % fancyheadings.sty version 1.94 | ||
| 2 | % Fancy headers and footers. | ||
| 3 | % Piet van Oostrum, Dept of Computer Science, University of Utrecht | ||
| 4 | % Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands | ||
| 5 | % Telephone: +31 30 2531806. Email: piet@cs.ruu.nl | ||
| 6 | % Sep 16, 1994 | ||
| 7 | % version 1.4: Correction for use with \reversemargin | ||
| 8 | % Sep 29, 1994: | ||
| 9 | % version 1.5: Added the \iftopfloat, \ifbotfloat and \iffloatpage commands | ||
| 10 | % Oct 4, 1994: | ||
| 11 | % version 1.6: Reset single spacing in headers/footers for use with | ||
| 12 | % setspace.sty or doublespace.sty | ||
| 13 | % Oct 4, 1994: | ||
| 14 | % version 1.7: changed \let\@mkboth\markboth to | ||
| 15 | % \def\@mkboth{\protect\markboth} to make it more robust | ||
| 16 | % Dec 5, 1994: | ||
| 17 | % version 1.8: corrections for amsbook/amsart: define \@chapapp and (more | ||
| 18 | % importantly) use the \chapter/sectionmark definitions from ps@headings if | ||
| 19 | % they exist (which should be true for all standard classes). | ||
| 20 | % May 31, 1995: | ||
| 21 | % version 1.9: The proposed \renewcommand{\headrulewidth}{\iffloatpage... | ||
| 22 | % construction in the doc did not work properly with the fancyplain style. | ||
| 23 | % June 1, 1995: | ||
| 24 | % version 1.91: The definition of \@mkboth wasn't restored on subsequent | ||
| 25 | % \pagestyle{fancy}'s. | ||
| 26 | % June 1, 1995: | ||
| 27 | % version 1.92: The sequence \pagestyle{fancyplain} \pagestyle{plain} | ||
| 28 | % \pagestyle{fancy} would erroneously select the plain version. | ||
| 29 | % June 1, 1995: | ||
| 30 | % version 1.93: \fancypagestyle command added. | ||
| 31 | % Dec 11, 1995: | ||
| 32 | % version 1.94: suggested by Conrad Hughes <chughes@maths.tcd.ie> | ||
| 33 | % CJCH, Dec 11, 1995: added \footruleskip to allow control over footrule | ||
| 34 | % position (old hardcoded value of .3\normalbaselineskip is far too high | ||
| 35 | % when used with very small footer fonts). | ||
| 36 | % Jan 31, 1996: | ||
| 37 | % version 1.95: call \@normalsize in the reset code if that is defined, | ||
| 38 | % otherwise \normalsize. | ||
| 39 | % this is to solve a problem with ucthesis.cls, as this doesn't | ||
| 40 | % define \@currsize. Unfortunately for latex209 calling \normalsize doesn't | ||
| 41 | % work as this is optimized to do very little, so there \@normalsize should | ||
| 42 | % be called. Hopefully this code works for all versions of LaTeX known to | ||
| 43 | % mankind. | ||
| 44 | |||
| 45 | \let\fancy@def\gdef | ||
| 46 | \def\lhead{\@ifnextchar[{\@xlhead}{\@ylhead}} | ||
| 47 | \def\@xlhead[#1]#2{\fancy@def\@elhead{#1}\fancy@def\@olhead{#2}} | ||
| 48 | \def\@ylhead#1{\fancy@def\@elhead{#1}\fancy@def\@olhead{#1}} | ||
| 49 | |||
| 50 | \def\chead{\@ifnextchar[{\@xchead}{\@ychead}} | ||
| 51 | \def\@xchead[#1]#2{\fancy@def\@echead{#1}\fancy@def\@ochead{#2}} | ||
| 52 | \def\@ychead#1{\fancy@def\@echead{#1}\fancy@def\@ochead{#1}} | ||
| 53 | |||
| 54 | \def\rhead{\@ifnextchar[{\@xrhead}{\@yrhead}} | ||
| 55 | \def\@xrhead[#1]#2{\fancy@def\@erhead{#1}\fancy@def\@orhead{#2}} | ||
| 56 | \def\@yrhead#1{\fancy@def\@erhead{#1}\fancy@def\@orhead{#1}} | ||
| 57 | |||
| 58 | \def\lfoot{\@ifnextchar[{\@xlfoot}{\@ylfoot}} | ||
| 59 | \def\@xlfoot[#1]#2{\fancy@def\@elfoot{#1}\fancy@def\@olfoot{#2}} | ||
| 60 | \def\@ylfoot#1{\fancy@def\@elfoot{#1}\fancy@def\@olfoot{#1}} | ||
| 61 | |||
| 62 | \def\cfoot{\@ifnextchar[{\@xcfoot}{\@ycfoot}} | ||
| 63 | \def\@xcfoot[#1]#2{\fancy@def\@ecfoot{#1}\fancy@def\@ocfoot{#2}} | ||
| 64 | \def\@ycfoot#1{\fancy@def\@ecfoot{#1}\fancy@def\@ocfoot{#1}} | ||
| 65 | |||
| 66 | \def\rfoot{\@ifnextchar[{\@xrfoot}{\@yrfoot}} | ||
| 67 | \def\@xrfoot[#1]#2{\fancy@def\@erfoot{#1}\fancy@def\@orfoot{#2}} | ||
| 68 | \def\@yrfoot#1{\fancy@def\@erfoot{#1}\fancy@def\@orfoot{#1}} | ||
| 69 | |||
| 70 | \newdimen\headrulewidth | ||
| 71 | \newdimen\footrulewidth | ||
| 72 | \newdimen\plainheadrulewidth | ||
| 73 | \newdimen\plainfootrulewidth | ||
| 74 | \newdimen\headwidth | ||
| 75 | \newdimen\footruleskip | ||
| 76 | \newif\if@fancyplain \@fancyplainfalse | ||
| 77 | \def\fancyplain#1#2{\if@fancyplain#1\else#2\fi} | ||
| 78 | |||
| 79 | % Command to reset various things in the headers: | ||
| 80 | % a.o. single spacing (taken from setspace.sty) | ||
| 81 | % and the catcode of ^^M (so that epsf files in the header work if a | ||
| 82 | % verbatim crosses a page boundary) | ||
| 83 | \def\fancy@reset{\restorecr | ||
| 84 | \def\baselinestretch{1}% | ||
| 85 | \ifx\undefined\@newbaseline% NFSS not present; 2.09 or 2e | ||
| 86 | \ifx\@normalsize\undefined \normalsize % for ucthesis.cls | ||
| 87 | \else \@normalsize \fi | ||
| 88 | \else% NFSS (2.09) present | ||
| 89 | \@newbaseline% | ||
| 90 | \fi} | ||
| 91 | |||
| 92 | % Initialization of the head and foot text. | ||
| 93 | |||
| 94 | \headrulewidth 0.4pt | ||
| 95 | \footrulewidth\z@ | ||
| 96 | \plainheadrulewidth\z@ | ||
| 97 | \plainfootrulewidth\z@ | ||
| 98 | \footruleskip .3\normalbaselineskip | ||
| 99 | |||
| 100 | \lhead[\fancyplain{}{\sl\rightmark}]{\fancyplain{}{\sl\leftmark}} | ||
| 101 | % i.e. empty on ``plain'' pages, \rightmark on even, \leftmark on odd pages | ||
| 102 | \chead{} | ||
| 103 | \rhead[\fancyplain{}{\sl\leftmark}]{\fancyplain{}{\sl\rightmark}} | ||
| 104 | % i.e. empty on ``plain'' pages, \leftmark on even, \rightmark on odd pages | ||
| 105 | \lfoot{} | ||
| 106 | \cfoot{\rm\thepage} % page number | ||
| 107 | \rfoot{} | ||
| 108 | |||
| 109 | % Put together a header or footer given the left, center and | ||
| 110 | % right text, fillers at left and right and a rule. | ||
| 111 | % The \lap commands put the text into an hbox of zero size, | ||
| 112 | % so overlapping text does not generate an errormessage. | ||
| 113 | |||
| 114 | \def\@fancyhead#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset\vbox{\hbox | ||
| 115 | {\rlap{\parbox[b]{\headwidth}{\raggedright#2\strut}}\hfill | ||
| 116 | \parbox[b]{\headwidth}{\centering#3\strut}\hfill | ||
| 117 | \llap{\parbox[b]{\headwidth}{\raggedleft#4\strut}}}\headrule}}#5} | ||
| 118 | |||
| 119 | |||
| 120 | \def\@fancyfoot#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset\vbox{\footrule | ||
| 121 | \hbox{\rlap{\parbox[t]{\headwidth}{\raggedright#2\strut}}\hfill | ||
| 122 | \parbox[t]{\headwidth}{\centering#3\strut}\hfill | ||
| 123 | \llap{\parbox[t]{\headwidth}{\raggedleft#4\strut}}}}}#5} | ||
| 124 | |||
| 125 | \def\headrule{{\if@fancyplain\let\headrulewidth\plainheadrulewidth\fi | ||
| 126 | \hrule\@height\headrulewidth\@width\headwidth \vskip-\headrulewidth}} | ||
| 127 | |||
| 128 | \def\footrule{{\if@fancyplain\let\footrulewidth\plainfootrulewidth\fi | ||
| 129 | \vskip-\footruleskip\vskip-\footrulewidth | ||
| 130 | \hrule\@width\headwidth\@height\footrulewidth\vskip\footruleskip}} | ||
| 131 | |||
| 132 | \def\ps@fancy{% | ||
| 133 | \@ifundefined{@chapapp}{\let\@chapapp\chaptername}{}%for amsbook | ||
| 134 | \@ifundefined{chapter}{\def\sectionmark##1{\markboth | ||
| 135 | {\uppercase{\ifnum \c@secnumdepth>\z@ | ||
| 136 | \thesection\hskip 1em\relax \fi ##1}}{}}% | ||
| 137 | \def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne | ||
| 138 | \thesubsection\hskip 1em\relax \fi ##1}}}% | ||
| 139 | {\def\chaptermark##1{\markboth {\uppercase{\ifnum \c@secnumdepth>\m@ne | ||
| 140 | \@chapapp\ \thechapter. \ \fi ##1}}{}} | ||
| 141 | \def\sectionmark##1{\markright{\uppercase{\ifnum \c@secnumdepth >\z@ | ||
| 142 | \thesection. \ \fi ##1}}}}% | ||
| 143 | \csname ps@headings\endcsname % use \ps@headings defaults if they exist | ||
| 144 | \ps@@fancy | ||
| 145 | \gdef\ps@fancy{\@fancyplainfalse\ps@@fancy}% | ||
| 146 | \headwidth\textwidth} | ||
| 147 | \def\ps@fancyplain{\ps@fancy \let\ps@plain\ps@plain@fancy} | ||
| 148 | \def\ps@plain@fancy{\@fancyplaintrue\ps@@fancy} | ||
| 149 | \def\ps@@fancy{% | ||
| 150 | \def\@mkboth{\protect\markboth}% | ||
| 151 | \def\@oddhead{\@fancyhead\@lodd\@olhead\@ochead\@orhead\@rodd}% | ||
| 152 | \def\@oddfoot{\@fancyfoot\@lodd\@olfoot\@ocfoot\@orfoot\@rodd}% | ||
| 153 | \def\@evenhead{\@fancyhead\@rodd\@elhead\@echead\@erhead\@lodd}% | ||
| 154 | \def\@evenfoot{\@fancyfoot\@rodd\@elfoot\@ecfoot\@erfoot\@lodd}% | ||
| 155 | } | ||
| 156 | \def\@lodd{\if@reversemargin\hss\else\relax\fi} | ||
| 157 | \def\@rodd{\if@reversemargin\relax\else\hss\fi} | ||
| 158 | |||
| 159 | \let\latex@makecol\@makecol | ||
| 160 | \def\@makecol{\let\topfloat\@toplist\let\botfloat\@botlist\latex@makecol} | ||
| 161 | \def\iftopfloat#1#2{\ifx\topfloat\empty #2\else #1\fi} | ||
| 162 | \def\ifbotfloat#1#2{\ifx\botfloat\empty #2\else #1\fi} | ||
| 163 | \def\iffloatpage#1#2{\if@fcolmade #1\else #2\fi} | ||
| 164 | |||
| 165 | \newcommand{\fancypagestyle}[2]{% | ||
| 166 | \@namedef{ps@#1}{\let\fancy@def\def#2\relax\ps@fancy}} | ||
diff --git a/ue3/protokoll/oop_prot.sty b/ue3/protokoll/oop_prot.sty new file mode 100644 index 0000000..26a66e6 --- /dev/null +++ b/ue3/protokoll/oop_prot.sty | |||
| @@ -0,0 +1,222 @@ | |||
| 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 2 | % | ||
| 3 | % OOP_prot.sty | ||
| 4 | % | ||
| 5 | % | ||
| 6 | % 13.03.07 | ||
| 7 | % | ||
| 8 | % Institut f"ur Technische Informatik (182/1) | ||
| 9 | % Real Time Systems Group | ||
| 10 | % Technische Universit"at Wien | ||
| 11 | % 1040 Treitlstr. 3, 3. Stk. | ||
| 12 | % (www.vmars.tuwien.ac.at) | ||
| 13 | % | ||
| 14 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 15 | |||
| 16 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 17 | % | ||
| 18 | % packages | ||
| 19 | % | ||
| 20 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 21 | |||
| 22 | \usepackage{fancyheadings} | ||
| 23 | \usepackage{german} | ||
| 24 | \usepackage{graphicx} | ||
| 25 | \usepackage{listings} | ||
| 26 | \usepackage[T1]{fontenc} | ||
| 27 | %\usepackage[latin1]{inputenc} | ||
| 28 | \usepackage{times} | ||
| 29 | \usepackage{epsfig} | ||
| 30 | |||
| 31 | %in order to get the source code in a really good shape | ||
| 32 | \lstset{%backgroundcolor=\color[gray]{.9}, | ||
| 33 | extendedchars=true, | ||
| 34 | basicstyle=\scriptsize, | ||
| 35 | % frame={tb}, | ||
| 36 | % morekeywords={outp,inp,bit_is_clear,bit_is_set,sei,cli,sbi,cbi,INTERRUPT,SIGNAL,uint8,uint16_t,uint32_t,uint64_t,int8_t,int16_t,int32_t,int64_t,memptr}, | ||
| 37 | language=C++, | ||
| 38 | breaklines=true, | ||
| 39 | % lineskip=2pt, | ||
| 40 | % numbers=left, | ||
| 41 | % stepnumber=5, | ||
| 42 | } | ||
| 43 | |||
| 44 | |||
| 45 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 46 | % | ||
| 47 | % user-defined commands | ||
| 48 | % | ||
| 49 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 50 | |||
| 51 | % typeset pin numbers | ||
| 52 | \newcommand{\pin}[1]{\emph{\textbf{#1}}\ } | ||
| 53 | %\renewcommand{\chaptername}{Aufgabe} | ||
| 54 | |||
| 55 | \newcommand{\matrnr}{Matr. Nr.} | ||
| 56 | |||
| 57 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 58 | % | ||
| 59 | % some size definitions and counter settings | ||
| 60 | % | ||
| 61 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 62 | |||
| 63 | \oddsidemargin 1cm | ||
| 64 | \evensidemargin 1cm | ||
| 65 | \topmargin 0pt | ||
| 66 | \headsep 50pt | ||
| 67 | \textheight 21.5cm | ||
| 68 | \textwidth 14.1cm | ||
| 69 | |||
| 70 | \renewcommand{\floatpagefraction}{0.9} | ||
| 71 | \renewcommand{\textfraction}{0.05} | ||
| 72 | \renewcommand{\topfraction}{1.0} | ||
| 73 | \renewcommand{\bottomfraction}{1.0} | ||
| 74 | |||
| 75 | \setcounter{totalnumber}{3} | ||
| 76 | \setcounter{bottomnumber}{3} | ||
| 77 | \setcounter{topnumber}{3} | ||
| 78 | |||
| 79 | \setlength{\unitlength}{1mm} | ||
| 80 | \setlength{\parindent}{6mm} | ||
| 81 | \setlength{\parskip}{12pt plus2pt minus2pt} | ||
| 82 | |||
| 83 | \sloppy | ||
| 84 | |||
| 85 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 86 | % | ||
| 87 | % define variables used on titlepage | ||
| 88 | % | ||
| 89 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 90 | |||
| 91 | % heading | ||
| 92 | \def\headline#1{\gdef\@headline{#1}} | ||
| 93 | % authors | ||
| 94 | \def\vornamea#1{\gdef\@vornamea{#1}} | ||
| 95 | \def\nachnamea#1{\gdef\@nachnamea{#1}} | ||
| 96 | \def\matrikela#1{\gdef\@matrikela{#1}} | ||
| 97 | \def\emaila#1{\gdef\@emaila{#1}} | ||
| 98 | |||
| 99 | \def\vornameb#1{\gdef\@vornameb{#1}} | ||
| 100 | \def\nachnameb#1{\gdef\@nachnameb{#1}} | ||
| 101 | \def\matrikelb#1{\gdef\@matrikelb{#1}} | ||
| 102 | \def\emailb#1{\gdef\@emailb{#1}} | ||
| 103 | |||
| 104 | \def\vornamec#1{\gdef\@vornamec{#1}} | ||
| 105 | \def\nachnamec#1{\gdef\@nachnamec{#1}} | ||
| 106 | \def\matrikelc#1{\gdef\@matrikelc{#1}} | ||
| 107 | \def\emailc#1{\gdef\@emailc{#1}} | ||
| 108 | |||
| 109 | \def\vornamed#1{\gdef\@vornamed{#1}} | ||
| 110 | \def\nachnamed#1{\gdef\@nachnamed{#1}} | ||
| 111 | \def\matrikeld#1{\gdef\@matrikeld{#1}} | ||
| 112 | \def\emaild#1{\gdef\@emaild{#1}} | ||
| 113 | |||
| 114 | % address of department | ||
| 115 | \def\address#1{\gdef\@address{#1}} | ||
| 116 | % LVA-Nr. | ||
| 117 | \def\lvanr#1{\gdef\@aufgabe{#1}} | ||
| 118 | |||
| 119 | \setcounter{footnote}{0} | ||
| 120 | |||
| 121 | % initialize variables | ||
| 122 | \gdef\@headline{Object-Oriented Programming VL} | ||
| 123 | %\gdef\@title{Laborprotokoll} | ||
| 124 | |||
| 125 | \gdef\@vornamea{VStud1} | ||
| 126 | \gdef\@nachnamea{NStud1} | ||
| 127 | \gdef\@matrikela{000000} | ||
| 128 | \gdef\@emaila{e000000@student.tuwien.ac.at} | ||
| 129 | |||
| 130 | \gdef\@vornameb{VStud2} | ||
| 131 | \gdef\@nachnameb{NStud2} | ||
| 132 | \gdef\@matrikelb{000000} | ||
| 133 | \gdef\@emailb{e000000@student.tuwien.ac.at} | ||
| 134 | |||
| 135 | \gdef\@vornamec{VStud3} | ||
| 136 | \gdef\@nachnamec{NStud3} | ||
| 137 | \gdef\@matrikelc{0000000} | ||
| 138 | \gdef\@emailc{e000000@student.tuwien.ac.at} | ||
| 139 | |||
| 140 | \gdef\@aufgabe{zu Aufgabe 1} | ||
| 141 | |||
| 142 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 143 | % | ||
| 144 | % titlepage | ||
| 145 | % | ||
| 146 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 147 | |||
| 148 | \def\maketitle{ | ||
| 149 | \begin{titlepage} | ||
| 150 | |||
| 151 | % enlarge page | ||
| 152 | \setlength{\topmargin}{0pt} | ||
| 153 | \setlength{\headheight}{0pt} | ||
| 154 | \setlength{\headsep}{0pt} | ||
| 155 | \setlength{\footskip}{0pt} | ||
| 156 | |||
| 157 | \let\footnotesize\small \let\footnoterule\relax \setcounter{page}{1} | ||
| 158 | \null | ||
| 159 | \vfill | ||
| 160 | \large | ||
| 161 | \vskip -4 cm | ||
| 162 | |||
| 163 | \begin{center} | ||
| 164 | % heading | ||
| 165 | {\LARGE\bf \@headline \par} \vskip 2cm | ||
| 166 | |||
| 167 | \vskip 1cm | ||
| 168 | |||
| 169 | % title | ||
| 170 | {\LARGE\bf Laborprotokoll \par} | ||
| 171 | \vskip 0.5cm | ||
| 172 | {\Huge\bf \@title \par} | ||
| 173 | \vskip 1cm | ||
| 174 | %{\Large \bf \@aufgabe \par} | ||
| 175 | \vskip 4cm | ||
| 176 | |||
| 177 | \begin{flushright} | ||
| 178 | \@author | ||
| 179 | \vskip 1cm | ||
| 180 | Wien, am~\today{} | ||
| 181 | \end{flushright} | ||
| 182 | \end{center} \par | ||
| 183 | \vskip 1.5cm | ||
| 184 | |||
| 185 | \end{titlepage} | ||
| 186 | |||
| 187 | \setcounter{footnote}{0} | ||
| 188 | \let\thanks\relax | ||
| 189 | } % \def\maketitle | ||
| 190 | |||
| 191 | |||
| 192 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 193 | |||
| 194 | \newenvironment{Ventry}[1]% | ||
| 195 | {\begin{list}{}{\renewcommand{\makelabel}[1]{\textbf{##1:}\hfill}% | ||
| 196 | \settowidth{\labelwidth}{\textbf{#1:}}% | ||
| 197 | \setlength{\leftmargin}{\labelwidth}% | ||
| 198 | \addtolength{\leftmargin}{\labelsep}}}% | ||
| 199 | {\end{list}} | ||
| 200 | |||
| 201 | \newcommand{\tablesize}{\fontsize{8}{10}\selectfont} | ||
| 202 | |||
| 203 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 204 | % | ||
| 205 | % layout of non-title pages | ||
| 206 | % | ||
| 207 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| 208 | |||
| 209 | \pagenumbering{roman} | ||
| 210 | \setlength{\parskip}{5pt plus2pt minus2pt} | ||
| 211 | |||
| 212 | \setlength{\parskip}{1mm} | ||
| 213 | \clearpage | ||
| 214 | \setlength{\parskip}{5pt plus2pt minus2pt} | ||
| 215 | |||
| 216 | \pagestyle{fancy} | ||
| 217 | %\renewcommand{\chaptermark}[1]{\markboth{\thechapter\ #1}{}} | ||
| 218 | \renewcommand{\sectionmark}[1]{\markboth{\thesection\ #1}{}} | ||
| 219 | \addtolength{\headheight}{2pt} | ||
| 220 | |||
| 221 | \pagenumbering{arabic} | ||
| 222 | \setcounter{page} {1} | ||
diff --git a/ue3/protokoll/protokoll.tex b/ue3/protokoll/protokoll.tex new file mode 100644 index 0000000..8b413e7 --- /dev/null +++ b/ue3/protokoll/protokoll.tex | |||
| @@ -0,0 +1,92 @@ | |||
| 1 | \documentclass[12pt,a4paper,titlepage,oneside]{article} | ||
| 2 | \usepackage[utf8]{inputenc} | ||
| 3 | \usepackage{oop_prot} | ||
| 4 | \usepackage{url} | ||
| 5 | \usepackage{pdfpages} | ||
| 6 | \usepackage{booktabs} | ||
| 7 | |||
| 8 | \title{Beispiel 3} | ||
| 9 | |||
| 10 | \author{ | ||
| 11 | Günther Neuwirth, \matrnr 0626638\\ | ||
| 12 | {\small e0626638@student.tuwien.ac.at}\\ | ||
| 13 | Manuel Mausz, \matrnr 0728348\\ | ||
| 14 | {\small manuel-tu@mausz.at}\\ | ||
| 15 | } | ||
| 16 | |||
| 17 | \begin{document} | ||
| 18 | |||
| 19 | % create titlepage | ||
| 20 | \maketitle | ||
| 21 | \tableofcontents | ||
| 22 | \newpage | ||
| 23 | |||
| 24 | %------------------------------------------------------------------ | ||
| 25 | %------------------------------------------------------------------ | ||
| 26 | |||
| 27 | \section{Aufgabenstellung - Beispiel 3} | ||
| 28 | \includegraphics[width=\textwidth,page=1]{../angabe.pdf} | ||
| 29 | \includegraphics[width=\textwidth,page=2]{../angabe.pdf} | ||
| 30 | \includegraphics[width=\textwidth,page=3]{../angabe.pdf} | ||
| 31 | |||
| 32 | %------------------------------------------------------------------ | ||
| 33 | %------------------------------------------------------------------ | ||
| 34 | |||
| 35 | \section{Beispiel 3} | ||
| 36 | |||
| 37 | \subsection{Design}\label{Design} | ||
| 38 | |||
| 39 | Abbildung~\ref{fig:classdiagram1} zeigt das Klassendiagramm der Aufgabe. | ||
| 40 | |||
| 41 | TODO | ||
| 42 | |||
| 43 | %================================================================== | ||
| 44 | \begin{figure}[htb] | ||
| 45 | \begin{center} | ||
| 46 | \epsfxsize=0.9\textwidth\epsfbox{mycpu.png} | ||
| 47 | \end{center} | ||
| 48 | \caption{Klassendiagramm 1} | ||
| 49 | \label{fig:classdiagram1} | ||
| 50 | \end{figure} | ||
| 51 | %================================================================== | ||
| 52 | |||
| 53 | \subsection{Verwaltung der Ressourcen} | ||
| 54 | |||
| 55 | TODO | ||
| 56 | |||
| 57 | \subsection{Fehlerbehandlung} | ||
| 58 | |||
| 59 | TODO | ||
| 60 | |||
| 61 | \subsection{Implementierung} | ||
| 62 | |||
| 63 | TODO | ||
| 64 | |||
| 65 | |||
| 66 | \section{Projektverlauf} | ||
| 67 | |||
| 68 | \subsection{Probleme und Fallstricke} | ||
| 69 | |||
| 70 | TODO | ||
| 71 | |||
| 72 | \subsection{Arbeitsaufwand} | ||
| 73 | |||
| 74 | \begin{tabular}{ll} | ||
| 75 | \toprule | ||
| 76 | Entwicklungsschritt / Meilenstein & Arbeitsaufwand in Stunden\\ | ||
| 77 | \hline | ||
| 78 | TODO & TODO\\ | ||
| 79 | \bottomrule | ||
| 80 | \end{tabular} | ||
| 81 | |||
| 82 | %------------------------------------------------------------------ | ||
| 83 | %------------------------------------------------------------------ | ||
| 84 | |||
| 85 | \newpage | ||
| 86 | \section{Listings}\label{Listings} | ||
| 87 | |||
| 88 | \subsection{mycpu.cpp} | ||
| 89 | \lstinputlisting{../mycpu/mycpu.cpp} | ||
| 90 | |||
| 91 | \end{document} | ||
| 92 | |||
