Technical Support
Forums and Mailing Lists
Search Mackichan Web

Version 5/5.5

Word Processing
File Issues
Exam Builder
Style Editor
Free Updates
Technical Articles

Scientific Notebook
Support Information

TeXnology links

Document 114

How to add a style created in SW V. 2.01 to SW V. 2.5

Version: 2.x - Scientific WorkPlace & Scientific Word

If you created non-Style Editor styles in SW V. 2.01, you can add them to your SW V.2.5 installation, then create new documents with them in SW V. 2.5. Here's how to do it:

  1. Transfer your style to the SWP25 directory:

    1. Use the Windows File Manager to search for all of the style information files (.cst, .shl, and .sty) in your SW V. 2.01 directory. For example, search for mystyle.*

    2. Copy the .cst and .shl files to the \swp25\styles directory.

    3. In the \swp\tex\macros directory, create a subdirectory called user where you can accumulate your style files.

    4. From the File menu, choose New.

    5. Copy your .sty file to the new \swp\tex\macros\user directory.

  2. From the File menu for SW V. 2.5, choose New.

  3. Select your style from the list in the Predefined Styles dialog box. If your style doesn't appear, you must add an entry to the .lat file for the document type corresponding to your style. You can either

    • Cut and paste the entry from your SW V.2.01 installation, or

    • Create a new entry. If you decide to create a new entry, you should be very familiar with LaTeX and with .lat files. You can find information about .lat files in the document swp25\extras\tchref.tex. Here's how to create an entry:

      1. Determine the document category to which your style belongs: book, article, resume, etc.

      2. Use the Windows File Manager to find the subdirectory corresponding to the document category in the \swp25\styles directory.

      3. Use an ASCII editor to open the .lat file associated with the directory. For example, open in the \swp25\styles\thesisdirectory.

      4. Create an entry for your style according to this model:


        DESCRIPTION=My University Thesis

        DOCSTYLE=[12pt,thmsa,mystyle] {book}






        [MYSTYLE] is a label used by SW

        DESCRIPTION is what appears in the Style field of the Predefined Styles dialog box

        DOCSTYLE is an argument for the \documentstyle command in LaTeX 2.09 files

        SHELLFILE is the shell loaded by SW if you create a new document using this style

        CSTFILE is a configuration required by SW

        DOCCLASS is an argument in the \documentclass command in LaTeX 2e files

        PACKAGES is an argument in the \usepackage command in LaTeX 2e files

      5. Save and close the file.

  4. Restart SW.

    Your style should now be available from the Predefined Styles dialog box.

Added 06/26/96

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
© Copyright 1998 - MacKichan Software, Inc. All rights reserved.