| 1 |
\documentclass[a4paper]{article} |
| 2 |
\usepackage{lmodern} |
| 3 |
\usepackage{verbatim} |
| 4 |
\usepackage{setspace} |
| 5 |
\makeatletter |
| 6 |
\def\pkginfo#1 #2 #3\relax{% |
| 7 |
\def\filedate{#1}% |
| 8 |
\def\fileversion{#2}% |
| 9 |
} |
| 10 |
\expandafter\expandafter\expandafter\pkginfo\csname [email protected]\endcsname\relax |
| 11 |
\makeatother |
| 12 |
\title{The setspace Package\thanks{Currently maintained by David Carlisle and others at\\\texttt{https://github.com/latex-package-repositories/setspace/issues}}} |
| 13 |
\date{\filedate} |
| 14 |
\author{Geoffrey Tobin\and Robin Fairbairns} |
| 15 |
\begin{document} |
| 16 |
|
| 17 |
\maketitle |
| 18 |
|
| 19 |
Usage: |
| 20 |
|
| 21 |
\begin{verbatim} |
| 22 |
\documentclass[...]{...} |
| 23 |
\usepackage{setspace} |
| 24 |
\end{verbatim} |
| 25 |
|
| 26 |
|
| 27 |
This package (originally based on the \texttt{doublespace} \LaTeX\,2.09 style |
| 28 |
option (package), created by Stephen Page) |
| 29 |
provides commands and environments for doing double and |
| 30 |
one-and-a-half spacing based on the font size. |
| 31 |
|
| 32 |
Single spacing is the default. |
| 33 |
|
| 34 |
The commands \verb|\singlespacing|, \verb|\onehalfspacing|, and |
| 35 |
\verb|\doublespacing|, are for use in the preamble to set the overall |
| 36 |
spacing for the document. If a different spacing is required then |
| 37 |
the \verb|\setstretch{baselinestretch}| command can be used in the |
| 38 |
preamble to set the baselinestretch appropriately. The default |
| 39 |
spacing with this style option is single spacing. |
| 40 |
|
| 41 |
Three environments, \verb|singlespace|, \verb|onehalfspace|, |
| 42 |
and \verb|doublespace|, allow the spacing to be changed |
| 43 |
within the document. Both the \verb|onehalfspace| and |
| 44 |
\verb|doublespace| environments are intended to increase the |
| 45 |
spacing, so the \verb|onehalfspace| environment should not be |
| 46 |
used in a double spaced document. |
| 47 |
|
| 48 |
If an increased spacing different from one-and-a-half or |
| 49 |
double spacing is required then the spacing environment can |
| 50 |
be used. The \verb|spacing| environment takes one argument |
| 51 |
which is the larger baselinestretch to use, e.g.,\\ |
| 52 |
\verb|\begin{spacing}{2.5}|. |
| 53 |
|
| 54 |
\verb|\footins| is adjusted in the same wayas \verb|\parskip|. |
| 55 |
|
| 56 |
|
| 57 |
\clearpage |
| 58 |
\addtolength\textwidth{100pt} |
| 59 |
\addtolength\oddsidemargin{-70pt} |
| 60 |
\setlength\columnseprule{1pt} |
| 61 |
\setlength\columnsep{10pt} |
| 62 |
\twocolumn |
| 63 |
\tiny |
| 64 |
\verbatiminput{setspace.sty} |
| 65 |
|
| 66 |
\end{document} |