From 78bb17189d05eb1f71a875a048ddc243c2656a73 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 14 Jul 2006 21:52:07 +0000 Subject: new package wordlike 1.2a (30mar06) git-svn-id: svn://tug.org/texlive/trunk@1835 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/wordlike/wordlike.sty | 124 ++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/wordlike/wordlike.sty (limited to 'Master/texmf-dist/tex/latex/wordlike') 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 +%% +%% 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'. -- cgit v1.2.3