home *** CD-ROM | disk | FTP | other *** search
- //
- // defformat command
- //
-
- /topic DEFFORMAT_COMMAND
-
- /title The /defformat command
- /keywords /defformat;commands
- /browse commands,AUTO
-
- /para \fs40\b\i
- The /defformat command
- /endpara
-
- /para
- The /defformat command has the following syntax:
- /endpara
-
- /para
- /text \b\f3,/defformat format commands
- /endpara
-
- /defformat \sa100 \cf9
-
- /para
- The /defformat command allows you to set the default format for the
- entire document. The format commands can be text formatting commands.
- This format will be applied to all text in the document.
- /endpara
-
- /para
- If the /defformat command is used inside of a /topic then the format
- will only be used for that topic. If there is a document wide format
- a topic format will override the document format. You will notice
- that this topic is a different color from the rest of the topics.
- This was caused using a /defformat command in this topic to change
- the text color. The actual command is given below.
- /endpara
-
- /para
- /text \b,Example:
- /endpara
- /para
- /text \b,/defformat \\cf9
- /endpara
-
- /para \sa100
- Once a /defformat is in place all text in the document will have
- those formatting attributes applied to it. You can, however,
- override the /defformat commands. For example, if you set the
- defformat to the following:
- /endpara
- /para
- \//defformat \\fs20\\cf5
- /endpara
- /para
- This sets the font size to 20 and the foreground color to color
- number 5 for the whole document. Now, if inside a topic you use
- another /defformat command
- /endpara
- /para
- \//topic
- /endpara
- /para
- \//defformat \\fs40
- /endpara
- /para
- \//endtopic
- /endpara
- /para
- You will override the document font size of 20 with a font size of
- 40, but since you did not change the foreground color it will remain
- color 5.
- /endpara
- /para
- Using this information it is possible to lay out your /defformat
- so as to make your help writing as easy as possible. If most of
- your paragraphs in a topic need a space of 100 after them but some
- need as space of 0, set your /defformat in the topic as follows:
- /endpara
- /para
- \//defformat \\sa100
- /endpara
- /para
- Now on the paragraphs that need 0 space do the following:
- /endpara
- /para
- \//para \\sa000
- /endpara
- /para
- \//endpara
- /endpara
- /para
- This will cause this single paragraph to have no spacing after it,
- which is just what we wanted.
- /endpara
-
- /endtopic
-