Document 549

Modifying the document class options

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

You can override the document class option defaults set by the document shell by modifying the class options, which may be the easiest way to make the typesetting changes you need. Modifying the options is fast and easily reversed if it doesn't have the effect you want. If the shell you choose produces nearly the typesetting results you want, try modifying the class options before you attempt more complex modifications. Don't modify the shell itself; instead, save any modifications in a new shell.

If no options are listed when you try to modify the document class, you can go native, or add LaTeX commands to force the program to use a given option. When you typeset your document, the program passes the information directly to LaTeX for processing. If you enter incorrect commands, LaTeX may not be able to typeset your document and you can damage your document beyond repair.

Note Be careful to enter commands correctly. Incorrect commands can cause LaTeX to fail and may damage your document permanently.

How to modify the class options

  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 Class Options tab and then choose Modify.

  3. In the Category box, scroll the list to select the category you want to modify.

  4. In the Options box, select the option you want and then choose OK.

  5. If you want to add class options that aren't listed, choose Go Native, enter the command for the option you want, and choose OK.

  6. Choose OK.

  7. Save your document and typeset preview it.

LaTeX interprets the class options according to the typesetting instructions in the .cls file for the document class. Some class options can take precedence over other instructions, such as those specified in packages; other class options may be ignored when certain packages are in use. In other words, although you may specify certain class option settings, LaTeX may ignore them. Document classes and packages don't always interact smoothly. If you're making extensive modifications, you may find that you must proceed by trial and error as you experiment with the various sets of specifications and learn how they interact.

Last revision 08/17/05

This document was created with Scientific WorkPlace.