Document 736

Marking changes in your text

Version: 5.5 - Scientific WorkPlace & Scientific Word

Use the ulem package to indicate additions and deletions in your text (a type of markup known as legislative format) and produce typeset copy in marked up or final form.

1. Marking your text

Two tags defined for the package—Added text and Deleted text—show one level of added or deleted text. The tags don't appear by default on the Text Tag popup list, so after you add the ulem package to your document, follow these steps to display and use them:

  1. From the Tag menu, choose Appearance.

  2. Select the text tag name from the Tags group, select Behavior from the Tag Properties group, and choose Modify.

  3. Turn on the check box marked Show in Tag Bar List and choose OK.

  4. Choose Save or OK, depending on when you want the tags to be available.

  5. Select the text you want to delete and apply the Deleted text tag.

    or

    Apply the Added text tag and then type the information you want to add.

2. Saving your document

Modify the preamble of your document before you save.

  • Saving as an SWP/SW/SN Document

    Add these commands to the end of the document preamble after the line \input{tcilatex}:

    \newif\ifLegislativeFormat\LegislativeFormattrue

    \def\QQQuline#1{\ifLegislativeFormat{\uline{#1}}\else{#1}\fi}

    \def\QQQsout#1{\ifLegislativeFormat{\sout{#1}}\else\relax\fi}

    \LegislativeFormatfalse

  • Saving as a Portable LaTeX file

    Add these commands to the end of the document preamble:

    \newif\ifLegislativeFormat\LegislativeFormattrue

    \let\QQQuline\uline

    \let\QQQsout\sout

    \def\uline#1{\ifLegislativeFormat{\QQQuline{#1}}\else{#1}\fi}

    \def\sout#1{\ifLegislativeFormat{\QQQsout{#1}}\else\relax\fi}

    \LegislativeFormatfalse

3. Typesetting your document

You can switch between typesetting in legislative and final format by changing the command at the end of the document preamble:

  • To typeset in legislative format, with markups showing, use the command \LegislativeFormattrue.

  • To typeset in final format, with no markups showing, use the command \LegislativeFormatfalse.

You can also turn markups on and off throughout the typeset document by entering the commands in TeX fields at appropriate places in your document.

Added 01/15/07

This document was created with Scientific WorkPlace.