and Mailing Lists
Search Mackichan Web
SWP & SW
Changing the window size of the TrueTeX Previewer
Version: 3.5, 3.51, & 4.0 - Scientific WorkPlace & Scientific
When the TrueTeX Previewer is started from SWP or SW, the main window appears
maximized. Clicking the restore button minimizes the Previewer's main window,
hiding all but the title bar.
Version 3.5 changed the way the TrueTeX Previewer is launched. In Version 3.0
the Previewer was always launched as a maximized window. In Version 3.5 and
later, it is launched as a normal window, with command line options added to
control the size of the window.
You can change the command line options that determine the window size and
location of the TrueTeX Previewer when it is launched from SWP or SW.
Instructions appear in the TrueTeX readme file that is included when SWP or SW
Viewing the readme file:
Open the document OptionsPackagesLaTeX.tex in the SWSamples directory of your
Move to the section TrueTeX Documentation and click the first link to open the
readme file in the TrueTeX Previewer.
Move to the section entitled Initial Window Sizing (section 16 in Version 3.5;
section 17 in Version 4.0) to find a description of the command line parameter
that controls the initial window size of the TrueTeX Previewer.
Changing the command line options:
In SWP or SW, from the Typeset menu, choose
Choose the Preview Settings tab.
Choose Add/Modify and note the entries in the
Command line to invoke preview driver box. The
default setting for Version 3.5 is
%x %f -i% %I -d 1 1 -1 -1
The portion of the line beginning with -d changes
the window size.
To specify that the Previewer open as a maximized window and to yield a
maximized window when Restore is clicked and prevent the problem with a
minimized window thereafter, set the final portion of the line to
-d 0 0 -1 -1
Don't change any other settings on the line.
To specify that the Previewer open as a maximized window and to create a
640x480 window after clicking Restore, set the final portion of the line to
-d -1 -1 640 480
Note that you can experiment to find a setting that works best for you. For
example, if you have a 1280 x 1024 high-resolution screen, use
-d 0 0 850 -1 to open a window that starts at the
top left corner of your screen, with a width of 850 and a maximum height.
Added 12/07/00; revised 04/29/02
This document was created with Scientific WorkPlace.