spass und so
[hwmod.git] / spec / ProtocolHeader.sty
index 179b38b9841ee51a6afb9e76c997f8ee19c1e945..85d7d9c01c475f382becd6414a11edf9794f075b 100644 (file)
@@ -16,6 +16,7 @@
 \usepackage{pdflscape}\r
 \usepackage{longtable}\r
 \r
+\newcommand{\mytitle}{Spezifikation für das Design eines Taschenrechners in Hardware}\r
 \hypersetup{%\r
   colorlinks=true,\r
   citecolor=black,\r
   bookmarksnumbered=true,\r
   %pdfauthor={Bernhard Lewurm, Fabian Ehrentraud}, TODO unanonymize\r
   pdfcreator={},\r
-  pdfkeywords={Hardware Modelling, Calculator},\r
+  pdfkeywords={lulz a wannabe hax0r :D search for a real hint fagot},\r
   urlcolor=black,\r
   plainpages=false,\r
   breaklinks=true,\r
-  pdftitle={Specification of a Calculator to be implemented in VHDL}\r
+  pdftitle={\mytitle}\r
 }\r
 \r
 \lstset{ %\r
@@ -73,7 +74,7 @@
   {\LARGE Hardware-Modellierung VL}\r
   ~ \\\r
   ~ \\\r
-  {\Huge \bf Spezifikation für das Design eines Taschenrechners in Hardware}\r
+  {\Huge \bf \mytitle}\r
   \end{center}\r
   ~ \\\r
   ~ \\\r
        \label{Req \arabic{reqcounter}} %this could be done better with a second argument, but that's tiresome to write in the text\r
 }\r
 \r
+\newcounter{tccounter}\r
+\setcounter{tccounter}{0}\r
+\newcommand{\tcc}[1]{\r
+       \mbox{}\\[0.3cm]\r
+       \noindent\r
+       \addtocounter{tccounter}{1}\r
+       \textbf{TC \arabic{tccounter}}: #1\\\r
+       \label{TC \arabic{tccounter}} %this could be done better with a second argument, but that's tiresome to write in the text\r
+}\r
+\r
 \newcommand{\ZE}{\\ \hline}\r
 \newcommand{\THEAD}{\r
        \begin{center}\r