Move WEBMIP_TEX from andy/shelves to main WEBMIP documentation area.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@11593 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
85
Documentation/SupportingDocumentation/WEBMIP_TEX/andy.tex
Normal file
85
Documentation/SupportingDocumentation/WEBMIP_TEX/andy.tex
Normal file
@@ -0,0 +1,85 @@
|
||||
\documentclass{book}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{booktabs}
|
||||
|
||||
\newsavebox{\titleimage}
|
||||
\sbox{\titleimage}{\includegraphics[width=15.98cm]{TitleImage}}
|
||||
|
||||
\newcommand\version{Version unknown}
|
||||
\newcommand{\setversion}[1]{\renewcommand{\version}{Version #1}}
|
||||
|
||||
\newcommand\restriction{}
|
||||
\newcommand{\setrestriction}[1]{\renewcommand{\restriction}{#1}}
|
||||
|
||||
\newcommand\restrictedto{Unrestricted}
|
||||
\newcommand{\setrestrictedto}[1]{\renewcommand{\restrictedto}{Restricted to #1}}
|
||||
|
||||
\newcommand\ouraddress{
|
||||
Advantica \newline
|
||||
Holywell Park \newline
|
||||
Ashby Road \newline
|
||||
Loughborough \newline
|
||||
Leicestershire \newline
|
||||
LE11 3GR \newline
|
||||
United Kingdom
|
||||
}
|
||||
\newcommand{\setouraddress}[1]{\renewcommand{\ouraddress}{#1}}
|
||||
|
||||
\newcommand\customeraddress{Customer address not set}
|
||||
\newcommand{\setcustomeraddress}[1]{\renewcommand{\customeraddress}{#1}}
|
||||
|
||||
\newcommand\customer{Customer not set}
|
||||
\newcommand{\setcustomer}[1]{\renewcommand{\customer}{#1}}
|
||||
|
||||
\makeatletter
|
||||
\def\maketitle{%
|
||||
\null
|
||||
\thispagestyle{empty}%
|
||||
|
||||
\usebox{\titleimage}
|
||||
|
||||
\begin{flushright}
|
||||
|
||||
\begin{tabular}{ p{4.25cm} p{6.75cm} }
|
||||
\version & \@date
|
||||
\\
|
||||
\midrule
|
||||
\multicolumn{2}{c}{
|
||||
\Huge{\@title}
|
||||
}
|
||||
\\
|
||||
\midrule
|
||||
\restriction & \restrictedto
|
||||
\\
|
||||
\end{tabular}
|
||||
|
||||
\end{flushright}
|
||||
|
||||
\vfill
|
||||
\begin{tabular} { p{5.97cm} p{9.47cm}}
|
||||
Prepared for: & Prepared by:
|
||||
\\
|
||||
\customer & \@author
|
||||
\\
|
||||
\customeraddress & \ouraddress
|
||||
\\
|
||||
\end{tabular}
|
||||
\null
|
||||
\clearpage
|
||||
}
|
||||
\makeatother
|
||||
\author{Isidore Ducasse, Comte de Lautr<74>amont}
|
||||
\author{Lautr<EFBFBD>amont}
|
||||
\title{Les Chants de Maldoror}
|
||||
\date{\today}
|
||||
\author{jamie priest}
|
||||
\setversion{0.4}
|
||||
\setcustomer{Martin Hansford}
|
||||
\setcustomeraddress{
|
||||
Somewhere \newline
|
||||
Sometown \newline
|
||||
Here
|
||||
}
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user