Previous | Contents | Index |
The following is an example of stacked lists with braces used within a table. The <LIST> tags are indented simply as an aid for visually checking the nesting of tags.
#10 |
---|
<TABLE> <TABLE_SETUP>(2\20) <TABLE_HEADS>(Items\Description) <TABLE_ROW>(<LIST>(stacked\braces) <LE>one <LE>two <LE>three <ENDLIST>\Stacked in a table.) <TABLE_ROW>(Another item\<LIST>(stacked\braces) <LE>one <LE>two <LE>three <ENDLIST>) <TABLE_ROW>(This is the last item\) <ENDTABLE> |
This example produces the following output:
Items Description
- one
- two
- three
Stacked in a table. Another item
- one
- two
- three
This is the last item The following is an example of an unnumbered list.
#11 |
---|
<P>To create a system that more closely suits the requirements of your site, you can do any of the following: <LIST>(UNNUMBERED) <LE>Select a default bootstrap command procedure <LE>Modify system parameters for special hardware configuration needs or special workload requirements <LE>Perform other site-specific modifications <ENDLIST> |
This example produces the following output:
To create a system that more closely suits the requirements of your site, you can do any of the following:
- Select a default bootstrap command procedure
- Modify system parameters for special hardware configuration needs or special workload requirements
- Perform other site-specific modifications
The following is an example of how you can specify a character other than a bullet to label each list element.
#12 |
---|
<P>To create a system that more closely suits the requirements of your site, you can do any of the following: <LIST>(UNNUMBERED\+) <LE>Select a default bootstrap command procedure <LE>Modify system parameters for special hardware configuration needs or special workload requirements <LE>Perform other site-specific modifications <ENDLIST> |
This example produces the following output:
To create a system that more closely suits the requirements of your site, you can do any of the following:
- Select a default bootstrap command procedure
- Modify system parameters for special hardware configuration needs or special workload requirements
- Perform other site-specific modifications
Allows you to specify text that contains words in angle brackets that might otherwise be interpreted as tags.
<LITERAL> (literal text)
or<LITERAL>
literal text
.
.
.
<ENDLITERAL>
literal text
Specifies the literal text to be output exactly as you code it.
Do not nest a <LITERAL> tag within another <LITERAL> tag.
<ENDLITERAL> ---Required if you do not specify an argument to the <LITERAL> tag.
The <LITERAL> tag allows you to specify text that contains words in angle brackets that might otherwise be interpreted as tags.
The following example shows how to use the <LITERAL> and <ENDLITERAL> tags.
#1 |
---|
<P> I have experimented with my own method for noting questionable phrases, by placing <LITERAL><NOTE_PROBLEM><ENDLITERAL> near the phrase. |
This example produces the following output:
I have experimented with my own method for noting questionable phrases, by placing <NOTE_PROBLEM> near the phrase.
The following example shows how to use the <LITERAL>(literal text) tag.
#2 |
---|
<P> I've experimented with my own method for noting questionable phrases, by placing <LITERAL>(<NOTE_PROBLEM>) near the phrase. |
This example produces the same output as the first example.
Labels text that you want to appear as lowercase in the final output.
<LOWERCASE> (text)
text
Specifies the text to appear in lowercase.
- <UPPERCASE>
DESCRIPTION
The <LOWERCASE> tag labels text that you want to appear as lowercase in the final output. In your book, you may have a text element, such as a heading, that normally appears in uppercase. For example, in some doctypes, first-level headings use all uppercase letters. If you need to overcome the default case in one of your tags and ensure that the result in the final output appears in lowercase, use this tag.
Example
The following example shows how to use the <LOWERCASE> tag. Assume that the doctype being used causes the <HEAD2> tag to output a heading that is in uppercase, no matter what the case of the text passed to it.
<HEAD2>(HeRe iS aN ExAmPlE oF <LOWERCASE>(lOwErCaSe) tExT)The example produces the following output:
HERE IS AN EXAMPLE OF lowercase TEXT
The default to uppercase letters causes the heading to be uniformly uppercase, with the exception of the text used in the argument to the <LOWERCASE> tag.
<MARK>
Indicates the beginning of new or modified information.
Format
<MARK>
ARGUMENTS
None.
- <REVISION>
- <UPDATE_RANGE>
Valid only in the context of a <REVISION> tag.Both the <MARK> and <ENDMARK> tags must be within the code for a stacked list (using the <LIST>(stacked) tag) if you want change bars in a stacked list.
<MARK> tags within the arguments to the following tags must be terminated within the argument by the <ENDMARK> tag.
- <APPENDIX>, <CHAPTER>, <EXAMPLE>, <FCMD>, <FIGURE>, <FPARMS>, <FOOTNOTE>, <GLOSSARY>, <HEADN>, <REVISION_INFO>, <TABLE>, and <TITLE> when used within the context of a <PART_PAGE> tag
Using <MARK> and <ENDMARK> within the arguments to all these tags, (except for <FCMD>, <FPARMS>, <FOOTNOTE>, and <REVISION_INFO>), create change bars in the table of contents.- The following SOFTWARE doctype tags: <COMMAND>, <COMMAND_SECTION>, <ROUTINE>, <ROUTINE_SECTION>, <STATEMENT>, <STATEMENT_SECTION>, <SUBCOMMAND>, <SUBCOMMAND_SECTION_HEAD>, <SDML_TAG>, and <TAG_SECTION>
<ENDMARK>
The <MARK> tag indicates the beginning of new or modified information. The <MARK> tag, along with the <ENDMARK> tag, must be enabled by the <REVISION> tag in order to produce vertical bars in the margin of the document (and optionally, in the table of contents---see the RESTRICTIONS section), as well as in MAIL, TERMINAL, and LINE output.Make sure to place the <MARK> and <ENDMARK> tags next to the text they mark, without preceding or following the text with other tags. The text formatter interprets the <MARK> tag based on the last text character encountered before the <MARK> tag.
In the following example, the first paragraph is the original and the second paragraph is the modified version that shows how to use the <MARK> and <ENDMARK> tags.
<P> The following characters are legal in MACRO-11 source programs: <LIST>(UNNUMBERED) <LE>The letters A through Z. Both upper- and lowercase letters are acceptable, although, upon input, lowercase letters are converted to uppercase. <LE>The digits 0 through 9. <LE>The characters period <PARENDCHAR>(.) and dollar sign <PARENDCHAR>($). These characters are reserved for use as Digital Equipment Corporation system program symbols. <ENDLIST> |
The output for the original paragraph and the modified paragraph follows:
The following characters are legal in MACRO-11 source programs:
- The letters A through Z. Both upper- and lowercase letters are acceptable, although, upon input, lowercase letters are converted to uppercase.
- The digits 0 through 9.
- The characters period (.) and dollar sign ($). These characters are reserved for use as Digital Equipment Corporation system program symbols.
The following characters are legal in MACRO-11 source programs:
- The letters A through Z. Both upper- and lowercase letters are acceptable, although, upon input, lowercase letters are converted to uppercase.
- Characters in the Digital Multinational Character Set (MCS). A chart showing the MCS is located in Appendix A, with a list of directives that support the MCS.
- The digits 0 through 9.
- The characters period (.) and dollar sign ($). These characters are reserved for use as Digital Equipment Corporation system program symbols.
Labels a short mathematical expression or the beginning of an extended mathematical example.
<MATH> (
)
- math expression
- DISPLAY[\symbol name]
math expression
Specifies a mathematical expression that you want to include in the text of a sentence or paragraph.DISPLAY
This keyword specifies that a mathematical equation or expression that is longer than one line is to be set off from the surrounding text. If you use DISPLAY, you must use the <ENDMATH> tag to terminate the display.symbol name
This is an optional argument. It specifies a symbol name by which a mathematical equation that is longer than one line is to be referenced. If you specify this argument, the equation is assigned a number and the number is printed to the right of the equation.Symbol names must not exceed 31 characters and must only contain alphabetic letters, numbers, or underscores. Do not begin a symbol name with an underscore.
- <CODE_EXAMPLE>
- <MATH_CHAR>
- <REFERENCE>
You cannot use mathematical examples that are longer than one line in the context of a <TABLE> or an <EXAMPLE> tag.Invalid in the context of a <HEADN> tag.
Invalid in the context of a <FOOTNOTE> tag.
Invalid in the context of a <FORMAT> tag.
You cannot use tab characters and carriage returns for space in the context of a <MATH> tag.
The set of tags valid within a mathematical expression is limited to those listed in the tables in the following DESCRIPTION section.
<ENDMATH> ---Required if you specify the DISPLAY argument to the <MATH> tag.
The <MATH> tag labels a short mathematical expression or the beginning of an extended mathematical example. Within an argument to the <MATH> tag or within the bounds of the <MATH>(DISPLAY)...<ENDMATH> tags, you can specify simple or complex mathematical expressions, according to the rules outlined below. The context in which you enter text and tags within a mathematical expression is severely restricted.In a mathematical expression, all formatting is controlled by the text processor. When you use the DISPLAY keyword, the output will be offset from the surrounding text, but you do not have any control over its positioning. Furthermore, blank spaces and carriage returns are ignored; the text processor assumes that all text strings are mathematical variable names and makes all decisions regarding the output formatting.
Most of the tags valid in math do not accept arguments. Parentheses, however, are frequently used in mathematical expressions. You must be careful, therefore, to use a space between the tag and the parentheses. For example:
<MATH>(A <minus> (B<PLUS>C))
Note
At times, it may be helpful to you to use the <OPAREN> and <CPAREN> tags in place of the opening and closing parenthesis in math equations. This way, you and the text formatter can determine what you mean to be a literal parenthesis as opposed to the opening or closing parenthesis of an argument.The following tags are used to indicate simple binary operations. In the context of a mathematical expression, you can use either the tag name or the function's symbol.
<TIMES> * Multiplication <PLUS> + Addition <MINUS> - Subtraction <DIVIDED_BY> / Division <EQUALS> = Equality For example, the following are equivalent:
<MATH>(total = A + B - C * D / E) <MATH>(total <EQUALS> A <PLUS> B <MINUS> C <TIMES> D <DIVIDED_BY> E)Both produce the following output: total = A + B - C * D / E
Note
Using any nonalphanumeric characters (such as, @, #, $, tabs, and so on) other than those specified above in the context of math may produce unpredictable results, including errors from the text formatter.Operators are evaluated using the normal mathematical rules for precedence of operators. You can control the evaluation by using the <GROUP> tag, much as you would use parentheses in a mathematical expression. Note the use of the <GROUP> tag in the second math expression in the following code fragment:
<MATH>(total = A +B-C*D<OVER>(e) ) <P> <MATH>(total = <GROUP>(<GROUP>(A +B-C*D)<OVER>(e)) )This example produces the following output:
total = A +B-C*D
etotal = A +B-C*D
eThe effect of the <GROUP> tag is supplied by default for fractional expressions when you use the <FRACTION> tag. For example:
<MATH>(display) total = <FRACTION>(A + B - C * D\E) <ENDMATH>The text formatter assumes that variable names are primarily alphabetic letters or special characters represented by the <MATH_CHAR> tag. If you need to specify any variable names in expressions that contain special characters, you must use the <VARIABLE> or <TEXT> tags. For example:
<MATH>(<variable>(event_flag) = 1)If you require multiword variable names, you must use the <SP> tag to indicate spacing. For example:
<MATH>(display) <VARIABLE>(SUCCESS<sp>RATE) <equals> <group>( <VARIABLE>(TOTAL<SP>HITS) <over>(<VARIABLE>(TOTAL<sp>HITS) <plus> <VARIABLE>(TOTAL<sp> MISSES) ) ) <times> 100 <ENDMATH>This example produces the following output:
SUCCESS RATE = TOTAL HITS
TOTAL HITS + TOTAL MISSES * 100
You can provide special annotation for variable names by using the following tags:
Tag Output <BAR_CHAR>(x) x <DOT_CHAR>(x) x <HAT>(xyz) xyz <HAT_CHAR>(x) x <OVERLINE>(var) var <TILDE>(xyz) xyz <TILDE_CHAR>(x) x <UNDERLINE>(var) var <VECTOR>(x) x Summary of Tags
Table 1-1 summarizes the tags that are valid in mathematical expressions.
Operators With and Without Limits
When you specify <SUBSCRIPT> and <SUPERSCRIPT> tags, the subscript or superscript applies to the immediately preceding variable or expression. You can specify these tags in any order, as shown in the following example:
Previous Next Contents Index