dipl/preamble.tex

62 lines
1.2 KiB
TeX

\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{url}
\usepackage{listings}
\lstdefinelanguage{customvhdl}[]{VHDL}{
morekeywords=[2]{std_logic, std_logic_vector, natural, integer, bit, string},
}
\lstdefinestyle{default}{
showstringspaces=false,
tabsize=4,
belowcaptionskip=1\baselineskip,
basicstyle=\footnotesize\ttfamily,
keywordstyle=\bfseries\color{green!40!black},
commentstyle=\itshape\color{purple},
stringstyle=\color{orange},
breaklines=true,
xleftmargin=\parindent,
numbers=left,
title=\lstname,
}
\lstdefinestyle{vhdlstyle}{
style=default,
language=customvhdl,
keywordstyle=[2]\bfseries\color{blue!80!white},
backgroundcolor=\color{lightgray!20},
frame=lrtb,
}
\lstset{
style=vhdlstyle,
}
\usepackage{titling}
\usepackage{graphicx}
\usepackage{lastpage}
\usepackage{datetime}
\yyyymmdddate
\renewcommand{\dateseparator}{-}
\usepackage{fancyhdr}
\usepackage{pst-uml}
\setlength{\hoffset}{30mm-1in}
\setlength{\oddsidemargin}{0pt}
\setlength{\textwidth}{\paperwidth-60mm}
\addtolength{\textheight}{5em}
\setlength{\headwidth}{\textwidth}
\setlength{\topmargin}{0pt}
\addtolength{\voffset}{-1em}
\setlength{\parindent}{0px}
\setlength{\parskip}{1em}
\usepackage{footnote}
% loaded last
\usepackage{hyperref}