summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/technics
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:08:44 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:08:44 +0000
commit53e8b76796a29c3ebae097385bfb91082d98da8a (patch)
tree690bb1150836b6066520d18b3512752084394528 /Master/texmf-dist/tex/latex/technics
parentb4674dbc18c1f9728eedd11f84e377ae11559944 (diff)
technics
git-svn-id: svn://tug.org/texlive/trunk@1375 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/technics')
-rw-r--r--Master/texmf-dist/tex/latex/technics/technics.sty116
1 files changed, 116 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/technics/technics.sty b/Master/texmf-dist/tex/latex/technics/technics.sty
new file mode 100644
index 00000000000..14b42e3aa16
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/technics/technics.sty
@@ -0,0 +1,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
+