src: source code update und trennen von asm und c code
[calu.git] / 2_isa / common.sty
1 \usepackage{graphicx}
2 \usepackage{amsmath}
3 \usepackage{hyperref}
4 \usepackage{url}
5 \usepackage{color}
6 \usepackage[latin1]{inputenc}
7 \usepackage{listings}
8 %\usepackage{ngerman}
9
10 \usepackage{longtable}
11
12 %used for coloring of instr.
13 \usepackage{colortbl}
14
15 \definecolor{title}{rgb}{0.86,0.86,0.86}
16 \definecolor{bit}{rgb}{0.8,0.86,0.8}
17 \definecolor{bitval}{rgb}{0.8,0.8,0.8}
18 \definecolor{names}{rgb}{0.86,0.93,0.86}
19
20 \arrayrulecolor{black}
21
22
23 % put footnotes below floats
24 % this is a good idea if the table for the cmp looks bad on top of page
25 \usepackage{fnpos}
26 \makeFNbelow
27
28
29 \lstset{%
30 basicstyle=\footnotesize,
31 frame=single,
32 breaklines=true,
33 tabsize=4
34 }
35
36 \newcommand{\insertemail}[1]{\href{mailto:#1}{#1}}
37
38 \newcommand{\longcomment}[1]{}
39
40 \newcommand{\addauthor}[3]{
41         #1 {\small (#2)}\\{\small\insertemail{#3}}
42 }
43
44 \newcommand{\todo}[1]{
45         \large\textcolor{red}{TODO: #1}
46 }
47
48 \newcommand{\allauthors}{
49         \author{
50                 \addauthor{Markus Hofst\"atter}{0725034}{markus.manrow@gmx.at}\and
51                 \addauthor{Martin Perner}{0725782}{e0725782@student.tuwien.ac.at}\and
52                 \addauthor{Stefan Rebernig}{0726283}{stefan.rebernig@gmail.com}\and
53                 \addauthor{Manfred Schwarz}{0725898}{e0725898@student.tuwien.ac.at}\and
54                 \addauthor{Bernhard Urban}{0725771}{lewurm@gmail.com}
55         }
56 }