blob: 402267495801a54fc8f3c447ee1c804ade62ad3d (
plain)
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
117
118
119
120
121
122
123
124
|
%%
%% This is file `wordlike.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% wordlike.dtx (with options: `package')
%%
%% This is a generated file.
%%
%% Copyright (C) 2003--2006 by Juergen Fenn <juergen.fenn@gmx.de>
%%
%% This file may be distributed and/or modified under the conditions of
%% the latest version of the LaTeX Project Public License. Please see
%%
%% http://www.latex-project.org/lppl.txt
%%
%% for details.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{wordlike}
[2006/03/29 v1.2a simulating word processor layout]
\DeclareOption{msword}{
\setcounter{secnumdepth}{5}%
\setcounter{tocdepth}{5}%
\renewcommand{\@dotsep}{1}
\renewcommand\l@section{\@dottedtocline{1}{0em}{1.5em}}
\renewcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
\renewcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
\renewcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
\renewcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
\renewcommand{\section}{\@startsection%
{section}%
{0}%
{0em}%
{-\baselineskip}%
{0.5\baselineskip}%
{\bfseries\LARGE\sffamily}}%
\renewcommand{\subsection}{\@startsection%
{subsection}%
{1}%
{0em}%
{-\baselineskip}%
{0.5\baselineskip}%
{\bfseries\Large\itshape\sffamily}}%
\renewcommand{\subsubsection}{\@startsection%
{subsubsection}%
{2}%
{0em}%
{-\baselineskip}%
{0.5\baselineskip}%
{\bfseries\Large\itshape\sffamily}}%
\renewcommand{\paragraph}{\@startsection%
{paragraph}%
{3}%
{0em}%
{-\baselineskip}%
{0.5\baselineskip}%
{\normalfont\normalsize\itshape\sffamily}}%
\renewcommand{\subparagraph}{\@startsection%
{subparagraph}%
{4}%
{0.7cm}%
{-\baselineskip}%
{0.5\baselineskip}%
{\normalfont\normalsize\itshape\sffamily}}%
\def\@maketitle{\newpage
\begin{flushleft}%
\let\footnote\thanks%
{\LARGE\bfseries\sffamily \@title \par\medskip}%
{\large\@author\par}%
{\large\@date}%
\end{flushleft}\par\vskip\baselineskip%
\thispagestyle{empty}}%
}
\DeclareOption{basic}{%
\renewcommand{\section}{\@startsection%
{section}%
{0}%
{0em}%
{-\baselineskip}%
{0.5\baselineskip}%
{\bfseries\normalsize}}%
\renewcommand{\subsection}{\@startsection%
{subsection}%
{1}%
{0em}%
{-\baselineskip}%
{0.5\baselineskip}%
{\bfseries\normalsize}}%
\renewcommand{\subsubsection}{\@startsection%
{subsubsection}%
{2}%
{0em}%
{-\baselineskip}%
{0.5\baselineskip}%
{\normalfont\normalsize\itshape}}%
\renewcommand{\paragraph}{\@startsection%
{paragraph}%
{3}%
{0em}%
{-\baselineskip}%
{0.5\baselineskip}%
{\normalfont\small\itshape}}%
\renewcommand{\subparagraph}{\@startsection%
{subparagraph}%
{4}%
{0.7cm}%
{-\baselineskip}%
{0.5\baselineskip}%
{\normalfont\small\itshape}}%
}
\ExecuteOptions{msword}
\ProcessOptions\relax
\RequirePackage[includefoot,margin=2.5cm]{geometry}%
\RequirePackage{mathptmx}%
\RequirePackage[scaled=.90]{helvet}%
\RequirePackage{courier}%
\renewcommand\TeX{TeX}
\renewcommand\LaTeX{LaTeX}
\sloppy%
\endinput
%%
%% End of file `wordlike.sty'.
|