2 language=vhdl, % choose the language of the code
3 basicstyle=\footnotesize, % the size of the fonts that are used for the code
4 numbers=left, % where to put the line-numbers
5 numberstyle=\footnotesize, % the size of the fonts that are used for the line-numbers
6 stepnumber=1, % the step between two line-numbers. If it's 1 each line will be numbered
7 numbersep=5pt, % how far the line-numbers are from the code
8 backgroundcolor=\color{white}, % choose the background color. You must add \usepackage{color}
9 showspaces=false, % show spaces adding particular underscores
10 showstringspaces=false, % underline spaces within strings
11 showtabs=false, % show tabs within strings adding particular underscores
12 %frame=single, % adds a frame around the code
13 tabsize=2, % sets default tabsize to 2 spaces
14 captionpos=b, % sets the caption-position to bottom
15 breaklines=true, % sets automatic line breaking
16 breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
17 escapeinside={\%*}{*)}, % if you want to add a comment within your code
18 prebreak={\space\hbox{\ensuremath\hookleftarrow}}
22 \newcommand{\MakeTitleAndTOC}{
23 %-------------------------------------------------------------------------
25 %-------------------------------------------------------------------------
31 {\LARGE Hardware-Modellierung VL}
34 {\Huge \bf Spezifikation f\"ur das Design eines Taschenrechners\\in Hardware}
41 {\large Gruppe: Nr. 20}
44 {\large Fabian Ehrentraud, MatrNr. 0725639, KNZ: 033 535}\\
45 {\small werteplus@gmail.com} \\
47 {\large Bernhard Urban, MatrNr. 0725771, KNZ: 033 535} \\
48 {\small lewurm@gmail.com} \\
58 %-------------------------------------------------------------------------
59 % print table of contents
60 %-------------------------------------------------------------------------
68 \newcommand{\mc}[1]{ {{\small \texttt{#1}}}}
69 %%footnote hack von http://bushednotes.wordpress.com/2007/03/25/footnotes-tabular-in-latex/
70 \newcounter{myfootertablecounter}
72 \newcommand\myfootnotemark{%
73 %\refstepcounter{footnote}%
74 \addtocounter{footnote}{1}%
75 \footnotemark[\thefootnote]%
78 \newcommand\myfootnotetext[1]{%
79 \addtocounter{myfootertablecounter}{1}
80 \footnotetext[\value{myfootertablecounter}]{#1}
83 % from now on, myfootnote has to be used rather than footnote to
84 % adapt the myfootercounter
85 \newcommand\myfootnote[1]{%
86 \addtocounter{myfootertablecounter}{1}