Using the float package with SWP/SW
Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word
When LaTeX typesets a document, it places text and graphic objects on the page as pleasingly as possible, taking into consideration line breaks, page breaks, and division headers. Floating objects, which are movable rather than being anchored to a specific location on the page, provide some flexibility during the page layout process. LaTeX can move floating objects around to determine their best placement and final position in the typeset document.
The two typical floating objects in LaTeX are tables and figures; several LaTeX packages define other floating objects. SWP and SW use the figure floating object for graphics that float. Tables that float are created in SWP and SW using the fragment Table - (4x3, floating) or, in Version 3.0, the table4_3 fragment.
The placement of floating objects is determined by placement options. The placement options for each object are simply suggestions to LaTeX, and LaTeX often seems to ignore them, especially the "here" placement option. The float package provides a way to force the placement of a floating object in a specific location.
The "Here" placement option provided in the float package forces LaTeX to place the floating object where it appears in the document file, even if the placement is typographically ill advised. If not enough room remains on the page to hold the floating object, LaTeX moves it to the next page, leaving blank space on the page before. Additional information is available in the documentation for the float package available in the online Help.
The instructions below explain how to use the float package with SWP and SW to force the placement of floating objects in a specific location. The method differs depending on whether you are creating a SW/SWP/SN document, a Portable LaTeX document, or (in Version 5.0) a PDF file. The method used to position floating tables is the same for all document types. Note that if you're using Version 3.0, you must update tcilatex.tex before using the float package.
Forcing the placement of floating graphics where they appear in the document file
For documents saved as SW/SWP/SN Document (*.tex) files
For documents saved as Portable LaTeX (*.tex) files or PDF files
The program doesn't use the file tcilatex.tex when you create a Portable LaTeX file or a PDF file. Therefore, to use the "here" placement option of the float package, you must use a structure similar to the one used by the Table - (4x3, floating) fragment.
Forcing the placement of floating tables where they appear in the document file
If you are using Version 3.0, you must update tcilatex.tex before using the float package. Follow these download instructions only once.
The updated version of tcilatex.tex can be identified by the string TCILATEX Macros for Scientific Word 3.0 <05 August 1998> near the beginning of the file. This string will also appear in the .log file created when LaTeX compiles your document.
Last revised 01/30/06
The information in this frame was created with Scientific WorkPlace.