1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
%%
%% This is a LaTeX style package for technical documents.
%% Version 1.0 Joachim Nilsson <crash@vmlinux.org>
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
%% in directory macros/latex/base/lppl.txt; either version 1 of the
%% License, or any later version.
%%
%%
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{technics}[2001/09/30]
% The following four rows are neccesary to be able to use Swedish.
\usepackage{a4wide} % A4 dimensions
\usepackage[T1]{fontenc} % Output of Latin 1 fonts.
%\usepackage[swedish]{babel} % Swedish t.o.c. and other stuff.
\usepackage[latin1]{inputenc} % Understand the ISO Latin 1 key set (eg. )
\usepackage{calc}
\usepackage{setspace}
\usepackage{multicol}
\usepackage{hyperref}
\usepackage{graphics}
\usepackage{fancyhdr}
% Font setting.
%\usepackage{bookman}
%\usepackage{helvetic} % Original, default, font.
%\usepackage{chancery}
\usepackage{times}
%\usepackage{utopia}
%\usepackage{garamon}
%\usepackage{newcent}
%\addtolength{\headheight}{10pt}
%\renewcommand{\headheight}{14.0pt}
\pagestyle{fancy}
%\pagestyle{plain}
%\addtolength{\headheight}{\baselineskip}
%\addtolength{\headheight}{\baselineskip}
%\addtolength{\headheight}{\baselineskip}
%\addtolength{\headheight}{\baselineskip}
%\addtolength{\headheight}{\baselineskip}
%\addtolength{\headheight}{\baselineskip}
%\addtolength{\headheight}{\baselineskip}
%\addtolength{\headheight}{\baselineskip}
%\renewcommand{\headrulewidth}{0pt}
%\renewcommand{\footrulewidth}{0pt}
%\addtolength{\headwidth}{\marginparsep}
%\addtolength{\headwidth}{\marginparwidth}
%\renewcommand{\sectionmark}[1]{\markboth{#1}{}}
%\renewcommand{\subsectionmark}[1]{\markright{#1}}
% Paragraph indentation
\setlength{\parindent}{1em}
%\setlength{\voffset}{5mm}
%\setlength{\topskip}{5mm}
%\setlength{\topmargin}{0.0in}
%\addtolength{\topmargin}{-\headheight} % No header, so compensate
%\addtolength{\topmargin}{-\headsep} % for header height and separation
%\hoffset=0cm
\setlength{\headheight}{41mm}
%\setlength{\headsep}{1cm}
%%\headwidth=20cm
\addtolength{\textheight}{-30mm}
\addtolength{\footskip}{10mm}
%\thispagestyle{fancy}
\newlength{\mywidth}
\setlength{\mywidth}{(\textwidth/2) - 5mm}
\newcommand{\doctitle}{Lord of the Rings}
\newcommand{\preparedby}{Christopher Tolkien}
\newcommand{\approvedby}{J.R.R. Tolkien}
\newcommand{\copyrightyear}{1973}
\newcommand{\companyname}{Fellowship of the Ring}
\newcommand{\companylogo}{the-one.eps}
\lhead{
\begin{tabular}{ll}
\begin{minipage}[b]{\mywidth}
\includegraphics{\companylogo}
\end{minipage} & \begin{minipage}[b]{\mywidth}
\scriptsize Internal information \normalsize \\
\normalsize \companyname
\end{minipage} \\
& \\
\end{tabular}
\begin{tabular}{|p{\mywidth}|p{\mywidth}|} \hline
\scriptsize Prepared by & \scriptsize Document \\
\normalsize \preparedby & \normalsize \doctitle \\ \hline
\scriptsize Approved by & \scriptsize Date \\
\normalsize \approvedby & \normalsize \today \\ \hline
\end{tabular}
}
\chead{}
\rhead{}
%\lfoot{\copyright \copyrightyear \companyname}
%\cfoot{}
%\rfoot{\thepage}
\fancyfoot[LO]{\copyright\ \copyrightyear\ \companyname}
\fancyfoot[RE]{\copyright\ \copyrightyear\ \companyname}
\fancyfoot[RO]{\thepage}
\fancyfoot[C]{}
\fancyfoot[LE]{\thepage}
\renewcommand{\footrulewidth}{0.4 pt}
\renewcommand{\headrulewidth}{0.0 pt}
\endinput
|