summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/wordlike/wordlike.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-14 21:52:07 +0000
committerKarl Berry <karl@freefriends.org>2006-07-14 21:52:07 +0000
commit78bb17189d05eb1f71a875a048ddc243c2656a73 (patch)
treeb51b70091b7abbe8dde2e114ce98ad3acb15e037 /Master/texmf-dist/tex/latex/wordlike/wordlike.sty
parent0a88b25c4430c293dc408f710feb992f29bd338a (diff)
new package wordlike 1.2a (30mar06)
git-svn-id: svn://tug.org/texlive/trunk@1835 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/wordlike/wordlike.sty')
-rw-r--r--Master/texmf-dist/tex/latex/wordlike/wordlike.sty124
1 files changed, 124 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/wordlike/wordlike.sty b/Master/texmf-dist/tex/latex/wordlike/wordlike.sty
new file mode 100644
index 00000000000..40226749580
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/wordlike/wordlike.sty
@@ -0,0 +1,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'.