1 \usepackage[english
]{babel
}
2 \usepackage[utf8
]{inputenc}
3 \usepackage[T1]{fontenc}
5 \usepackage{ae,aecompl
}
8 \usepackage[font=small,labelfont=bf,justification=RaggedRight
]{caption
}
12 \usepackage{pst-gantt
}
14 \usepackage{longtable
}
16 %%\usepackage{hyperref}
18 % Allow better control over tabular environments
20 % Algorithm environment based on algorithmicx.sty.
21 % No need to include algorithmicx
22 % Include algorithm and one of {algpseudocode, algpascal, algc}
23 %\usepackage{algorithmicx} % Do not include algorithmicx
24 \usepackage{algorithm
}
25 \usepackage{algpseudocode
}
26 %\usepackage{algpascal}
33 %\usepackage{LuxiMono}
35 \usepackage[final
]{listings
}
36 \lstloadlanguages{[GNU
]C++,Perl,tcl
}
37 \lstset{language=
[GNU
]C++
}
38 \newcommand{\?
}{\discretionary{/
}{}{/
}}
39 %\newcommand{\liter}[0]{/home/ruf/Lib/Bibl/}
40 \newcommand{\reffig}[1]{\mbox{Figure~
\ref{#1}}}
41 \newcommand{\reftbl}[1]{\mbox{Table~
\ref{#1}}}
42 \newcommand{\refsec}[1]{\mbox{Section~
\ref{#1}}}
43 \newcommand{\refchp}[1]{\mbox{Chapter~
\ref{#1}}}
44 \newcommand{\refapp}[1]{\mbox{Appendix~
\ref{#1}}}
45 \newcommand{\refalg}[1]{\mbox{Algorithm~
\ref{#1}}}
46 \newcommand{\reflst}[1]{\mbox{Listing~
\ref{#1}}}
47 \newcommand{\refeqn}[1]{\mbox{\eqref{#1}}}
49 %%-lpr Note: 'chapters' are defined for 'book's only
50 %%-lpr in articles, we make use of sections only
51 %%-lpr \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
52 \renewcommand{\chaptermark}[1]{\markboth{\thechapter\
#1}{}}
53 \renewcommand{\sectionmark}[1]{\markright{\thesection\
#1}}
55 \fancyhead[LE,RO
]{\bfseries\thepage}
56 \fancyhead[LO
]{\bfseries\rightmark}
57 \fancyhead[RE
]{\bfseries\leftmark}
58 \renewcommand{\headrulewidth}{0.2pt
}
59 \addtolength{\headheight}{0.5pt
}
60 \fancypagestyle{plain
}{%
62 \fancyfoot[C
]{\bfseries \thepage}
63 \fancyhead{}%get rid of headers on plain pages
64 \renewcommand{\headrulewidth}{0pt
} % get rid of the line on plain pages
66 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty
}\cleardoublepage}}
67 % Indent paragraphs by 1em
68 \setlength{\parindent}{1em
}
69 \newcommand{\Appendix}[2][?
]
71 \refstepcounter{section
}
72 \addcontentsline{toc
}{appendix
}
74 \protect\numberline{\appendixname~
\thesection} %1
77 \flushright\large\bfseries\appendixname\
\thesection\par
78 \nohypens\centering#1\par
80 \vspace{\baselineskip}
83 \newcommand\strong[1]{\textbf{#1}}
84 % First occurrence of a key word
85 \newcommand\keyfirst[1]{\textbf{#1}}
86 % Title in an eunmerate environment
87 \newcommand\enumtitle[1]{\textbf{#1}}
88 % Leave one empty line before paragraph
89 \newcommand\largeskip{\vspace{\baselineskip}\noindent}
92 \bibliographystyle{ieeetr
}
94 %\bibliographystyle{alpha}
95 % Add line to table of contents
96 \usepackage[notlot,nottoc,notlof
]{tocbibind
}