%%% ==================================================================== %%% @LaTeX-style-file{ %%% author = "David Carlisle", %%% version = "1.01", %%% date = "26 June 1992", %%% time = "17:22:22 BST", %%% filename = "indentfirst.sty", %%% address = "Computer Science Department %%% Manchester University %%% Oxford Road %%% Manchester %%% England %%% M13 9PL", %%% telephone = "+44 61 275 6139", %%% FAX = "+44 61 275 6236", %%% checksum = "23871 109 455 3811", %%% email = "carlisle@cs.man.ac.uk (Internet)", %%% codetable = "ISO/ASCII", %%% keywords = "LaTeX, indentation, section", %%% supported = "yes", %%% docstring = " %%% %%% indentfirst.sty %%% %%% A LaTeX style option to indent the first paragraph of a section, %%% chapter etc. %%% %%% Documentation requires Mittelbach's doc.sty. %%% %%% The checksum field above was produced by %%% Robert Solovay's checksum utility.", %%% } %%% ==================================================================== % % Version 1.00: 02 January 1991 % Version 1.01: Re-issue for the new doc and docstrip % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %<*x> % This file may be used without modification as a style (.sty) file. % % If you have Mittelbach's doc.sty, this file may be formatted with a % command like: % latex indentfirst.sty % % If you have the Mittelbach/Duchier/Braams docstrip utility, you may % produce a faster loading .sty file. % Rename this file to: indentfirst.doc % Then run this file through *plain* TeX: % tex indentfirst.doc % This should produce the file indentfirst.sty. % If you do not have plain TeX on your system, you can trick LaTeX into % doing the work as follows: % latex \def\fmtname{plain} \input indentfirst.doc % Note that you may need to quote the arguments here to stop your % operating system treating the \ characters incorrectly. % % latex indentfirst.doc % Will produce a typeset version of the documentation, as above. % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\plain{plain}\ifx\fmtname\plain\csname fi\endcsname \def\batchfile{indentfirst.doc} \input docstrip \preamble Do not distribute the stripped version of this file. The checksum in the header refers to the documented version. \endpreamble \generateFile{indentfirst.sty}{t}{\from{indentfirst.doc}{}} \endinput \fi % \ifcat a\noexpand @\let\next\relax\else\def\next{% \documentstyle[doc]{article}\MakePercentIgnore}\fi\next % %\def\eatmodule<#1>{}\eatmodule % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \textwidth=355pt ^^A Allow macrocode text with 72 columns. % \CodelineIndex ^^A Code lines numbered. % \DisableCrossrefs ^^A No Cross references. % \MakeShortVerb{\|} ^^A |\foo| works like \verb+\foo+ % % \title{indentfirst.sty} % \author{D. P. Carlisle} % \date{26 June 1992} % \begin{document} % \maketitle % \begin{abstract} % Make the first line of all sections etc., be indented by the usual % paragraph indentation. This should work with all the standard document % styles. % \end{abstract} % % \begin{macro}{\if@afterindent} % \LaTeX\ uses the switch |\if@afterindent| to decide whether to indent % after a section heading. We just need to make sure that this is always % true. % \begin{macrocode} \let\@afterindentfalse\@afterindenttrue \@afterindenttrue % \end{macrocode} % \end{macro} % \end{document} % \endinput