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