Robin_PHD/style.tex
2011-02-08 18:56:50 +00:00

183 lines
8.3 KiB
TeX

%
%============= Definition of {asyoulikeit} page style ======================*
%
% Jonathan Burch This is the terse form - expanded, formatted,
% 20-Jan-1989 commented version in TEX$LATEX:ASYOULIKEIT.FULL
%%
%\catcode`\@=11\def\ps@asyoulikeit{\def\@oddhead{\hbox{}\lp@innerhead
%\lp@headfill\lp@middlehead\lp@headfill\lp@outerhead}\def\@evenhead
%{\hbox{}\lp@outerhead\lp@headfill\lp@middlehead\lp@headfill\lp@innerhead}
%\def\@oddfoot{\hbox{}\lp@innerfoot\lp@footfill\lp@middlefoot\lp@footfill
%\lp@outerfoot}\def\@evenfoot{\hbox{}\lp@outerfoot\lp@footfill\lp@middlefoot
%\lp@footfill\lp@innerfoot}\def\sectionmark##1{}\def\subsectionmark##1{}}
%\def\lp@innerhead{}\def\lp@middlehead{}\def\lp@outerhead{}\def\lp@innerfoot{}
%\def\lp@middlefoot{ {\thepage} }\def\lp@outerfoot{}\def\lp@headfill{\hfil}
%\def\lp@footfill{\hfil}\newcommand{\lp@linefill}{\leaders\hrule height 0.55ex
%depth -0.5ex\hfill}\newcommand{\innerhead}[1]{\def\lp@innerhead{#1}}
%\newcommand{\middlehead}[1]{\def\lp@middlehead{#1}}\newcommand{\outerhead}[1]
%{\def\lp@outerhead{#1}}\newcommand{\innerfoot}[1]{\def\lp@innerfoot{#1}}
%\newcommand{\middlefoot}[1]{\def\lp@middlefoot{#1}}\newcommand{\outerfoot}[1]
%{\def\lp@outerfoot{#1}}\newcommand{\lineheadfill}{\def\lp@headfill
%{\lp@linefill}}\newcommand{\linefootfill}{\def\lp@footfill{\lp@linefill}}
%\newcommand{\blankheadfill}{\def\lp@headfill{\hfill}}\newcommand
%{\blankfootfill}{\def\lp@footfill{\hfill}}\newcommand{\documentnumber}[1]
%{\def\lp@docno{#1}\outerhead{\lp@docno}}\def\lp@docno{}\def\@maketitlet
%{\newpage\null\vskip -14ex\hbox{}\hfill\lp@docno\vskip 13ex\begin{center}
%{\LARGE\@title\par}\vskip 1.5em{\large\lineskip .5em\begin{tabular}[t]{c}
%\@author\end{tabular}\par}\vskip 1em{\large\@date}\end{center}\par\vskip 3em}
%\def\abstract{\if@twocolumn\section*{Abstract}\else\small\begin{center}
%{\bf Abstract\vspace{-.5em}\vspace{0pt}}\end{center}\quotation\fi}\def
%\endabstract{\if@twocolumn\else\endquotation\fi}\ps@asyoulikeit\catcode`\@=12
%%
%=========== End of {asyoulikeit} page style definition ====================*
\DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
\DeclareMathSymbol{\N}{\mathbin}{AMSb}{"4E}
\DeclareMathSymbol{\Z}{\mathbin}{AMSb}{"5A}
\DeclareMathSymbol{\R}{\mathbin}{AMSb}{"52}
\DeclareMathSymbol{\Q}{\mathbin}{AMSb}{"51}
\DeclareMathSymbol{\I}{\mathbin}{AMSb}{"49}
\DeclareMathSymbol{\C}{\mathbin}{AMSb}{"43}
\newcommand{\ft}{\ensuremath{4\!\!\rightarrow\!\!20mA} }
% Page layout definitions to suit A4 paper
\setcounter{secnumdepth}{3} \setcounter{tocdepth}{4}
\setlength{\topmargin}{0mm}
\setlength{\textwidth}{160mm} \setlength{\textheight}{220mm}
\setlength{\oddsidemargin}{0mm} \setlength{\evensidemargin}{0mm}
%
% Local definitions
% -----------------
%\newcommand{\eg}{{\it e.g.}}
%\newcommand{\etc}{{\it etc.}}
%\newcommand{\ie}{{\it i.e.}}
%\newcommand{\qv}{{\it q.v.}}
%\newcommand{\viz}{{\it viz.}}
%\newcommand{\degs}[1]{$#1^\circ$} % Degrees symbol
%\newcommand{\mins}[1]{$#1^{\scriptsize\prime}$} % Minutes symbol
%\newcommand{\secs}[1]{$#1^{\scriptsize\prime\prime}$} % Seconds symbol
%\newcommand{\key}[1]{\fbox{\sc#1}} % Box for keys
%\newcommand{\?}{\_\hspace{0.115em}} % Proper spacing for
% % underscore
%\newcommand{\rev}{PA5}
%\newcommand{\etcdoc}{ HR222975 }
%\newcommand{\wlc}{{Water~Level~Controller~Unit}}
%\newcommand{\ft}{{\em 4 $\rightarrow$ 20mA } }
%\newcommand{\tds}{TDS Daughterboard}
\newcommand{\oc}{\ensuremath{^{o}{C}}}
\newcommand{\adctw}{{${\mathcal{ADC}}_{12}$}}
\newcommand{\adcten}{{${\mathcal{ADC}}_{10}$}}
\newcommand{\ohms}[1]{\ensuremath{#1\Omega}}
\newcommand{\fg}{\em functional~group}
\newcommand{\fgs}{\em functional~groups}
\newcommand{\dc}{\em derived~component}
\newcommand{\dcs}{\em derived~components}
\newcommand{\bc}{\em base~component}
\newcommand{\bcs}{\em base~components}
\newcommand{\irl}{in real life}
\newcommand{\enc}{\ensuremath{\stackrel{enc}{\longrightarrow}}}
\newcommand{\pin}{\ensuremath{\stackrel{pi}{\longleftrightarrow}}}
%\newcommand{\pic}{\em pure~intersection~chain}
\newcommand{\pic}{\em pair-wise~intersection~chain}
\newcommand{\wrt}{\em with~respect~to}
\newcommand{\abslevel}{\ensuremath{\Psi}}
\newcommand{\fmmdgloss}{\glossary{name={FMMD},description={Failure Mode Modular De-Composition, a bottom-up methodolgy for incrementally building failure mode models, using a procedure taking functional groups of components and creating derived components representing them, and in turn using the derived components to create higher level functional groups, and so on, that are used to build a failure mode model of a SYSTEM}}}
\newcommand{\fmodegloss}{\glossary{name={failure mode},description={The way in which a failure occurs. A component or sub-system may fail in a number of ways, and each of these is a
failure mode of the component or sub-system}}}
\newcommand{\fmeagloss}{\glossary{name={FMEA}, description={Failure Mode and Effects analysis (FMEA) is a process where each potential failure mode within a SYSTEM, is analysed to determine SYSTEM level failure modes, and to then classify them {\wrt} perceived severity}}}
\newcommand{\frategloss}{\glossary{name={failure rate}, description={The number of failure within a population (of size N), divided by N over a given time interval}}}
\newcommand{\pecgloss}{\glossary{name={PEC},description={A Programmable Electronic controller, will typically consist of sensors and actuators interfaced electronically, with some firmware/software component in overall control}}}
%----- Display example text (#1) in typewriter font
%\newcommand{\example}[1]{\\ \smallskip\hspace{1in}{\tt #1}\hfil\\
% \smallskip\noindent}
%
%----- Enclose text (#2) in ruled box of given thickness (#1)
%\def\boxit#1#2{\vbox{\hrule height #1pt\hbox{\vrule width #1pt\hskip 5pt
% \vbox{\vskip 5pt #2 \vskip 5pt}\hskip 5pt
% \vrule width #1pt}\hrule height #1pt}}
%
%----- Display boxed warning text (#1)
%\def\warning#1{\bigskip
% \setbox1=\vbox{\tolerance=5000\parfillskip=0pt
% \hsize=3in\noindent#1}
% \centerline{\boxit{1.0}{\box1}}
% \bigskip}
%----- Definitions to aid display of help text
% (modelled on \item and \itemitem)
%\def\helpindent#1{\setbox2=\hbox to\parindent{{\it #1}\hfil}
% \indent\llap{\box2}\ignorespaces}
%\def\helpitem{\parindent=70pt\par\hang\helpindent}
%\def\helpitemitem{\parindent=70pt\par\indent \parindent=80pt
%\hangindent2\parindent \helpindent}
%
%----- Tables and footnotes to tables
%
%\newcommand{\spacerA}{\rule{0mm}{4mm}}
%\newcommand{\spacerB}{\rule[-2mm]{0mm}{5mm}}
%\footnotesep=5mm
%\renewcommand{\footnoterule}{{\small Notes:}}
%% Robin 01AUG2008
%%
%\newcounter{examplec}
%\newcounter{definitionc}
%\newcounter{summaryc}
%\@addtoreset{examplec}{chapter}\renewcommand\theexamplec{\thechapter.arabic{examplec}}
%\@addtoreset{definitionc}{chapter}
%\@addtoreset{summaryc}{chapter}
%\renewcommand\examplec{\arabic{examplec}}
%\newenvironment{example}
%{
% \stepcounter{examplec} \vspace{10pt} \normalfont\bfseries Example:\normalfont\[{\arabic{chapter}.\arabic{examplec}}\]
% \normalfont \begin{quote}}{\end{quote}\par}
%\newenvironment{definition}
%\newenvironment{example}
%{
% \stepcounter{examplec} \vspace{10pt} \normalfont\bfseries Example:\normalfont\[{\arabic{chapter}.\arabic{examplec}}\]
% \normalfont \begin{quote}}{\end{quote}\par}
\usepackage{amsthm}
\newtheorem{example}{Example:}
\newtheorem{definition}{Definition:}
\newtheorem*{summary}{Summary:}
%
\newcommand{\Fam}{{\mathbb F}}
\newcommand{\Pow}{{\mathbb P}}
\newcommand{\Dis}{{\vee}}
\newcommand{\Con}{{\wedge}}
\newcommand{\FMEA}{{\bowtie}}
%
\newcommand{\Nat}{{\mathbb N}}
\newcommand{\Real}{{\mathbb R}}
\newcommand{\Complex} {{\mathbb C}}
\newcommand{\Rational} {{\mathbb Q}}
%
%\newenvironment{example}
%{ \stepcounter{examplec} \vspace{10pt} \normalfont\bfseries Example:(\arabic{chapter}.\arabic{examplec})
% \normalfont \begin{quote}}{\end{quote}\par}
%
%\newenvironment{definition}
%{ \stepcounter{definitionc} \vspace{10pt} \normalfont\bfseries Definition:(\arabic{chapter}.\arabic{definitionc})
% \normalfont \begin{quote}}{\end{quote}\par}
%
%\newenvironment{summary}
%{ \vspace{10pt} \normalfont\bfseries Summary:
% \normalfont \begin{quote}}{\end{quote}\par}
%