Technical Support
Forums and Mailing Lists
Search Mackichan Web

SWP & SW
Version 5/5.5

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

Scientific Notebook
Support Information
Troubleshooting

TeXnology
BibDB
TeXnology links

Document 165

How to change the space between the rows of a table

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

The program automatically creates space between the rows of tables in your documents, but you can change the distance between rows for a single table or for all tables in the document.

To change the distance between rows for a single table

  1. Place the insertion point immediately before the table.
  2. Insert a TeX field.
  3. In the TeX Field window, enter \renewcommand{\arraystretch}{x} where x is the factor by which you want to multiply the default distance between the rows. For example, the command \renewcommand{\arraystretch}{1.5} will increase the distance between the rows by 50%.
  4. Choose OK.
  5. Place the insertion point immediately after the table.
  6. Insert another TeX field.
  7. In the TeX Field window, enter \renewcommand{\arraystretch}{1} to return to the default.
  8. Choose OK.

NoteYou can apply the increased or decreased row spacing to several subsequent tables by placing the first TeX field before the first table in the series and placing the second TeX field after the last table in the series.

To change the distance between table rows for the entire document

  1. From the Typeset menu, choose Preamble.
    In earlier versions, from the File menu, choose Document Info and then choose the Preamble tab.
  2. In the entry area, enter \renewcommand{\arraystretch}{x} where x is the factor by which you want to multiply the default distance between the rows for all tables in the document.
  3. Choose OK.

Last revised 02/16/06

This document was created with Scientific WorkPlace.



MacKichan Software, Inc. 19689 7th Avenue NE, Suite 183 #238 Poulsbo, WA 98370
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.