How to use the doublespace package
Version: 3.x - Scientific WorkPlace & Scientific Word
When you need to double space a document, you may be unable find a shell document that meets your needs and has double spaced text. Or you may need part of a document to be double spaced and other parts to be single spaced.
If you're using Version 3.0 or earlier of SWP or SW, your document may require that you use the doublespace package as outlined below. If you're using Version 3.5 or later, use the setspace package to change the typeset line spacing.
The line spacing when a document is typeset is determined by the designer of the typeset specification. Some typesetting specifications allow options that change the line spacing, such as options to typeset a document for manuscript or camera-ready appearance. The doublespace package can be used with many typesetting specifications to change the line spacing. The doublespace package will probably not work with Style Editor typesetting styles. Instead make changes to the typesetting style using the Style Editor.
Adding the doublespace package
Changing the spacing inside a document
The doublespace package defines three new environments that can be used to control the spacing inside the body of a document. The new environments are singlespace, onehalfspace and doublespace which provides single spaced text, one and a half spaced text and double spaced text, respectively. The new environments can be used in SW documents by inserting matching encapsulated TeX fields, the first TeX field starting the environment and the second TeX field ending the environment. It is important to use encapsulated TeX fields to avoid having the body of the environment appear in the SW edit window inside a single TeX field. The environments must have matching begin and end macros to prevent a LaTeX error.
To typeset a portion of a document in single space:
Selecting arbitrary line spacing
The doublespace package defines the macro \setstretch that can be used to set arbitrary line spacing when your document is typeset. The change in spacing does not occur until a font change command is used. For example, to select 1.2 line spacing:
Download the sample document ChangingLineSpacing.tex to see examples of the above techniques.
Added 04/28/96; revised 09/11/02
This document was created with Scientific WorkPlace.