Fixed some typos
[git_nutshell_guides.git] / mydoc.sty
blobd781f40b37273fcd39fdee5dc245b5ecb2549861
1 %% This is linuxdoc.sty, for ``Linux Installation and Getting Started''
2 %% Copyright 1993-1994 by Matt Welsh
3 %%
4 %% Based on linuxdoc.sty by Michael K. Johnson, and latex.tex by
5 %% Leslie Lamport.
7 %\typeout{Jonas Documentation Style `foo', version 0.1 <26 Dec 98>}
9 %%% GLOBAL LAYOUT THINGS
12 %\hoffset 0pt
13 %\voffset 0pt
14 %\marginparwidth 0.0cm
15 %\addtolength{\oddsidemargin}{-1.0cm}
16 %\addtolength{\evensidemargin}{-1.0cm}
17 %\addtolength{\textwidth}{1.0 cm}
18 %\addtolength{\textheight}{1 cm}
20 %\textwidth 424pt
21 %\topmargin -0.5 cm
22 %\textheight 646pt
24 %\textheight 8.5 in
25 %\advance\headsep 2 ex
26 %\advance\textheight -2 ex
27 %\renewcommand{\baselinestretch}{1.14}
28 %\addtolength{\parskip}{1.2 ex}
30 %% Titlepage macros:
32 % To use the maketitle{} macro, you need to first do the following:
33 % \title{Title of your masterpiece}
34 % \years{1992, 1993} %or whatever year(s) hold for the copyright
35 % \author{Your N. Here\\Other Name Here, if any}
36 % \abstract{This should be an abstract-like thing for the front of
37 % your masterpiece. It will be set in \sf font, so be aware of
38 % that. In it you may include any information that ought to be on
39 % the title page. It is, in a sense, a mini-introduction. For
40 % drafts, I include instructions here for my proofreaders, but it
41 % will be a real abstract when publically available versions of my
42 % docs come out.}
44 \gdef\@title{}
45 \gdef\title#1{\gdef\@title{#1}}
46 \gdef\@subtitle{}
47 \gdef\subtitle#1{\gdef\@subtitle{#1}}
48 \gdef\@years{}
49 \gdef\years#1{\gdef\@years{#1}}
50 \gdef\@author{}
51 \gdef\author#1{\gdef\@author{#1}}
52 \gdef\@address{}
53 \gdef\address#1{\gdef\@address{#1}}
54 \gdef\@abstract{}
55 \gdef\abstract#1{\gdef\@abstract{#1}}
57 \def\point#1#2#3{\setbox0=\hbox to 0pt{\kern#1truecm%
58 \raise#2truecm\hbox{$#3$}\hss}\ht0=0pt\dp0=0pt\box0}
60 \def\maketitle{\begin{titlepage}%
61 %\point{-4.0}{-23.0}{\includegraphics[scale=13]{MLBG.eps}}
62 \let\footnotesize\small
63 \let\footnoterule\relax
64 \setcounter{page}{1}%
65 \null
66 \vskip 3.0 in
67 \noindent
68 {\huge\sf \@title}\\[-2.0mm]
69 %\vskip 0.5mm
70 \noindent
71 \rule{\textwidth}{0.5mm}\\
72 \mbox{} \hfill \begin{tabular}[t]{r} {\large\bf\sf\@subtitle}\\
73 \end{tabular}\vspace{5.0cm}
74 \begin{center}
75 {\Large\bf\@author} \\[2mm]
76 \@address \\
77 \end{center}
78 %\@years
80 %\vspace{5cm}\noindent
81 \vfill\noindent
82 {\it \@abstract}
83 \end{titlepage}%
84 \setcounter{footnote}{0}%
85 \gdef\@author{}\gdef\@title{}\gdef\@years{}\gdef\@abstract{}
86 \let\maketitle\relax}
88 %\renewcommand\tableofcontents{%
89 % \if@twocolumn
90 % \@restonecoltrue\onecolumn
91 % \else
92 % \@restonecolfalse
93 % \fi
94 % \chapter*{\contentsname
95 % \@mkboth{%
96 % {\sf\contentsname}}{}}%
97 % \@starttoc{toc}%
98 % \if@restonecol\twocolumn\fi