Technical Support
Forums and Mailing Lists
Search Mackichan Web

SWP & SW
Installation
Word Processing
Computations
Typesetting
File Issues
Graphics
Exam Builder
Style Editor
Other
Free Updates
Technical Articles

Scientific Notebook
Support Information
Troubleshooting

SWP & SW V2.5
Technical Index
Technical Articles

TeXnology
BibDB
TeXnology links

Document 371

How to change the typeset line spacing

Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

If the document class for your document doesn't include options that change the line spacing, use the LaTeX setspace package to specify single, one-and-one-half, or double spacing. (Note that some shells and some documents created with older versions of SWP and SW may require the doublespace package, now superseded by setspace.)

If your document was created with a Style Editor shell, these packages probably won't work. Instead, make any necessary line spacing changes to the typesetting specifications using the Style Editor.

Changing the line spacing of the entire document:

  1. Add the setspace package to your document.
  2. If you're using Version 4.0 and later,
    1. On the Typeset toolbar, click the Options and Packages button Options and Packages button or, from the Typeset menu, choose Options and Packages.
    2. Choose the Package Options tab.
    3. From the Packages in Use box, select setspace and choose Modify.
    4. In the Category box, select Line Spacing.
    5. In the Options box, select the spacing you want.
    6. Choose OK twice to return to your document.

    or

    If you're using an earlier version of the program,

    1. From the Typeset menu, choose Preamble.
    2. Click the mouse in the entry area.
    3. On a new line at the end of the entries, type the command that corresponds to the spacing you want: \singlespacing, \onehalfspacing, or \doublespacing.
    4. Choose OK.

Changing the line spacing for a portion of a document:

  1. Add the setspace package to your document.
  2. Place the insertion point at the start of the first paragraph whose spacing you want to change.
  3. Enter a TeX field.
  4. In the entry area,
    • Type \singlespacing, \onehalfspacing, or \doublespacing, depending on the spacing you want.

    or

    • Type \setstretch{x} where x is a number indicating the spacing you want.

      For example, the command \setstretch{3} produces triple spacing.

  5. Choose OK.
  6. Place the insertion point where you want to return to the original spacing.
  7. Repeat steps 3-5.

Last revised 02/15/06

This document was created with Scientific WorkPlace.



MacKichan Software, Inc. 19307 8th Avenue, Suite C Poulsbo, WA 98370-7370
Phone: 360-394-6033 Toll-free: 877-724-9673 Fax: 360-394-6039

Please email comments and suggestions regarding this site to webmaster@mackichan.com.
© Copyright 1998 - MacKichan Software, Inc. All rights reserved.