\usepackage{xspace}
\usepackage{fancybox}
\usepackage[dvips]{graphics}
%\usepackage{float}


%%%% Proposal details
\thesistitle{Particles in an Evolving Universe}
\thesisauthor{}%H.~P.~Nilles and P.~Schneider}
\thesisdegree{}%Proposal for ...}
\thesisdate{}%December 2000}
\thesissupervisor{}
\thesisassessor{}

%%%% Hyphenation exceptions
\hyphenation{elec-tro-car-dio-gram elec-tro-car-dio-grams}

%%%% Style definitions
\newcommand{\pn}[1]{\mbox{\textsf{#1}}}                 % Pin name
\newcommand{\pnob}[1]{\ensuremath{\overline{\pn{#1}}}}  % Pin name, overline
\newcommand{\pnm}[3]{\mbox{\pn{#1[#2:#3]}}}             % Pin name (multiple)
\newcommand{\pnmob}[3]{\pnob{\pnm{#1}{#2}{#3}}}         % PN, mult, overline
\newcommand{\pnt}[2]{\mbox{\pn{#1/}\pnob{#2}}}          % Pin name (two)
\newcommand{\vp}[1]{\normalfont\textit{#1}}             % variable param.
\newcommand{\sub}[2]{\mbox{#1\ensuremath%               % subscripts
    {{}_\mathrm{#2}}}}
\newcommand{\addr}[1]{\mbox{#1h}}                       % Hex address
\newcommand{\book}[1]{\textit{#1}}                      % Ref. to book
\newcommand{\cdes}[1]{\mbox{#1}}                        % Comp. designator

\DeclareTextFontCommand{\emph}{\em}                     % Emphasis
\DeclareTextFontCommand{\so}{\bfseries}                 % Stand-out
\DeclareTextFontCommand{\exemph}{\bfseries\em}          % Extra emphasis

%%%% Custom environments
\newenvironment{pindescr}%                      % Pin description env.
    {\begin{description}}%
    {\end{description}}
\newcommand{\iopin}[3]%                         % I/O Pin (item)
    {\item [{#1}] \textbf{#2} (#3)\nopagebreak\par\nopagebreak}
\newcommand{\pin}[2]%
    {\item [{#1}] \textbf{#2}\nopagebreak\par\nopagebreak}
\newcommand{\iopind}[6]%                        % Dual-definition I/O pin
    {\item [{#1}] \textbf{#2} (#3)\nopagebreak%
     \hspace{-\parsep}\hspace{-\itemsep}%
     \item [{#4}] \textbf{#5} (#6)\nopagebreak\par\nopagebreak}


\newenvironment{ctabular}[1]%                   % Centered tabular
    {\par\begin{sspacing}\begin{center}\begin{tabular}{#1}}%
    {\end{tabular}\end{center}\end{sspacing}}

\newenvironment{indented}%                      % Indented on both margins
    {\begin{list}{}{%
        \setlength{\rightmargin}{\leftmargin}}%
        \item[]\ignorespaces}%
    {\unskip\end{list}}

\newenvironment{boxedminipage}%                 % Boxed minipage
    {\begin{Sbox}\begin{minipage}}%
    {\end{minipage}\end{Sbox}\fbox{\TheSbox}}

\newenvironment{ourfigure}%
    {\begin{figure}[!htbp]\begin{center}}%
    {\end{center}\end{figure}}

\newenvironment{ourtable}%
    {\begin{table}[!htpb]\begin{minipage}{\linewidth}\begin{center}}%
    {\end{center}\end{minipage}\end{table}}

%%%% Shortcuts
\newcommand{\num}[2]{\mbox{#1\,#2}}                     % num with units
\newcommand{\res}[2]{\mbox{#1\,#2\ensuremath{\Omega}}}  % #1 #2 ohms resistance
\newcommand{\bit}[1]{\mbox{#1-bit}}                     % #1-bit
\newcommand{\threevolt}{\num{3.3}{V}\xspace}            % 3.3 V
\newcommand{\fivevolt}{\num{5}{V}\xspace}               % 5 V
\newcommand{\pll}[1]{\mbox{#1-PLL}}                     % xxx-PLL
\newcommand{\vpx}{\_\vp{x}}                             % _x

%%%% Symbols
\newcommand{\yes}{\ensuremath{\surd}\xspace}            % Tick mark
\newcommand{\no}{\ensuremath{\times}\xspace}            % Cross mark
\newcommand{\by}{\ensuremath{\times}\xspace}            % XXX x XXX
\newcommand{\bAND}{\ensuremath{\wedge}\xspace}          % Bool. /\
\newcommand{\bOR}{\ensuremath{\vee}\xspace}             % Bool. \/
\newcommand{\becomes}{\ensuremath{\rightarrow}\xspace}  % -->
