123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- %
- % defaultcustom.tex
- %
- % HV's default customisations
- %
- % for double sided printing, use book style.
- % for single sided printing, use report style.
- % This mainly has an inpact on the headings.
- %% BEWARE of the order of the following packages !!
- %% A different order may NOT work
- \usepackage{vmargin} % for \setmarginsrb
- %\usepackage[dvips,english,first,light]{draftcopy} % draft versions
- %\usepackage{changebar} % mark changes in margin
- \usepackage{postscript} % HV's elaboration of epsf
- %\usepackage{biomath} % mainly for title page, replace later
- %\usepackage{times} % use Adobe PostScript font
- %\usepackage{newcent} % I like New Century Schoolbook
- %\usepackage{lucidbrb} % Lucida Bright, Lucida Sans, ... used in companion
- %\usepackage{palatino} % Palatino
- \usepackage{pslatex} % use Adobe PostScript font (better than times)
- %\usepackage{newlfont}
- \usepackage[cspex,bbgreekl]{mathbbol} % Blackboard Bold, for mathematical N, R
- \usepackage{pifont} % to include symbols from different fonts (e.g. \rtm)
- \usepackage{eurosym} % for the euro symbol, package by Henrik Theiling
- \usepackage{amssymb} % AMS symbols e.g. \rightleftharpoons
- \usepackage{amstext} % AMS for e.g. \text{}
- \usepackage{lgrind} % for typesetting MSL, Gentle, C, C++, ... code
- %\usepackage{html} % to include HTML
- %\usepackage{tth} % for generating HTML, math included
- %\usepackage[chapter]{algorithm} % algorithm pseudocode
- %\usepackage{algorithmic}% algorithm pseudocode
- %\usepackage{program} % algorithm pseudocode (seems to clash with bibTeX)
- \usepackage{booktabs} % tables as required by journals
- %\usepackage{citesort} % Sorts the numbers for refs. e.g. [2,12,23,45]
- %\usepackage[bf,sf,medium,compact,nops]{titlesec} % nice section titles
- \usepackage[bf,sf,medium,compact]{titlesec} % nice section titles
- \usepackage[grey,utopia]{quotchap} % nice chapter titles/numbers
- % only for report/book style
- \usepackage{fancyhdr} % fancy page headers/footers
- % Modify algorithm package to HV's tastes
- %\renewcommand{\algorithmicrequire}{\textbf{\textsf{Require:}}}
- %\renewcommand{\algorithmicensure}{\textbf{\textsf{Ensure:}}}
- %\renewcommand{\algorithmicend}{\textbf{\textsf{end}}}
- %\renewcommand{\algorithmicif}{\textbf{\textsf{if}}}
- %\renewcommand{\algorithmicthen}{\textbf{\textsf{then}}}
- %\renewcommand{\algorithmicelse}{\textbf{\textsf{else}}}
- %\renewcommand{\algorithmicelsif}{\algorithmicelse\ \algorithmicif}
- %\renewcommand{\algorithmicendif}{\algorithmicend\ \algorithmicif}
- %\renewcommand{\algorithmicfor}{\textbf{\textsf{for}}}
- %\renewcommand{\algorithmicforall}{\textbf{\textsf{for all}}}
- %\renewcommand{\algorithmicdo}{\textbf{\textsf{do}}}
- %\renewcommand{\algorithmicendfor}{\algorithmicend\ \algorithmicfor}
- %\renewcommand{\algorithmicwhile}{\textbf{\textsf{while}}}
- %\renewcommand{\algorithmicendwhile}{\algorithmicend\ \algorithmicwhile}
- %\renewcommand{\algorithmicloop}{\textbf{\textsf{loop}}}
- %\renewcommand{\algorithmicendloop}{\algorithmicend\ \algorithmicloop}
- %\renewcommand{\algorithmicrepeat}{\textbf{\textsf{repeat}}}
- %\renewcommand{\algorithmicuntil}{\textbf{\textsf{until}}}
- %\renewcommand{\algorithmiccomment}[1]{\hfill \{#1\}}
- % to test if in TTH (HTML generation)
- \newif\iftth
- % to have MathBlackboardBold in TeX, Calligraphic in TTH
- \newcommand{\bb}[1]{\iftth\cal{#1}\else\mathbb{#1}\fi}
- % Currently, to fit as much on a page as possible
- %
- \setpapersize{A4} % necessary when using a4paper ?
- \setmarginsrb{1.5cm}{1.5cm}{1.5cm}{1.5cm}{12pt}{25pt}{12pt}{30pt}
- % HV's manual adjustments were
- %\textwidth 16.5cm
- %\textheight 24.2cm
- %\topmargin -1.8cm
- %\oddsidemargin 0.cm
- %% standard scaling factor for included PostScript
- \newcommand{\epsscale}{0.7}
- % HV prefers not to indent paragraphs and skip only a little
- \parindent 0.cm
- \parskip 0.1cm
- % To refer to the section etc. AND to the page,
- % use consistently only when referring into other chapter.
- %
- \newcommand{\fullref}[1]{\ref{#1} on page~\pageref{#1}}
- % Normal itemize takes too much space
- %
- \renewenvironment{itemize}%
- {\begin{list}{$\bullet$}%
- {\setlength{\parsep}{0pt}
- \setlength{\itemsep}{0pt}}}%
- {\end{list}}
- % TM sign
- %\def\rtm{$^{\text{\Pisymbol{psy}{226}}}$} % The ``registered trademark sign''
- %% For formatting semantic definitions
- % HV: keep this or change ?
- %
- \newcommand{\enum}{\ \textbf{enum}\ }
- \newcommand{\myif}{\ \textbf{if}\ }
- \newcommand{\myelse}{\ \textbf{else}\ }
- \newcommand{\defbegin}[1]{\begin{center}{\bf {\sf #1}}\end{center}
- \hrule {\bf {\sf Syntax:}} \vspace{-0.2cm}}
- \newenvironment{semantics}{\vspace{-0.7cm}
- {\bf {\sf Semantics:} \vspace{-0.2cm}}
- \begin{quote}}{\end{quote}}
- \newcommand{\defobject}{\vspace{-0.7cm}{\bf {\sf Object:}
- \vspace{-0.2cm}}}
- \newenvironment{object}{\vspace{-0.7cm}{\bf {\sf Object:}
- \vspace{-0.2cm}}
- \begin{quote}}{\end{quote}}
- \newcommand{\defend}{\hrule}
- %% Miscellaneous preamble information
- \newcommand{\vb}[1]{\verb+#1+}
- \newcommand{\st}[1]{{\em #1\/}}
- \newcommand{\ic}{{\em i.c.,\ }}
- \newcommand{\ie}{{\em i.e.,\ }}
- \newcommand{\eg}{{\em e.g.,\ }}
- \newcommand{\vs}{{\em vs.\ }}
- \newcommand{\cfr}{{\em cfr.\ }}
- \newcommand{\etc}{{\em ,\ etc.\ }}
- % End of File defaultcustom.tex
|