| 1 |
//--------------------------------------------------------------------------- |
| 2 |
// |
| 3 |
// Copyright (c) 2012--2018 by Paul C. Anagnostopoulos |
| 4 |
// |
| 5 |
// This software may be used on your own computer systems and may |
| 6 |
// be distributed freely to other people. It may not be sold or |
| 7 |
// incorporated into any commercial products. |
| 8 |
// |
| 9 |
// Paul C. Anagnostopoulos |
| 10 |
// Windfall Software |
| 11 |
// 978 371-2316 |
| 12 |
// [email protected] |
| 13 |
// |
| 14 |
//--------------------------------------------------------------------------- |
| 15 |
// |
| 16 |
// ZzExplore: Describe built-in TeX, Plain TeX, ZzTeX, and design |
| 17 |
// file entities for compositors. |
| 18 |
// |
| 19 |
// This is the main phrase file. |
| 20 |
// |
| 21 |
// Created: 3 March 2016 |
| 22 |
|
| 23 |
|
| 24 |
// The following three templates are used to produce helpful explanations |
| 25 |
// for phrases that do not match. |
| 26 |
|
| 27 |
// No match to phrase |
| 28 |
|
| 29 |
.template no_match |
| 30 |
= No Match |
| 31 |
Your request: ~.phrase; |
| 32 |
|
| 33 |
There is no match for "~.word;". |
| 34 |
|
| 35 |
~if not empty? choice; |
| 36 |
Some possibilities are: |
| 37 |
~foreach ph, choice; |
| 38 |
* ~.ph; |
| 39 |
~end; |
| 40 |
*. |
| 41 |
~fi; |
| 42 |
---- |
| 43 |
If you think your request is reasonable, please inform Paul. |
| 44 |
|
| 45 |
// Ambiguous match to phrase |
| 46 |
|
| 47 |
.template ambiguous_match |
| 48 |
= Ambiguous Match |
| 49 |
Your request: ~.phrase; |
| 50 |
|
| 51 |
The word "~.word;" is ambiguous. |
| 52 |
|
| 53 |
Some possibilities are: |
| 54 |
~foreach ph, choice; |
| 55 |
* ~.ph; |
| 56 |
~end; |
| 57 |
*. |
| 58 |
---- |
| 59 |
If you think your request is unambiguous, please inform Paul. |
| 60 |
|
| 61 |
// Partial phrase |
| 62 |
|
| 63 |
.template partial_phrase |
| 64 |
= Partial Phrase |
| 65 |
Your request: ~.phrase; |
| 66 |
|
| 67 |
These words match the beginning of a phrase, but additional |
| 68 |
words are needed. |
| 69 |
|
| 70 |
~if not empty? choice; |
| 71 |
Some possibilities are: |
| 72 |
~foreach ph, choice; |
| 73 |
* ~.ph; |
| 74 |
~end; |
| 75 |
*. |
| 76 |
~fi; |
| 77 |
|
| 78 |
If you are looking for a concept instead of specific examples, |
| 79 |
it might help to try the plural of the word. |
| 80 |
---- |
| 81 |
If you think your request is complete enough to produce |
| 82 |
a description, please inform Paul. |
| 83 |
|
| 84 |
// Help Text |
| 85 |
// ---- ---- |
| 86 |
|
| 87 |
|
| 88 |
// Help |
| 89 |
|
| 90 |
.phrase help help : text |
| 91 |
.template |
| 92 |
= ~.facility; v~.version; |
| 93 |
|
| 94 |
~.facility; allows you to view descriptions of characters, commands, |
| 95 |
block designs, and other entities that are defined by built-in TeX, |
| 96 |
Plain TeX, ZzTeX, and book design files. It can also present more |
| 97 |
detailed reports on concepts such as tags and tabular material. |
| 98 |
|
| 99 |
Invoke ~.facility; as follows: |
| 100 |
|
| 101 |
| > ~.facility; *word* *word* ... |
| 102 |
|
| 103 |
The *word* parameters form a phrase that ~.facility; uses to determine |
| 104 |
which information you want to see. If you don't include any words, this |
| 105 |
help text is displayed. Do *not* include question words and verbs in your |
| 106 |
request (e.g., "what is"). |
| 107 |
|
| 108 |
~include command_line_chars; |
| 109 |
|
| 110 |
Without any options, the description is displayed on your terminal. If you |
| 111 |
want to view a more stylish description in your browser, enter |
| 112 |
|
| 113 |
| > ~.facility; -browser *word* *word* ... |
| 114 |
|
| 115 |
The browser starts up in an independent window, allowing you to work and |
| 116 |
read the description at the same time. Remember that you can close the |
| 117 |
browser window with Alt+F4. |
| 118 |
|
| 119 |
It is recommended that you add the following |
| 120 |
alias to your 4NT/Take Command alias file: |
| 121 |
|
| 122 |
exp*lore=~.facility; -browser %$ |
| 123 |
|
| 124 |
For a list of interesting examples of ~.facility;, enter |
| 125 |
|
| 126 |
| > ~.facility; examples |
| 127 |
|
| 128 |
For a list of what's new in version ~.version; and earlier versions, enter |
| 129 |
|
| 130 |
| > ~.facility; what's new |
| 131 |
|
| 132 |
.phrase examples examples : text |
| 133 |
.template |
| 134 |
= Examples |
| 135 |
|
| 136 |
Here are some examples of things you can do with ~.facility;. |
| 137 |
|
| 138 |
* To see an overview of the current project: |
| 139 |
|
| 140 |
~.facility; overview |
| 141 |
|
| 142 |
* To learn about a particular command: |
| 143 |
|
| 144 |
~.facility; \overrideparlength |
| 145 |
|
| 146 |
* To find out whether a command is available for the current book: |
| 147 |
|
| 148 |
~.facility; \separatefloat |
| 149 |
|
| 150 |
* To get information about a particular math character: |
| 151 |
|
| 152 |
~.facility; \beta |
| 153 |
|
| 154 |
* To find out which types of enunciations or lists are available: |
| 155 |
|
| 156 |
~.facility; enunciations |
| 157 |
~.facility; lists |
| 158 |
|
| 159 |
* To see some details about a particular enunciation: |
| 160 |
|
| 161 |
~.facility; \enunciation theorem |
| 162 |
|
| 163 |
* To learn the names of the zzd design macros for enunciations: |
| 164 |
|
| 165 |
~.facility; enunciation designs |
| 166 |
|
| 167 |
* To see all the details about the design of a particular enunciation: |
| 168 |
|
| 169 |
~.facility; \enunciationtheoremdesign details |
| 170 |
|
| 171 |
* To learn what a count register is: |
| 172 |
|
| 173 |
~.facility; counts |
| 174 |
|
| 175 |
* To get a list of all count registers or learn about a particular one: |
| 176 |
|
| 177 |
~.facility; all counts |
| 178 |
~.facility; \sectionnumber |
| 179 |
|
| 180 |
* To see which type styles are available in the current book: |
| 181 |
|
| 182 |
~.facility; type styles |
| 183 |
|
| 184 |
* To find out which type relationship commands are available |
| 185 |
for a particular style: |
| 186 |
|
| 187 |
~.facility; \tt |
| 188 |
|
| 189 |
* To find out which styles are established for a particular type |
| 190 |
size and whether they can be used in math: |
| 191 |
|
| 192 |
~.facility; \footnotesize |
| 193 |
|
| 194 |
.phrase whats_new what's new : text |
| 195 |
.synonym what is new |
| 196 |
.template |
| 197 |
= What's New in ~.facility; v~.version; |
| 198 |
|
| 199 |
* Complete description of the |\enunciation| block. |
| 200 |
* Complete description of the indexing facility. |
| 201 |
* Report of all bibliography entries for the project. |
| 202 |
* Report of missing art files. |
| 203 |
* List of commands for bibliography citations. |
| 204 |
* Improved word matching for design elements that are not blocks. |
| 205 |
* Improved report on at-sign commands. |
| 206 |
* Complete documentation on the ZzSizeArt utility. |
| 207 |
* Complete documentation on the new |\tabbing| block. |
| 208 |
*. |
| 209 |
|
| 210 |
== What's New in ~.facility; v1.1 |
| 211 |
|
| 212 |
* This "what's new" report. |
| 213 |
* Improved report on math classes. |
| 214 |
* Improved report on individual characters. |
| 215 |
* Improved report on Greek letter commands. |
| 216 |
* Report on the new |\immediatemathdisplay| modifier. |
| 217 |
* Improved report on the |\immediatesublist| modifier. |
| 218 |
* Reports on the new |\breakabove| and |\breakbelow| modifiers. |
| 219 |
* Improved reports on the |\bottomfloat| et al. modifiers. |
| 220 |
* New page make-up report. |
| 221 |
* Complete documentation on the |\tabular| block and related commands. |
| 222 |
* Lists of commands for horizontal spacing and vertical spacing. |
| 223 |
* Report on penalties. |
| 224 |
* Complete documentation on the |\todo| command. |
| 225 |
* Complete documentation on the title adjustment commands. |
| 226 |
* Report on block modifiers. |
| 227 |
* Complete documentation on the |\code| block and related commands. |
| 228 |
* Improved documentation on tags. |
| 229 |
* Complete documentation on the various forms of |\eqno|. |
| 230 |
* Complete documentation on the |\letterspace| command. |
| 231 |
* Complete documentation on the |\art| block. |
| 232 |
* Complete documentation on running heads and feet (runners). |
| 233 |
*. |
| 234 |
|
| 235 |
// ZzTeX et al Phrases |
| 236 |
// ----- -- -- ------- |
| 237 |
|
| 238 |
|
| 239 |
// Accents |
| 240 |
|
| 241 |
.phrase accents accents |
| 242 |
.synonym text accents |
| 243 |
.template |
| 244 |
= Accent Commands |
| 245 |
|
| 246 |
An accent command produces an accent over a character. |
| 247 |
For example, |
| 248 |
|
| 249 |
Ha\v{c}ek na\"{\i}vet\'e, anyone? |
| 250 |
|
| 251 |
produces |
| 252 |
|
| 253 |
& Haček naïveté, anyone? |
| 254 |
&. |
| 255 |
|
| 256 |
Here is a list of all the accent commands. |
| 257 |
|
| 258 |
&= Command& Description |
| 259 |
---- |
| 260 |
~foreach acc, accent_table; |
| 261 |
& |~.acc;|& ~.accent_table[acc]; |
| 262 |
~end; |
| 263 |
&. |
| 264 |
---- |
| 265 |
For information on a specific accent, try |~.facility; \*name*|. |
| 266 |
|
| 267 |
// (Assumes that the 'one_command' group will also be populated.) |
| 268 |
.phrase one_accent <name> accent |
| 269 |
.synonym accent <name> |
| 270 |
.synonym <name> text accent |
| 271 |
.synonym text accent <name> |
| 272 |
.template |
| 273 |
= |~.name;| Accent Command |
| 274 |
|
| 275 |
~include common_info; |
| 276 |
|
| 277 |
~.comment; |
| 278 |
|
| 279 |
An accent command produces an accent over a character. |
| 280 |
---- |
| 281 |
For a list of all accents, try |~.facility; accents|. |
| 282 |
|
| 283 |
// Attributes |
| 284 |
|
| 285 |
.phrase attributes attributes : text |
| 286 |
.synonym command attributes |
| 287 |
.template |
| 288 |
= Attributes |
| 289 |
|
| 290 |
When ~.facility; reports information about commands, math characters, and |
| 291 |
other entities, it includes an item called *attributes*. An attribute |
| 292 |
specifies special behavior of the command or character. Here is a list |
| 293 |
of all the attributes. |
| 294 |
|
| 295 |
* internal: The command is internal to Plain TeX or ZzTeX and is never |
| 296 |
used directly in design or book files. |
| 297 |
* long: The argument to the command can include multiple paragraphs. |
| 298 |
* outer: The command can only be used directly in a book file; it cannot |
| 299 |
be used by another command. |
| 300 |
* limits: The large operator (e.g., |\sum|) sets its limits above and below. |
| 301 |
* no limits: The large operator sets its limit as sub- and |
| 302 |
superscripts. |
| 303 |
* display limits: The large operator set its limits above and below when |
| 304 |
used in a math display; as scripts when used in text. |
| 305 |
*. |
| 306 |
|
| 307 |
// Blocks |
| 308 |
|
| 309 |
.phrase blocks blocks : text |
| 310 |
.synonym elements |
| 311 |
.template |
| 312 |
= Blocks |
| 313 |
|
| 314 |
The block is the primary design element provided by ZzTeX design |
| 315 |
files. A block generally spans a large amount of text that must |
| 316 |
be formatted in a special way. Examples are lists, footnotes, |
| 317 |
and framed text. |
| 318 |
|
| 319 |
Most blocks are started and ended with specific commands: |
| 320 |
|
| 321 |
\list{bullet} |
| 322 |
\item ... |
| 323 |
... |
| 324 |
\endlist |
| 325 |
|
| 326 |
A few blocks, however, are started and ended with the same command: |
| 327 |
|
| 328 |
\footnote{This is a footnote that will appear at the bottom.} |
| 329 |
|
| 330 |
A footnote has only one design style, or *type*. However, there can be an |
| 331 |
arbitrary number of different types of lists, such as bullet, number, |
| 332 |
label, and dialog. If a block requires a type, the type name is the first |
| 333 |
argument to the block command, as with |\list{bullet}| above. |
| 334 |
|
| 335 |
Two blocks, |\text| and |\list|, can also be nested to produce, say, |
| 336 |
multi-level lists. ZzTeX maintains the level counter automatically. |
| 337 |
|
| 338 |
Each block type and level has its own design. The designs are |
| 339 |
embodied in design macros in the design file. For example, |
| 340 |
the name of the design macro for a second-level bullet list is |
| 341 |
|\listbulletiidesign|. A design macro is essentially a list of |
| 342 |
assignments to *parameters* that control the formatting of the |
| 343 |
block's text. |
| 344 |
|
| 345 |
There are two ways to modify the design of a specific block. |
| 346 |
The first is to use a variant modifier, which produces predetermined |
| 347 |
changes to the design. Try |~.facility; variants| for more information. |
| 348 |
The second method is the |\with| modifier, which alters specified |
| 349 |
design parameters for the block. Try |~.facility; \with| for |
| 350 |
more information. |
| 351 |
---- |
| 352 |
For a list of all the available blocks, try |~.facility; all blocks|.&/ |
| 353 |
For details on a specific block, try |~.facility; \*name*|. |
| 354 |
|
| 355 |
.phrase all_blocks all blocks |
| 356 |
.template |
| 357 |
= List of Blocks |
| 358 |
|
| 359 |
This is the list of all the block elements available in ZzTeX. |
| 360 |
|
| 361 |
&= & Multiple& Can be& Used in |
| 362 |
&= Block command& types?& nested?& ~.project; design? |
| 363 |
---- |
| 364 |
~foreach blk, type_table; |
| 365 |
& |~.blk;|& ~.type_table[blk];& ~.nest_table[blk];& ~.used_table[blk]; |
| 366 |
~end; |
| 367 |
&. |
| 368 |
---- |
| 369 |
For more information, try |~.facility; blocks|&/ |
| 370 |
For information on a particular block, try |~.facility; \*name*| |
| 371 |
|
| 372 |
// (Assumes that the 'one_command' group will also be populated.) |
| 373 |
.phrase one_block <name> block |
| 374 |
.synonym block <name> |
| 375 |
.synonym <name> element |
| 376 |
.synonym element <name> |
| 377 |
.synonym <name> types |
| 378 |
.synonym <nb-name> |
| 379 |
.synonym <nb-name> blocks |
| 380 |
.synonym <nb-name> elements |
| 381 |
.synonym <nb-name> types |
| 382 |
.synonym <nb-name-s> |
| 383 |
.template |
| 384 |
= |~.name;| Block |
| 385 |
|
| 386 |
~include common_info; |
| 387 |
|
| 388 |
~.comment; |
| 389 |
|
| 390 |
The ~.name; block is one of the primary elements supported |
| 391 |
by ZzTeX. |
| 392 |
|
| 393 |
~if not used?; |
| 394 |
This block is not used in the ~.project; book. |
| 395 |
~elsif empty? level_table; |
| 396 |
This block is used in the ~.project; book. |
| 397 |
A ~.name; does not have multiple design types. Its single |
| 398 |
design is defined in ~.design_where;. |
| 399 |
~else; |
| 400 |
This table presents all the different |
| 401 |
types of |~.name;| blocks available in the ~.project; design. |
| 402 |
|
| 403 |
&= Type& Levels& Defined |
| 404 |
---- |
| 405 |
~foreach type, level_table; |
| 406 |
& |~.type;|& ~.level_table[type];& ~.where_table[type]; |
| 407 |
~end; |
| 408 |
&. |
| 409 |
~fi; |
| 410 |
---- |
| 411 |
To see a description of this block's design parameters, |
| 412 |
try |~.facility; ~.name; parameters|.&/ |
| 413 |
~if used?;~ |
| 414 |
To see some details about the |~.name;| design~* not empty? level_table; for the ~.project; |
| 415 |
book, try |~.facility; ~.name; design|.&/~ |
| 416 |
~fi; |
| 417 |
For more information about blocks in general, try |~.facility; blocks|.&/ |
| 418 |
For a list of all available blocks, try |~.facility; all blocks|.&/ |
| 419 |
|
| 420 |
.phrase block_params <name> parameters |
| 421 |
.synonym <name>=\mathdisplay:$$ parameters |
| 422 |
.synonym <name> design parameters |
| 423 |
.synonym <name>=\mathdisplay:$$ design parameters |
| 424 |
.template |
| 425 |
= |~.name;| Block Design Parameters |
| 426 |
|
| 427 |
Here is a list of all the design parameters for the |~.name;| |
| 428 |
block. |
| 429 |
|
| 430 |
&= Parameter& Type& Description |
| 431 |
---- |
| 432 |
~foreach param, type_table; |
| 433 |
& |~.param;|& ~.type_table[param];& ~.desc_table[param]; |
| 434 |
~end; |
| 435 |
&. |
| 436 |
|
| 437 |
// Block variants |
| 438 |
|
| 439 |
.phrase block_variants block variants : text |
| 440 |
.synonym variants |
| 441 |
.synonym design variants |
| 442 |
.template |
| 443 |
= Block Variants |
| 444 |
|
| 445 |
A block variant is a modifier that can be applied to a block |
| 446 |
command to alter the design of the block. Variants may only |
| 447 |
be applied to block commands. |
| 448 |
|
| 449 |
For example, the |\widefigure| variant might be applicable |
| 450 |
to a |\float| command to select a wider style for the figure. |
| 451 |
|
| 452 |
\widefigure \float{figure} |
| 453 |
|
| 454 |
Often there is a group of variants that all vary the design |
| 455 |
of a block is related ways. For example, in addition to |
| 456 |
|\widefigure| we might have |
| 457 |
|
| 458 |
* |\sidebysidefigure| |
| 459 |
* |\widefigure| |
| 460 |
* |\broadsidefigure| |
| 461 |
*. |
| 462 |
|
| 463 |
Each of these modifiers applies to a figure float and vary its |
| 464 |
design in specific ways. The three variants are mutually exclusive: |
| 465 |
only one may be specified on any given |\float| command. |
| 466 |
---- |
| 467 |
For more information about a specific variant, try |~.facility; \*name*|.&/ |
| 468 |
To see a list of variants for a specific block, try |~.facility; \*block*|. |
| 469 |
|
| 470 |
.phrase one_block_variant <name> |
| 471 |
.synonym <name> variant |
| 472 |
.synonym variant <name> |
| 473 |
.synonym <name> block variant |
| 474 |
.synonym block variant <name> |
| 475 |
.synonym <name> design variant |
| 476 |
.synonym design variant <name> |
| 477 |
.template |
| 478 |
= |~.name;| Block Variant |
| 479 |
|
| 480 |
~include common_info; |
| 481 |
|
| 482 |
~.comment; |
| 483 |
|
| 484 |
A block variant is a modifier that can be applied to a block |
| 485 |
command to alter the design of the block. This variant |
| 486 |
applies to the |~.block;| block. It is a member of a group |
| 487 |
of variants: |
| 488 |
|
| 489 |
~foreach i, variant_list; |
| 490 |
* |~.variant_list[i];| |
| 491 |
~end; |
| 492 |
*. |
| 493 |
|
| 494 |
---- |
| 495 |
For more information on block variants, try |~.facility; variants|. |
| 496 |
|
| 497 |
// Block modifiers |
| 498 |
|
| 499 |
.phrase block_modifiers block modifiers |
| 500 |
.synonym modifiers |
| 501 |
.template |
| 502 |
= Block Modifiers |
| 503 |
|
| 504 |
A block modifier is a command that can be applied to a block |
| 505 |
to alter the design of the block. Modifiers may only |
| 506 |
be applied to block commands. |
| 507 |
|
| 508 |
For example, the |\bottomfloat| modifier can be applied to |
| 509 |
a |\float| command to place the float at the bottom of the page. |
| 510 |
|
| 511 |
\bottomfloat \float{figure} |
| 512 |
|
| 513 |
Note that block variants are another type of block modifier. |
| 514 |
|
| 515 |
Here is a list of all the block modifiers provided by ZzTeX and |
| 516 |
the ~.project; design. It does not include block variants. |
| 517 |
|
| 518 |
&= Modifier& Where defined |
| 519 |
---- |
| 520 |
~foreach mod, where_table; |
| 521 |
& |~.mod;|& ~.where_table[mod]; |
| 522 |
~end; |
| 523 |
&. |
| 524 |
---- |
| 525 |
For more information about a specific modifier, try |~.facility; \*name*|.&/ |
| 526 |
For more information on block variants, a type of modifier, |
| 527 |
try |~.facility; variants|. |
| 528 |
|
| 529 |
.phrase one_block_modifier <name> |
| 530 |
.synonym <name> modifier |
| 531 |
.synonym modifier <name> |
| 532 |
.synonym <name> block modifier |
| 533 |
.synonym block modifier <name> |
| 534 |
.template |
| 535 |
= |~.name;| Block Modifier |
| 536 |
|
| 537 |
~include common_info; |
| 538 |
|
| 539 |
~.comment; |
| 540 |
|
| 541 |
A block modifier is a command that can be applied to a block |
| 542 |
to alter the design of the block. |
| 543 |
---- |
| 544 |
For more information on block modifiers, try |~.facility; modifiers|. |
| 545 |
|
| 546 |
// Box registers |
| 547 |
|
| 548 |
.phrase boxes box registers : text |
| 549 |
.synonym boxes |
| 550 |
.template |
| 551 |
= Box Registers |
| 552 |
|
| 553 |
A box register contains a box that has horizontal or vertical material |
| 554 |
in it. A box can contain a paragraph, a vertical sequence of paragraphs, |
| 555 |
a short text fragment for measuring, etc. |
| 556 |
|
| 557 |
A box register is accessed and set as follows: |
| 558 |
|
| 559 |
| \box \*name* |
| 560 |
| \setbox \*name* = \hbox {*horizontal material*} |
| 561 |
| \setbox \*name* = \vbox {*vertical material*} |
| 562 |
| \setbox \*name* = \vtop {*vertical material*} |
| 563 |
|
| 564 |
Boxes are never used directly in book files. |
| 565 |
---- |
| 566 |
For a list of all boxes, try |~.facility; all boxes|.&/ |
| 567 |
For information on a particular box, try |~.facility; \*name*| |
| 568 |
|
| 569 |
.phrase all_boxes all box registers |
| 570 |
.synonym all boxes |
| 571 |
.template |
| 572 |
= List of Box Registers |
| 573 |
|
| 574 |
This is the list of all box registers available in ZzTeX. |
| 575 |
|
| 576 |
&= Register& Description |
| 577 |
---- |
| 578 |
~foreach reg, reg_table; |
| 579 |
& |~.reg;|& ~.reg_table[reg]; |
| 580 |
~end; |
| 581 |
&. |
| 582 |
~include internal_note; |
| 583 |
---- |
| 584 |
For more information, try |~.facility; boxes| |
| 585 |
|
| 586 |
.phrase one_box <name> |
| 587 |
.synonym <name> box |
| 588 |
.synonym box <name> |
| 589 |
.synonym <name> register |
| 590 |
.synonym register <name> |
| 591 |
.synonym <name> box register |
| 592 |
.synonym box register <name> |
| 593 |
.template |
| 594 |
= |~.name;| Box Register |
| 595 |
|
| 596 |
~include common_info; |
| 597 |
|
| 598 |
~.comment; |
| 599 |
|
| 600 |
Default: |~.default;| |
| 601 |
|
| 602 |
A box register contains a box that has horizontal or vertical material |
| 603 |
in it. A box can contain a paragraph, a vertical sequence of paragraphs, |
| 604 |
a short text fragment for measuring, etc. |
| 605 |
---- |
| 606 |
For more information, try |~.facility; boxes| |
| 607 |
|
| 608 |
// Catcodes |
| 609 |
|
| 610 |
.phrase catcodes catcodes |
| 611 |
.synonym category codes |
| 612 |
.synonym character categories |
| 613 |
.synonym character category codes |
| 614 |
.template |
| 615 |
= Catcodes (Category Codes) |
| 616 |
|
| 617 |
A category code is assigned to every character read by TeX as it |
| 618 |
processes files. A character's category code determines how TeX handles |
| 619 |
that character. |
| 620 |
|
| 621 |
Here is a list of all the category codes. |
| 622 |
|
| 623 |
&= Number& Name& Meaning (example) |
| 624 |
---- |
| 625 |
~foreach i, name_table; |
| 626 |
& ~.i;& |~.name_table[i];|& ~.meaning_table[i]; |
| 627 |
~end; |
| 628 |
&. |
| 629 |
|
| 630 |
.phrase one_catcode <name> |
| 631 |
.synonym <name> catcode |
| 632 |
.synonym catcode <name> |
| 633 |
.synonym <name> category code |
| 634 |
.synonym category code <name> |
| 635 |
.template |
| 636 |
= |~.name;| Category Code |
| 637 |
|
| 638 |
~include common_info; |
| 639 |
|
| 640 |
~.comment; |
| 641 |
|
| 642 |
Value: ~.value; |
| 643 |
|
| 644 |
A category code is assigned to every character read by TeX as it |
| 645 |
processes files. A character's category code determines how TeX handles |
| 646 |
that character. |
| 647 |
---- |
| 648 |
For more information and list of all catcodes, try |~.facility; catcodes| |
| 649 |
|
| 650 |
// Characters |
| 651 |
|
| 652 |
.phrase characters characters |
| 653 |
|
| 654 |
.phrase one_character <name> |
| 655 |
.synonym <name>=`T:tab |
| 656 |
.synonym <name>=`F:formfeed |
| 657 |
.synonym <name>=`R:newline |
| 658 |
.synonym <name>=`_:space |
| 659 |
.synonym <name>=":quote |
| 660 |
.synonym <name>=%:percent |
| 661 |
.synonym <name>=&:ampersand |
| 662 |
.synonym <name>=':apostrophe |
| 663 |
.synonym <name>=(:lparen |
| 664 |
.synonym <name>=,:comma |
| 665 |
.synonym <name>=<:less |
| 666 |
.synonym <name>=>:greater |
| 667 |
.synonym <name>=^:hat |
| 668 |
.synonym <name>=`=:equal |
| 669 |
.synonym <name>=``:backquote |
| 670 |
.synonym <name>=|:bar |
| 671 |
.template |
| 672 |
= ~.name; Character |
| 673 |
|
| 674 |
~include common_info; |
| 675 |
|
| 676 |
~.comment; |
| 677 |
|
| 678 |
& Catcode:& |~.catcode;| |
| 679 |
& Font position:& |~.position;| |
| 680 |
& Math class:& |~.math_class;| |
| 681 |
& Math family:& |~.math_family;| |
| 682 |
&. |
| 683 |
---- |
| 684 |
For information on catcodes, try |~.facility; catcodes|.&/ |
| 685 |
For information on math classes, try |~.facility; classes|.&/ |
| 686 |
For information on math families, try |~.facility; families|. |
| 687 |
|
| 688 |
// Citation commands |
| 689 |
|
| 690 |
.phrase citations citations |
| 691 |
.synonym citation commands |
| 692 |
.template |
| 693 |
= Citation Commands |
| 694 |
|
| 695 |
A citation command is a command that accepts a bibliography item tag and produces |
| 696 |
a citation (reference) to that item. For example |
| 697 |
|
| 698 |
As \citenoun{smith16} describes, the widget ... |
| 699 |
|
| 700 |
might produce |
| 701 |
|
| 702 |
& As Smith [2016] describes, the widget ... |
| 703 |
&. |
| 704 |
|
| 705 |
The following table lists all the citation commands available |
| 706 |
for the ~.project; book. Be careful to read about the commands |
| 707 |
defined in the design file (~.project;.zzd) first; some of |
| 708 |
them might specify that certain other citation commands should |
| 709 |
not be used. |
| 710 |
|
| 711 |
&= Command& Defined |
| 712 |
---- |
| 713 |
~foreach cmd, where_table; |
| 714 |
& |~.cmd;|& ~.where_table[cmd]; |
| 715 |
~end; |
| 716 |
&. |
| 717 |
|
| 718 |
// Command line |
| 719 |
|
| 720 |
.phrase command_line command line : text |
| 721 |
.template |
| 722 |
= Command Line |
| 723 |
|
| 724 |
Some characters are difficult or impossible to specify on the |
| 725 |
4NT/Take Command command line. The following table shows how to |
| 726 |
specify such characters by themselves or as the second |
| 727 |
character of a character command. |
| 728 |
|
| 729 |
& & How to Specify& How to Specify |
| 730 |
& Character& Character& Character Command |
| 731 |
---- |
| 732 |
& <newline>& |newline|& |\.newline| |
| 733 |
& <formfeed>& |formfeed|& |\.formfeed| |
| 734 |
& <space>& |space|& |\.space| |
| 735 |
& |"|& |quote|& |\.quote| |
| 736 |
& |%|& |percent|& |\.percent| |
| 737 |
& |&&|& |ampersand|& |\.ampersand| |
| 738 |
& |'|& |apostrophe|& |\.apostrophe| |
| 739 |
& |(|& |lparen|& |\.lparen| |
| 740 |
& |,|& |comma|& |\.comma| |
| 741 |
& |<|& |less|& |\.less| |
| 742 |
& |&=|& |equal|& |\.equal| |
| 743 |
& |>|& |greater|& |\.greater| |
| 744 |
& |^|& |hat|& |\.hat| |
| 745 |
& |`|& |backquote|& |\.backquote| |
| 746 |
& |&||& |bar|& |\.bar| |
| 747 |
&. |
| 748 |
|
| 749 |
// Commands |
| 750 |
|
| 751 |
.phrase commands commands |
| 752 |
.synonym macros |
| 753 |
.template |
| 754 |
= Commands |
| 755 |
|
| 756 |
Commands are the primary entity with which TeX files are coded |
| 757 |
to produce beautiful text. A command name consists of a backslash |
| 758 |
(|\|) followed by |
| 759 |
|
| 760 |
* A sequence of upper- and lowercase letters (e.g., |\sin|), or |
| 761 |
* A single non-letter character (e.g., |\,|) |
| 762 |
*. |
| 763 |
|
| 764 |
Command names are *case-sensitive;* that is, an uppercase letter |
| 765 |
is different from the same lowercase letter. So |\big| and |\Big| |
| 766 |
are two different commands. |
| 767 |
|
| 768 |
A command name can operate by itself or it can require *arguments,* |
| 769 |
which are pieces of text that the command uses to perform its |
| 770 |
function. Arguments are usually enclosing in braces (|{|...|}|). |
| 771 |
However, if there is a single argument composed of a single Roman |
| 772 |
or Greek letter, then no braces are necessary. |
| 773 |
|
| 774 |
For example, you can set an acute accent on a character using |
| 775 |
braces, as in \'{a}, but the braces aren't necessary: \'a. |
| 776 |
|
| 777 |
When scanning a command, TeX has one rule that can cause trouble. |
| 778 |
Spaces and a single line break following a letter command are ignored. |
| 779 |
So the text |
| 780 |
|
| 781 |
Don't you love the text that \TeX can produce? |
| 782 |
|
| 783 |
will result in the following: |
| 784 |
|
| 785 |
& Don't you love the text that TeXcan produce? |
| 786 |
&. |
| 787 |
|
| 788 |
There are two solutions, the first of which is preferred. |
| 789 |
|
| 790 |
Don't you love the text that \TeX\ can produce? |
| 791 |
Don't you love the text that \TeX{} can produce? |
| 792 |
|
| 793 |
Command names containing an at-sign (|@|) or beginning with '|z|' |
| 794 |
are internal to TeX and ZzTeX. |
| 795 |
---- |
| 796 |
For information on a specific command, try |~.facility; \*name*|.&/ |
| 797 |
For information on the attributes item included with individual |
| 798 |
command descriptions, try |~.facility; attributes|.&/ |
| 799 |
~include command_line_chars; |
| 800 |
|
| 801 |
== Command Counts |
| 802 |
|
| 803 |
For your edification, this table presents the number of commands |
| 804 |
defined by TeX and ZzTeX. |
| 805 |
|
| 806 |
&= Count& Origin of command |
| 807 |
---- |
| 808 |
& ~.builtin_count;& Built-in TeX |
| 809 |
& ~.plain_count;& Plain TeX macro package (many superceded by ZzTeX) |
| 810 |
& ~.zztex_count;& ZzTeX macro package |
| 811 |
& ~.zzd_count;& Design file(s) |
| 812 |
&. |
| 813 |
|
| 814 |
.phrase one_command <name> |
| 815 |
.synonym <name>=\`R:\.newline |
| 816 |
.synonym <name>=\`_:\.space |
| 817 |
.synonym <name>=\":\.quote |
| 818 |
.synonym <name>=\':\.apostrophe |
| 819 |
.synonym <name>=\,:\.comma |
| 820 |
.synonym <name>=\^:\.hat |
| 821 |
.synonym <name>=\`=:\.equal |
| 822 |
.synonym <name>=\``:\.backquote |
| 823 |
.synonym <name>=\mathdisplay:$$ |
| 824 |
.synonym <name> command |
| 825 |
.synonym <name>=\`R:\.newline command |
| 826 |
.synonym <name>=\`_:\.space command |
| 827 |
.synonym <name>=\":\.quote command |
| 828 |
.synonym <name>=\':\.apostrophe command |
| 829 |
.synonym <name>=\,:\.comma command |
| 830 |
.synonym <name>=\^:\.hat command |
| 831 |
.synonym <name>=\`=:\.equal command |
| 832 |
.synonym <name>=\``:\.backquote command |
| 833 |
.synonym command <name> |
| 834 |
.synonym <name> macro |
| 835 |
.synonym macro <name> |
| 836 |
.template |
| 837 |
= |~.name;| Command |
| 838 |
|
| 839 |
~include common_info; |
| 840 |
|
| 841 |
~.comment; |
| 842 |
---- |
| 843 |
~include command_info; |
| 844 |
|
| 845 |
// Count registers |
| 846 |
|
| 847 |
.phrase counts count registers : text |
| 848 |
.synonym counts |
| 849 |
.template |
| 850 |
= Count Registers |
| 851 |
|
| 852 |
A count register contains an integer that can be used as a counter, |
| 853 |
to number elements, to hold an integer parameter value, etc. |
| 854 |
|
| 855 |
A count register is accessed and set as follows: |
| 856 |
|
| 857 |
| \*name* |
| 858 |
| \*name* = *integer* |
| 859 |
|
| 860 |
Counts are rarely used directly in book files. |
| 861 |
---- |
| 862 |
For a list of all count registers, try |~.facility; all counts|.&/ |
| 863 |
For information on a particular count register, try |~.facility; \*name*|. |
| 864 |
|
| 865 |
.phrase all_counts all count registers |
| 866 |
.synonym all counts |
| 867 |
.template |
| 868 |
= List of Count Registers |
| 869 |
|
| 870 |
This is the list of all count registers available in ZzTeX. |
| 871 |
|
| 872 |
&= Register& Description |
| 873 |
---- |
| 874 |
~foreach reg, reg_table; |
| 875 |
& |~.reg;|& ~.reg_table[reg]; |
| 876 |
~end; |
| 877 |
&. |
| 878 |
~include internal_note; |
| 879 |
---- |
| 880 |
For more information, try |~.facility; count registers| |
| 881 |
|
| 882 |
.phrase one_count <name> |
| 883 |
.synonym <name> count |
| 884 |
.synonym count <name> |
| 885 |
.synonym <name> register |
| 886 |
.synonym register <name> |
| 887 |
.synonym <name> count register |
| 888 |
.synonym count register <name> |
| 889 |
.template |
| 890 |
= |~.name;| Count Register |
| 891 |
|
| 892 |
~include common_info; |
| 893 |
|
| 894 |
~.comment; |
| 895 |
|
| 896 |
Default: |~.default;| |
| 897 |
|
| 898 |
A count register contains an integer that can be used as a counter, |
| 899 |
to number elements, to hold an integer parameter value, etc. |
| 900 |
---- |
| 901 |
For more information, try |~.facility; counts| |
| 902 |
|
| 903 |
// Declarations |
| 904 |
|
| 905 |
.phrase declarations declarations : text |
| 906 |
.template |
| 907 |
= Declarations |
| 908 |
|
| 909 |
A TeX declaration has a name like a command, but it does not |
| 910 |
take any arguments. Instead, it pertains to the following text in |
| 911 |
the current brace group. |
| 912 |
|
| 913 |
Example: |{\it *text*}| |
| 914 |
|
| 915 |
The *text* is set in italic style, but text following the close brace |
| 916 |
is not. The braces limit the scope of the declaration. |
| 917 |
|
| 918 |
Declarations are used in design files but rarely in book files. |
| 919 |
There is almost always a command that should be used instead. |
| 920 |
|
| 921 |
Example: |\emph{*text*}| |
| 922 |
---- |
| 923 |
For information on commands, try |~.facility; commands| |
| 924 |
|
| 925 |
.phrase one_declaration <name> |
| 926 |
.synonym <name> declaration |
| 927 |
.synonym declaration <name> |
| 928 |
|
| 929 |
// Designs |
| 930 |
|
| 931 |
.phrase designs designs : text |
| 932 |
.synonym block designs |
| 933 |
.template |
| 934 |
= Block Designs |
| 935 |
|
| 936 |
A block design is embodied in a macro usually located in a |
| 937 |
book's design file. There are a few block designs built into |
| 938 |
ZzTeX. The block design macro contains a list of block |
| 939 |
parameter assignments that together specify the features |
| 940 |
and format of the block. |
| 941 |
|
| 942 |
The block design macro name comes in three flavors. |
| 943 |
|
| 944 |
& |\def \footnotedesign|& The block does not have multiple types |
| 945 |
& |\def \floatfiguredesign|& The block has multiple types |
| 946 |
& |\def \listbulletidesign|& The block has multiple types and levels |
| 947 |
&. |
| 948 |
|
| 949 |
Within the design macro definition is a sequence of parameter |
| 950 |
assignments and other TeX coding to establish the design for |
| 951 |
that particular block, block type, or block type/level. Each |
| 952 |
time ZzTeX encounters a block in a book file, it executes the |
| 953 |
design macro to establish the design, then processes the contents |
| 954 |
of the block. |
| 955 |
---- |
| 956 |
To see details about a design, try things like: |
| 957 |
|
| 958 |
| ~.facility; \listbulletidesign |
| 959 |
| ~.facility; \float{figure} |
| 960 |
| ~.facility; list bullet i |
| 961 |
|
| 962 |
// The phrases for a block with no type; e.g., \footnotedesign. |
| 963 |
|
| 964 |
.phrase one_design_notype <name> |
| 965 |
.synonym <name> macro |
| 966 |
.synonym <block> design |
| 967 |
.synonym <block>=\mathdisplay:$$ design |
| 968 |
.synonym <block> design macro |
| 969 |
.synonym <nb-block> design |
| 970 |
.synonym <nb-block> design macro |
| 971 |
.template |
| 972 |
= |~.name;| Design Macro |
| 973 |
|
| 974 |
~include common_info; |
| 975 |
|
| 976 |
~include design_info; |
| 977 |
|
| 978 |
~.comment; |
| 979 |
---- |
| 980 |
~include gory_details; |
| 981 |
|
| 982 |
// The phrases for a block with a type, but no type specified. |
| 983 |
|
| 984 |
.phrase-dups one_design_type_general <block> designs |
| 985 |
.synonym <block> design macros |
| 986 |
.synonym <nb-block> designs |
| 987 |
.synonym <nb-block> design macros |
| 988 |
.template |
| 989 |
= |~.block;| Design Macros |
| 990 |
|
| 991 |
The following table shows a list of all the design macros |
| 992 |
available in the ~.project; book for the various types of |~.block;|. |
| 993 |
|
| 994 |
&= Design Macro& Element |
| 995 |
---- |
| 996 |
~foreach des, design_table; |
| 997 |
& |~.des;|& ~.design_table[des]; |
| 998 |
~end; |
| 999 |
&. |
| 1000 |
---- |
| 1001 |
For information on a specific type, try |~.facility; ~.block; *type*|. |
| 1002 |
|
| 1003 |
// The phrases for a block with a specified type. |
| 1004 |
|
| 1005 |
.phrase one_design_type_specific <name> |
| 1006 |
.synonym <name> macro |
| 1007 |
.synonym <block> <type> |
| 1008 |
.synonym <block> <type> design |
| 1009 |
.synonym <block> <type> design macro |
| 1010 |
.synonym <nb-block> <type> |
| 1011 |
.synonym <nb-block> <type> design |
| 1012 |
.synonym <nb-block> <type> design macro |
| 1013 |
.synonym <type> <nb-block-s> |
| 1014 |
.synonym <type> <nb-block> designs |
| 1015 |
.synonym <type> <nb-block> design macros |
| 1016 |
.template |
| 1017 |
= |~.name;| Design Macro |
| 1018 |
|
| 1019 |
~include common_info; |
| 1020 |
|
| 1021 |
~include design_info; |
| 1022 |
|
| 1023 |
~.comment; |
| 1024 |
---- |
| 1025 |
~include gory_details; |
| 1026 |
|
| 1027 |
// The phrases for a block with a type and level, but no type or level specified. |
| 1028 |
|
| 1029 |
.phrase-dups one_design_level_general <block> designs |
| 1030 |
.synonym <block> design macros |
| 1031 |
.synonym <nb-block> designs |
| 1032 |
.synonym <nb-block> design macros |
| 1033 |
.synonym <block> <type> designs |
| 1034 |
.synonym <block> <type> design macros |
| 1035 |
.synonym <nb-block> <type> designs |
| 1036 |
.synonym <nb-block> <type> design macros |
| 1037 |
.synonym <type> <nb-block-s> |
| 1038 |
.synonym <type> <nb-block> designs |
| 1039 |
.synonym <type> <nb-block> design macros |
| 1040 |
.template |
| 1041 |
= |~.block;| Design Macros |
| 1042 |
|
| 1043 |
The following table shows a list of all the design macros |
| 1044 |
available in the ~.project; book for the various types of |~.block;|. |
| 1045 |
|
| 1046 |
&= Design Macro& Element |
| 1047 |
---- |
| 1048 |
~foreach des, design_table; |
| 1049 |
& |~.des;|& ~.design_table[des]; |
| 1050 |
~end; |
| 1051 |
&. |
| 1052 |
---- |
| 1053 |
For information on a specific type and level, |
| 1054 |
try |~.facility; ~.block; *type* *level*|. |
| 1055 |
|
| 1056 |
// The phrases for a block with a specified type and level. |
| 1057 |
|
| 1058 |
.phrase one_design_level_specific <name> |
| 1059 |
.synonym <name> macro |
| 1060 |
.synonym <block> <type> <level> |
| 1061 |
.synonym <block> <type> <level> design |
| 1062 |
.synonym <block> <type> <level> design macro |
| 1063 |
.synonym <nb-block> <type> <level> |
| 1064 |
.synonym <nb-block> <type> <level> design |
| 1065 |
.synonym <nb-block> <type> <level> design macro |
| 1066 |
.template |
| 1067 |
= |~.name;| Design Macro |
| 1068 |
|
| 1069 |
~include common_info; |
| 1070 |
|
| 1071 |
~include design_info; |
| 1072 |
|
| 1073 |
~.comment; |
| 1074 |
---- |
| 1075 |
~include gory_details; |
| 1076 |
|
| 1077 |
.phrase design_details <name> details |
| 1078 |
.template |
| 1079 |
= ~.name; Design Details |
| 1080 |
|
| 1081 |
~include common_info; |
| 1082 |
|
| 1083 |
~include design_info; |
| 1084 |
|
| 1085 |
~if not empty? inblock_set; |
| 1086 |
The design is modified when the block appears inside these surrounding blocks: |
| 1087 |
~foreach blk,inblock_set,iter;~,blk,iter /= 1;~end; |
| 1088 |
~fi; |
| 1089 |
|
| 1090 |
Here is a table of all the parameter values set by this design macro. |
| 1091 |
|
| 1092 |
&= Parameter& Type& Value& Note |
| 1093 |
---- |
| 1094 |
~foreach param, type_table; |
| 1095 |
& |~.param;|& ~.type_table[param];& |~.value_table[param];|& ~.note_table[param]; |
| 1096 |
~end; |
| 1097 |
&. |
| 1098 |
|
| 1099 |
~if affected?; |
| 1100 |
(Some parameters may be missing due to design changes caused by variants |
| 1101 |
or nesting inside outer blocks.) |
| 1102 |
~fi; |
| 1103 |
---- |
| 1104 |
For the complete story on this design, see ~.where;. |
| 1105 |
|
| 1106 |
// Dimen registers |
| 1107 |
|
| 1108 |
.phrase dimens dimension registers : text |
| 1109 |
.synonym dimensions |
| 1110 |
.template |
| 1111 |
= Dimen(sion) Registers |
| 1112 |
|
| 1113 |
A dimen register contains a dimension that can be used as the width, |
| 1114 |
height, or depth of a box, an indentation amount, a page dimension, etc. |
| 1115 |
|
| 1116 |
A dimen register is accessed and set as follows: |
| 1117 |
|
| 1118 |
| \*name* |
| 1119 |
| \*name* = *dimension* |
| 1120 |
|
| 1121 |
Dimensions are rarely used directly in book files. |
| 1122 |
---- |
| 1123 |
For a list of all dimen registers, try |~.facility; all dimens|.&/ |
| 1124 |
For information on a particular dimen register, try |~.facility; \*name*|. |
| 1125 |
|
| 1126 |
.phrase all_dimens all dimension registers |
| 1127 |
.synonym all dimensions |
| 1128 |
.template |
| 1129 |
= List of Dimen(sion) Registers |
| 1130 |
|
| 1131 |
This is the list of all dimen registers available in ZzTeX. |
| 1132 |
|
| 1133 |
&= Register& Description |
| 1134 |
---- |
| 1135 |
~foreach reg, reg_table; |
| 1136 |
& |~.reg;|& ~.reg_table[reg]; |
| 1137 |
~end; |
| 1138 |
&. |
| 1139 |
~include internal_note; |
| 1140 |
---- |
| 1141 |
For more information, try |~.facility; dimen registers| |
| 1142 |
|
| 1143 |
.phrase one_dimen <name> |
| 1144 |
.synonym <name> dimension |
| 1145 |
.synonym dimension <name> |
| 1146 |
.synonym <name> register |
| 1147 |
.synonym register <name> |
| 1148 |
.synonym <name> dimension register |
| 1149 |
.synonym dimension register <name> |
| 1150 |
.template |
| 1151 |
= |~.name;| Dimen(sion) Register |
| 1152 |
|
| 1153 |
~include common_info; |
| 1154 |
|
| 1155 |
~.comment; |
| 1156 |
|
| 1157 |
Default: |~.default;| |
| 1158 |
|
| 1159 |
A dimen(sion) register contains a dimension that can be used as the width, |
| 1160 |
height, or depth of a box, an indentation amount, a page dimension, etc. |
| 1161 |
---- |
| 1162 |
For more information, try |~.facility; dimens| |
| 1163 |
|
| 1164 |
// Encodings |
| 1165 |
|
| 1166 |
.phrase encodings style encodings |
| 1167 |
.synonym encodings |
| 1168 |
.synonym font encodings |
| 1169 |
.template |
| 1170 |
= Style Encodings |
| 1171 |
|
| 1172 |
A style encoding is an integer value that specifies the overall organization |
| 1173 |
of the fonts associated with that style. For example: |
| 1174 |
|
| 1175 |
* \encoderoman is the encoding for typical Roman text fonts. |
| 1176 |
* \encodeitalic is the encoding for typical italic text fonts. |
| 1177 |
* \encodemathitalic is the encoding for math fonts containing |
| 1178 |
italic letters for use as variables. |
| 1179 |
*. |
| 1180 |
|
| 1181 |
The encoding for a type style is specified in the |\definetypestyle| |
| 1182 |
command for that style. |
| 1183 |
|
| 1184 |
Here are all the style encodings supported by ZzTeX. |
| 1185 |
|
| 1186 |
&= Encoding& Value& Meaning |
| 1187 |
---- |
| 1188 |
~foreach val, value_set; |
| 1189 |
& ~.encoding_table[val];& ~.val;& ~.meaning_table[val]; |
| 1190 |
~end; |
| 1191 |
&. |
| 1192 |
---- |
| 1193 |
For a list of type styles and their encodings, try |~.facility; type styles|. |
| 1194 |
|
| 1195 |
.phrase one_encoding <name> |
| 1196 |
.synonym <name> encoding |
| 1197 |
.synonym encoding <name> |
| 1198 |
.synonym <name> style encoding |
| 1199 |
.synonym style encoding <name> |
| 1200 |
.synonym <name> font encoding |
| 1201 |
.synonym font encoding <name> |
| 1202 |
.template |
| 1203 |
= |~.name;| Style Encoding |
| 1204 |
|
| 1205 |
~include common_info; |
| 1206 |
|
| 1207 |
~.comment; |
| 1208 |
|
| 1209 |
Value: ~.value; |
| 1210 |
|
| 1211 |
A style encoding is an integer value that specifies the overall organization |
| 1212 |
of the fonts associated with that style. |
| 1213 |
---- |
| 1214 |
For more information and list of all encodings, try |~.facility; style encodings| |
| 1215 |
|
| 1216 |
// End-of-enunciation dingbats |
| 1217 |
|
| 1218 |
.phrase eoe_dingbats end-of-enunciation dingbats : text |
| 1219 |
.synonym dingbats |
| 1220 |
.synonym eoe dingbats |
| 1221 |
.synonym enunciation dingbats |
| 1222 |
.template |
| 1223 |
= End-of-Enunciation Dingbats |
| 1224 |
|
| 1225 |
An end-of-enunciation dingbat (eoe dingbat) is an icon that is set |
| 1226 |
at the end of an enunciation. A mathemtical proof, for example, almost |
| 1227 |
always has a dingbat at the end. The command for the dingbat would be |
| 1228 |
|\qed|. |
| 1229 |
|
| 1230 |
The dingbat is set automatically at the end of the enunciation, or you |
| 1231 |
can specify it explicitly using its command name. |
| 1232 |
---- |
| 1233 |
For information on a specific dingbat, try |~.facility; \*name*| |
| 1234 |
|
| 1235 |
// (Assumes that the 'one_command' group will also be populated.) |
| 1236 |
.phrase one_eoe_dingbat <name> dingbat |
| 1237 |
.synonym dingbat <name> |
| 1238 |
.synonym <name> eoe dingbat |
| 1239 |
.synonym eoe dingbat <name> |
| 1240 |
.synonym <name> enunciation dingbat |
| 1241 |
.synonym enunciation dingbat <name> |
| 1242 |
.synonym <name> end-of-enunciation dingbat |
| 1243 |
.synonym end-of-enunciation dingbat <name> |
| 1244 |
.template |
| 1245 |
= |~.name;| End-of-Enunciation Dingbat Command |
| 1246 |
|
| 1247 |
~include common_info; |
| 1248 |
|
| 1249 |
~.comment; |
| 1250 |
|
| 1251 |
& Text of dingbat:& |~.text;| |
| 1252 |
& Position:& |~.position;| |
| 1253 |
&. |
| 1254 |
|
| 1255 |
An end-of-enunciation dingbat (eoe dingbat) is an icon that is set |
| 1256 |
at the end of an enunciation. |
| 1257 |
---- |
| 1258 |
For information on dingbats in general, try |~.facility; dingbats| |
| 1259 |
|
| 1260 |
// Enumerated Names |
| 1261 |
|
| 1262 |
.phrase one_chardef_enum <name> |
| 1263 |
.template |
| 1264 |
= ~.name; Symbolic Number |
| 1265 |
|
| 1266 |
~include common_info; |
| 1267 |
|
| 1268 |
~.comment; |
| 1269 |
|
| 1270 |
Value: ~.value; |
| 1271 |
|
| 1272 |
A symbolic number is a name assigned to a number to make it easier |
| 1273 |
to refer to the number without having to remember its value. A symbolic |
| 1274 |
number is often referred to as an *enumerated value.* |
| 1275 |
|
| 1276 |
~include internal_note; |
| 1277 |
|
| 1278 |
// Flags |
| 1279 |
|
| 1280 |
.phrase flags flags : text |
| 1281 |
.synonym booleans |
| 1282 |
.template |
| 1283 |
= Flags |
| 1284 |
|
| 1285 |
A flag is a true/false (boolean) value stored in a TeX macro |
| 1286 |
(not a register). It can be used to specify a yes/no option, |
| 1287 |
the state of some binary choice, the result of a test, etc. |
| 1288 |
|
| 1289 |
A flag is accessed and set as follows: |
| 1290 |
|
| 1291 |
| \*name* |
| 1292 |
| \setflag \*name* = \true |
| 1293 |
| \setflag \*name* = \false |
| 1294 |
|
| 1295 |
Flags are rarely used directly in book files. |
| 1296 |
---- |
| 1297 |
For a list of all flags, try |~.facility; all flags|.&/ |
| 1298 |
For information on a particular flag, try |~.facility; \*name*|. |
| 1299 |
|
| 1300 |
.phrase all_flags all flags |
| 1301 |
.synonym all booleans |
| 1302 |
.template |
| 1303 |
= List of Flags |
| 1304 |
|
| 1305 |
This is the list of all flags available in ZzTeX. |
| 1306 |
|
| 1307 |
&= Name& Description |
| 1308 |
---- |
| 1309 |
~foreach flag, flag_table; |
| 1310 |
& |~.flag;|& ~.flag_table[flag]; |
| 1311 |
~end; |
| 1312 |
&. |
| 1313 |
~include internal_note; |
| 1314 |
---- |
| 1315 |
For more information, try |~.facility; flags| |
| 1316 |
|
| 1317 |
.phrase one_flag <name> |
| 1318 |
.synonym <name> flag |
| 1319 |
.synonym flag <name> |
| 1320 |
.synonym <name> boolean |
| 1321 |
.synonym boolean <name> |
| 1322 |
.template |
| 1323 |
= |~.name;| Flag |
| 1324 |
|
| 1325 |
~include common_info; |
| 1326 |
|
| 1327 |
~.comment; |
| 1328 |
|
| 1329 |
Default: |~.default;| |
| 1330 |
|
| 1331 |
A flag is a true/false (boolean) value stored in a TeX macro |
| 1332 |
(not a register). It can be used to specify a yes/no option, |
| 1333 |
the state of some binary choice, the result of a test, etc. |
| 1334 |
---- |
| 1335 |
For more information, try |~.facility; flags| |
| 1336 |
|
| 1337 |
// Fonts |
| 1338 |
|
| 1339 |
.phrase fonts fonts : text |
| 1340 |
.synonym type fonts |
| 1341 |
.template |
| 1342 |
= Font Declarations |
| 1343 |
|
| 1344 |
A font declaration establishes the type font for the current brace |
| 1345 |
group. In TeX, a font is a specific type family and style set at a |
| 1346 |
particular size. Some common examples: |
| 1347 |
|
| 1348 |
&= Font Declaration& Family, Style, Size |
| 1349 |
---- |
| 1350 |
& |\tenhalfrm|& morg at 10.5pt& (|morg| is Minion-Regular) |
| 1351 |
& |\tenhalfmit|& mtmiz at 10.5pt& (|mtmiz| is MathTime Math Italic) |
| 1352 |
& |\tenhalfit|& moi at 10.5pt& (|moi| is Minion-Italic) |
| 1353 |
& |\twelvedbf|& Flama-Bold at 12pt |
| 1354 |
&. |
| 1355 |
|
| 1356 |
Font declarations are never used directly in design or book files, instead |
| 1357 |
operating behind the scenes when font sizes and styles are selected. |
| 1358 |
---- |
| 1359 |
For a list of all fonts in the ~.project; book, try |~.facility; all fonts|.&/ |
| 1360 |
For information about a particular font, try |~.facility; \*name*|.&/ |
| 1361 |
For information on type sizes or styles, try |~.facility; sizes| or |
| 1362 |
|~.facility; styles|. |
| 1363 |
|
| 1364 |
.phrase all_fonts all fonts |
| 1365 |
.template |
| 1366 |
= List of Fonts |
| 1367 |
|
| 1368 |
This is the list of all the fonts used in the ~.project; book. |
| 1369 |
|
| 1370 |
&= Fonts& Family, style, size |
| 1371 |
---- |
| 1372 |
~foreach font, font_table; |
| 1373 |
& |~.font;|& ~.font_table[font]; |
| 1374 |
~end; |
| 1375 |
&. |
| 1376 |
---- |
| 1377 |
For more information, try |~.facility; fonts|. |
| 1378 |
|
| 1379 |
// (Assumes that the 'one_declaration' group will also be populated.) |
| 1380 |
.phrase one_font <name> font |
| 1381 |
.synonym font <name> |
| 1382 |
.synonym <name> type font |
| 1383 |
.synonym type font <name> |
| 1384 |
.template |
| 1385 |
= |~.name;| Font Declaration |
| 1386 |
|
| 1387 |
~include common_info; |
| 1388 |
|
| 1389 |
Font: ~.font_size;. |
| 1390 |
|
| 1391 |
A font declaration establishes the type font for the current brace group. |
| 1392 |
Font declarations are never used directly in design or book files, instead |
| 1393 |
operating behind the scenes when font sizes or styles are selected. |
| 1394 |
---- |
| 1395 |
For more information on fonts, try |~.facility; fonts|.&/ |
| 1396 |
~include declaration_info; |
| 1397 |
|
| 1398 |
// Glyphs |
| 1399 |
|
| 1400 |
.phrase glyphs glyphs |
| 1401 |
|
| 1402 |
// (Assumes that the 'one_command' group will also be populated.) |
| 1403 |
.phrase one_glyph <name> glyph |
| 1404 |
.synonym glyph <name> |
| 1405 |
.template |
| 1406 |
= |~.name;| Glyph Command |
| 1407 |
|
| 1408 |
~include common_info; |
| 1409 |
|
| 1410 |
~.comment; |
| 1411 |
|
| 1412 |
Art spec: ~.art_spec; |
| 1413 |
|
| 1414 |
A glyph is a command that sets a small graphic used as an icon |
| 1415 |
or attention indicator. The glyph scales with the surrounding font. |
| 1416 |
|
| 1417 |
// Ifs |
| 1418 |
|
| 1419 |
.phrase ifs ifs : text |
| 1420 |
.synonym if flags |
| 1421 |
.template |
| 1422 |
= If Flags |
| 1423 |
|
| 1424 |
An if flag is similar to ZzTeX's flags but is only used by Plain |
| 1425 |
TeX. Because all the if flags are internal to Plain TeX and |
| 1426 |
never used in design or book files, no more information will |
| 1427 |
be provided. |
| 1428 |
|
| 1429 |
// Inserts |
| 1430 |
|
| 1431 |
.phrase inserts inserts : text |
| 1432 |
.template |
| 1433 |
= Inserts |
| 1434 |
|
| 1435 |
An insert is one or more chunks of text that are to be inserted on |
| 1436 |
the page at the top or bottom. Examples are floating figures, |
| 1437 |
floating tables, and footnotes. |
| 1438 |
|
| 1439 |
ZzTeX defines an insert for floats at the top of the page, |
| 1440 |
floats at the bottom, and footnotes. Each insert consist of |
| 1441 |
three registers needed to manage the text: a count, a dimen, |
| 1442 |
and a skip. |
| 1443 |
|
| 1444 |
Since the operation of inserts is entirely internal, there is no |
| 1445 |
additional information about them. |
| 1446 |
|
| 1447 |
// Lets |
| 1448 |
|
| 1449 |
.phrase one_let <name> |
| 1450 |
.synonym <name>=\%:\.percent |
| 1451 |
.synonym <name>=\&:\.ampersand |
| 1452 |
.synonym <name>=\<:\.less |
| 1453 |
.synonym <name>=\>:\.greater |
| 1454 |
.synonym <name> synonym |
| 1455 |
.synonym <name>=\&:\.ampersand synonym |
| 1456 |
.synonym <name>=\%:\.percent synonym |
| 1457 |
.synonym <name>=\<:\.less synonym |
| 1458 |
.synonym <name>=\>:\.greater synonym |
| 1459 |
.synonym synonym <name> |
| 1460 |
.template |
| 1461 |
= |~.name;| Synonym |
| 1462 |
|
| 1463 |
~include common_info; |
| 1464 |
|
| 1465 |
Synonym for: |~.parent;| |
| 1466 |
|
| 1467 |
~.comment; |
| 1468 |
|
| 1469 |
A synonym is a name established with the |\let| command and is |
| 1470 |
equivalent to its "parent" command. To see information on this name's |
| 1471 |
parent command, try |~.facility; ~.parent;|. |
| 1472 |
|
| 1473 |
// Locators |
| 1474 |
|
| 1475 |
.phrase locators locators |
| 1476 |
.synonym indexing commands |
| 1477 |
.synonym indexing locators |
| 1478 |
.template |
| 1479 |
= Index Locators |
| 1480 |
|
| 1481 |
An index locator is a command that creates an entry in the |
| 1482 |
book's index. It takes an argument with one, two, or three headings |
| 1483 |
separated by bars: |
| 1484 |
|
| 1485 |
\xpage{Main|subhead} |
| 1486 |
|
| 1487 |
Some locators can specify a page range, in which case there are |
| 1488 |
two additional commands: |
| 1489 |
|
| 1490 |
\xpagebegin{Main|subhead} |
| 1491 |
\xpageend{Main|subhead} |
| 1492 |
|
| 1493 |
If it is a command like |\xsee| and |\xseealso|, it takes an additional |
| 1494 |
first argument with the heading to consult. In this example, the heading |
| 1495 |
|Synonym| will refer to the heading |Primary|: |
| 1496 |
|
| 1497 |
\xsee{Primary}{Synonym} |
| 1498 |
|
| 1499 |
The following locators are available for the ~.project; book: |
| 1500 |
|
| 1501 |
&= & Begin/end& See-like |
| 1502 |
&= Command& commands?& reference? |
| 1503 |
---- |
| 1504 |
~foreach i, command_list; |
| 1505 |
& |~.command_list[i];|& ~.range_list[i];& ~.refers_list[i]; |
| 1506 |
~end; |
| 1507 |
&. |
| 1508 |
---- |
| 1509 |
~include indexing_info; |
| 1510 |
|
| 1511 |
// (Assumes that the 'one_command' group will also be populated.) |
| 1512 |
.phrase one_locator <name> locator |
| 1513 |
.synonym locator <name> |
| 1514 |
.synonym <name> indexer |
| 1515 |
.synonym indexer <name> |
| 1516 |
.synonym <name> indexing command |
| 1517 |
.synonym indexing command <name> |
| 1518 |
.synonym <name> locator command |
| 1519 |
.synonym locator command <name> |
| 1520 |
.template |
| 1521 |
= |~.name;| Index Locator Command |
| 1522 |
|
| 1523 |
~include common_info; |
| 1524 |
|
| 1525 |
~.comment; |
| 1526 |
|
| 1527 |
An index locator is a command that creates an entry in the book's index. |
| 1528 |
The format of this locator command is shown above. There is one command |
| 1529 |
if this kind of locator can only specify a single page. There are three |
| 1530 |
commands if it can specify a single page or a page range. The commands for |
| 1531 |
this locator are: |
| 1532 |
|
| 1533 |
~foreach cmd, command_list; |
| 1534 |
* ~.command_list[cmd]; |
| 1535 |
~end; |
| 1536 |
*. |
| 1537 |
---- |
| 1538 |
For more information on locators, try |~.facility; locators|. |
| 1539 |
|
| 1540 |
// Marks |
| 1541 |
|
| 1542 |
.phrase marks marks |
| 1543 |
.synonym page marks |
| 1544 |
.template |
| 1545 |
= Mark Pseudo-Commands |
| 1546 |
|
| 1547 |
A mark is a chunk of text inserted into the current page using the |
| 1548 |
|\mark| command. The purpose of a mark is to hold information |
| 1549 |
for running heads and feet. This information can be extracted from |
| 1550 |
the page using pseudo-commands such as |\topmark| in the header |
| 1551 |
and footer formatting macros. |
| 1552 |
|
| 1553 |
The |\mark| command and the extracting pseudo-commands are not used |
| 1554 |
directly in ZzTeX design or book files. Instead, |\setmarkinfo| and |
| 1555 |
|\markinfo| are used. |
| 1556 |
|
| 1557 |
Here is a list of all the mark pseudo-commands. |
| 1558 |
|
| 1559 |
&= Command& Description |
| 1560 |
---- |
| 1561 |
~foreach mark, desc_table; |
| 1562 |
& |~.mark;|& ~.desc_table[mark]; |
| 1563 |
~end; |
| 1564 |
&. |
| 1565 |
|
| 1566 |
(Do not confuse marks with markers.) |
| 1567 |
---- |
| 1568 |
For information on a specific mark, try |~.facility; \*name*|. |
| 1569 |
|
| 1570 |
.phrase one_mark <name> |
| 1571 |
.synonym <name> mark |
| 1572 |
.synonym mark <name> |
| 1573 |
.synonym <name> page mark |
| 1574 |
.synonym page mark <name> |
| 1575 |
.template |
| 1576 |
= |~.name;| Mark Pseudo-Command |
| 1577 |
|
| 1578 |
~include common_info; |
| 1579 |
|
| 1580 |
~.comment; |
| 1581 |
|
| 1582 |
A mark is a chunk of text inserted into the current page using the |
| 1583 |
|\mark| command. The purpose of a mark is to hold information |
| 1584 |
for running heads and feet. |
| 1585 |
---- |
| 1586 |
For more information on marks, try |~.facility; marks|. |
| 1587 |
|
| 1588 |
// Markers |
| 1589 |
|
| 1590 |
.phrase markers markers |
| 1591 |
.synonym argument markers |
| 1592 |
.synonym command markers |
| 1593 |
.template |
| 1594 |
= Markers |
| 1595 |
|
| 1596 |
A marker indicates a point in a command argument where the following |
| 1597 |
text is interpreted differently from the preceding text. For example, |
| 1598 |
|
| 1599 |
$$ |
| 1600 |
a = b \eqno |
| 1601 |
$$ |
| 1602 |
|
| 1603 |
The |\eqno| marker indicates that the following text (empty in this |
| 1604 |
example) should be interpreted as the equation number. |
| 1605 |
|
| 1606 |
Here is a list of all the markers provided by ZzTeX. |
| 1607 |
|
| 1608 |
&= Marker& Meaning |
| 1609 |
---- |
| 1610 |
~foreach marker, comment_table; |
| 1611 |
& |~.marker;|& ~.comment_table[marker]; |
| 1612 |
~end; |
| 1613 |
&. |
| 1614 |
|
| 1615 |
(Do not confuse markers with marks.) |
| 1616 |
---- |
| 1617 |
For information on a specific marker, try |~.facility; \*name*|. |
| 1618 |
|
| 1619 |
.phrase one_marker <name> |
| 1620 |
.synonym <name> marker |
| 1621 |
.synonym marker <name> |
| 1622 |
.template |
| 1623 |
= |~.name;| Marker |
| 1624 |
|
| 1625 |
~include common_info; |
| 1626 |
|
| 1627 |
~.comment; |
| 1628 |
|
| 1629 |
A marker indicates a point in a command argument where the following |
| 1630 |
text is interpreted differently from the preceding text. |
| 1631 |
---- |
| 1632 |
For more information on markers, try |~.facility; markers|. |
| 1633 |
|
| 1634 |
// Math accents |
| 1635 |
|
| 1636 |
.phrase math_accents math accents |
| 1637 |
.template |
| 1638 |
= Math Accent Commands |
| 1639 |
|
| 1640 |
A math accent command produces an accent over a math character. |
| 1641 |
For example, |
| 1642 |
|
| 1643 |
x = y \times \hat{a} |
| 1644 |
|
| 1645 |
produces |
| 1646 |
|
| 1647 |
& *x* = *y* × *â* |
| 1648 |
&. |
| 1649 |
|
| 1650 |
Here is a list of all the math accent commands. |
| 1651 |
|
| 1652 |
&= Command& Description |
| 1653 |
---- |
| 1654 |
~foreach acc, accent_table; |
| 1655 |
& |~.acc;|& ~.accent_table[acc]; |
| 1656 |
~end; |
| 1657 |
&. |
| 1658 |
~include internal_note; |
| 1659 |
---- |
| 1660 |
For information on a specific accent, try |~.facility; \*name*|. |
| 1661 |
|
| 1662 |
// (Assumes that the 'one_command' group will also be populated.) |
| 1663 |
.phrase one_math_accent <name> accent |
| 1664 |
.synonym accent <name> |
| 1665 |
.synonym <name> math accent |
| 1666 |
.synonym math accent <name> |
| 1667 |
.template |
| 1668 |
= |~.name;| Math Accent Command |
| 1669 |
|
| 1670 |
~include common_info; |
| 1671 |
|
| 1672 |
~.comment; |
| 1673 |
|
| 1674 |
A math accent command produces an accent over a math character. |
| 1675 |
---- |
| 1676 |
For a list of all math accents, try |~.facility; math accents|. |
| 1677 |
|
| 1678 |
// Math characters |
| 1679 |
|
| 1680 |
// (Assumes that the 'one_command' group will also be populated.) |
| 1681 |
.phrase one_math_char <name> character |
| 1682 |
.synonym character <name> |
| 1683 |
.synonym <name> symbol |
| 1684 |
.synonym symbol <name> |
| 1685 |
.synonym <name> math character |
| 1686 |
.synonym math character <name> |
| 1687 |
.synonym <name> math symbol |
| 1688 |
.synonym math symbol <name> |
| 1689 |
.template |
| 1690 |
= |~.name;| Math Character |
| 1691 |
|
| 1692 |
~include common_info; |
| 1693 |
|
| 1694 |
~.comment; |
| 1695 |
|
| 1696 |
This command sets a math character or symbol with the following properties. |
| 1697 |
|
| 1698 |
& Math class:& |~.math_class;| |
| 1699 |
& Math family:& |~.math_family;| |
| 1700 |
& Font position:& ~.position; |
| 1701 |
&. |
| 1702 |
|
| 1703 |
// Math character constants |
| 1704 |
|
| 1705 |
.phrase one_math_char_constant <name> |
| 1706 |
|
| 1707 |
// Math classes |
| 1708 |
|
| 1709 |
.phrase math_classes math classes |
| 1710 |
.synonym classes |
| 1711 |
.template |
| 1712 |
= Math Classes |
| 1713 |
|
| 1714 |
Each math character and subexpression is assigned to one of the |
| 1715 |
math classes shown below. The class determines how the character or |
| 1716 |
subexpression is formatted. In particular, it determines the amount |
| 1717 |
of space on each side of it. Each class is assigned a number, although |
| 1718 |
you never need to worry about them. |
| 1719 |
|
| 1720 |
You can force a math expression into a particular class using the |
| 1721 |
commands in the following table. Each takes an argument that is |
| 1722 |
the expression to be classified. For example: |
| 1723 |
|
| 1724 |
x \mathbin{.} y |
| 1725 |
|
| 1726 |
This forces the period to act like a binary operator, thus being set |
| 1727 |
with a thin space on either side of it. |
| 1728 |
|
| 1729 |
&= Class& Number& Class Command& Description |
| 1730 |
---- |
| 1731 |
~foreach i, class_list; |
| 1732 |
& |~.class_list[i];|& ~.i;& |~.command_list[i];|& ~.desc_list[i]; |
| 1733 |
~end; |
| 1734 |
&. |
| 1735 |
|
| 1736 |
.phrase one_chardef_math_class <name> |
| 1737 |
.synonym <name> math class |
| 1738 |
.synonym math class <name> |
| 1739 |
.synonym <name> class |
| 1740 |
.synonym class <name> |
| 1741 |
.template |
| 1742 |
= |~.name;| Math Class |
| 1743 |
|
| 1744 |
~include common_info; |
| 1745 |
|
| 1746 |
~.comment; |
| 1747 |
|
| 1748 |
Value: ~.value; |
| 1749 |
|
| 1750 |
Each math character and subexpression is assigned to a math class. |
| 1751 |
The class determines how the character or subexpression is formatted. |
| 1752 |
---- |
| 1753 |
For more information and list of all math classes, try |~.facility; math classes|. |
| 1754 |
|
| 1755 |
// (Assumes that the 'one_command' group will also be populated.) |
| 1756 |
.phrase one_command_math_class <name> math class |
| 1757 |
.synonym math class <name> |
| 1758 |
.synonym <name> class |
| 1759 |
.synonym class <name> |
| 1760 |
.template |
| 1761 |
= |~.name;| Math Class Command |
| 1762 |
|
| 1763 |
~include common_info; |
| 1764 |
|
| 1765 |
~.comment; |
| 1766 |
|
| 1767 |
A math class command forces its argument to be interpreted |
| 1768 |
according to a particular math class (specified above) rather than its standard |
| 1769 |
math class. |
| 1770 |
---- |
| 1771 |
For more information on math classes, try |~.facility; math classes|.&/ |
| 1772 |
~include command_info; |
| 1773 |
|
| 1774 |
// Math families |
| 1775 |
|
| 1776 |
.phrase math_families math families : text |
| 1777 |
.synonym family |
| 1778 |
.synonym families |
| 1779 |
.synonym type family |
| 1780 |
.synonym type families |
| 1781 |
.template |
| 1782 |
= Math Families |
| 1783 |
|
| 1784 |
A math family is a number that is assigned to a type style so the |
| 1785 |
style can be used in math expressions. Associated with the family |
| 1786 |
are three fonts, one each for text size, script size, and scriptscript |
| 1787 |
size. A type style cannot be used in math without a family number. |
| 1788 |
This is occasionally a problem because there is a limit of 15 families. |
| 1789 |
---- |
| 1790 |
For information about a particular family, try |~.facility; \*xx*fam|; |
| 1791 |
for example, |~.facility; \rmfam|&/ |
| 1792 |
For a list of type styles and their associated families, |
| 1793 |
try |~.facility; type styles|. |
| 1794 |
|
| 1795 |
.phrase one_math_family <name> |
| 1796 |
.synonym family <name> |
| 1797 |
.synonym <name> family |
| 1798 |
.synonym <name> math family |
| 1799 |
.synonym <name> type family |
| 1800 |
.synonym math family <name> |
| 1801 |
.synonym type family <name> |
| 1802 |
.template |
| 1803 |
= |~.name;| Math Family |
| 1804 |
|
| 1805 |
~include common_info; |
| 1806 |
|
| 1807 |
~.comment; |
| 1808 |
|
| 1809 |
& Type style:& |~.style;| |
| 1810 |
& Family number:& ~.number; |
| 1811 |
&. |
| 1812 |
|
| 1813 |
A math family is a number assigned to a type style so the style |
| 1814 |
can be used in math expressions. Only families 0--14 are usable |
| 1815 |
in math. |
| 1816 |
---- |
| 1817 |
For more information on math families, try |~.facility; math families| |
| 1818 |
|
| 1819 |
// Math functions |
| 1820 |
|
| 1821 |
.phrase math_functions math functions : text |
| 1822 |
.synonym functions |
| 1823 |
.template |
| 1824 |
= Math Functions |
| 1825 |
|
| 1826 |
Math functions are commands that set the names of mathematical functions |
| 1827 |
such as sin and max. If the command is followed by a fence, the fence |
| 1828 |
abuts the name. Otherwise a thin space follows the name. For example, |
| 1829 |
|
| 1830 |
... the $\sin x$ and the $\sin(x)$ are both ways of writing ... |
| 1831 |
|
| 1832 |
produces |
| 1833 |
|
| 1834 |
& ... the sin *x* and the sin(*x*) are both ways of writing ... |
| 1835 |
&. |
| 1836 |
---- |
| 1837 |
For information on a specific function, try |~.facility; \*name*| |
| 1838 |
|
| 1839 |
// (Assumes that the 'one_command' group will also be populated.) |
| 1840 |
.phrase one_math_function <name> function |
| 1841 |
.synonym function <name> |
| 1842 |
.synonym <name> math function |
| 1843 |
.synonym math function <name> |
| 1844 |
.template |
| 1845 |
= |~.name;| Math Function |
| 1846 |
|
| 1847 |
~include common_info; |
| 1848 |
|
| 1849 |
~.comment; |
| 1850 |
|
| 1851 |
& Sets:& ~.function; |
| 1852 |
& Limits:& ~.limits; |
| 1853 |
&. |
| 1854 |
|
| 1855 |
A math function is a command that sets a math function name, |
| 1856 |
usually in roman. |
| 1857 |
---- |
| 1858 |
For more information, try |~.facility; math functions| |
| 1859 |
|
| 1860 |
// Math joined symbols |
| 1861 |
|
| 1862 |
// (Assumes that the 'one_command' group will also be populated.) |
| 1863 |
.phrase one_math_joined <name> joined math symbol |
| 1864 |
.synonym joined math symbol <name> |
| 1865 |
.synonym <name> joined symbol |
| 1866 |
.synonym joined symbol <name> |
| 1867 |
.synonym <name> math symbol |
| 1868 |
.synonym math symbol <name> |
| 1869 |
.template |
| 1870 |
= |~.name;| Joined Math Symbol |
| 1871 |
|
| 1872 |
~include common_info; |
| 1873 |
|
| 1874 |
~.comment; |
| 1875 |
|
| 1876 |
A joined math symbol is constructed by adjoining one symbol |
| 1877 |
with another. In this case, the symbol is built as: |
| 1878 |
|
| 1879 |
~.left; ~.right; |
| 1880 |
---- |
| 1881 |
~include math_class_info; |
| 1882 |
|
| 1883 |
// Math stacked symbols |
| 1884 |
|
| 1885 |
// (Assumes that the 'one_command' group will also be populated.) |
| 1886 |
.phrase one_math_stacked <name> stacked math symbol |
| 1887 |
.synonym stacked math symbol <name> |
| 1888 |
.synonym <name> stacked symbol |
| 1889 |
.synonym stacked symbol <name> |
| 1890 |
.synonym <name> math symbol |
| 1891 |
.synonym math symbol <name> |
| 1892 |
.template |
| 1893 |
= |~.name;| Stacked Math Symbol |
| 1894 |
|
| 1895 |
~include common_info; |
| 1896 |
|
| 1897 |
~.comment; |
| 1898 |
|
| 1899 |
A stacked math symbol is constructed by stacking one symbol |
| 1900 |
on top of another. In this case, the symbol is built as: |
| 1901 |
|
| 1902 |
~.above; |
| 1903 |
~.below; |
| 1904 |
---- |
| 1905 |
~include math_class_info; |
| 1906 |
|
| 1907 |
// Muskip registers |
| 1908 |
|
| 1909 |
.phrase muskips muskip registers : text |
| 1910 |
.synonym muskips |
| 1911 |
.template |
| 1912 |
= Muskip Registers |
| 1913 |
|
| 1914 |
A muskip register contains a glue value (nominal, stretch, shrink) |
| 1915 |
measured in math mu units (1/18 em). It can specify a horizontal space |
| 1916 |
to be used in math. Muskip registers are only used in math. |
| 1917 |
|
| 1918 |
A muskip register is accessed and set as follows: |
| 1919 |
|
| 1920 |
| \*name* |
| 1921 |
| \*name* = *mu-glue* |
| 1922 |
|
| 1923 |
Muskip registers are never used directly in book files. |
| 1924 |
---- |
| 1925 |
For a list of all muskip registers, try |~.facility; all muskips|.&/ |
| 1926 |
For information on a particular muskip register, try |~.facility; \*name*|. |
| 1927 |
|
| 1928 |
.phrase all_muskips all muskip registers |
| 1929 |
.synonym all muskips |
| 1930 |
.template |
| 1931 |
= List of Muskip Registers |
| 1932 |
|
| 1933 |
This is the list of all muskip registers available in ZzTeX. |
| 1934 |
|
| 1935 |
&= Register& Description |
| 1936 |
---- |
| 1937 |
~foreach reg, reg_table; |
| 1938 |
& |~.reg;|& ~.reg_table[reg]; |
| 1939 |
~end; |
| 1940 |
&. |
| 1941 |
~include internal_note; |
| 1942 |
---- |
| 1943 |
For more information, try |~.facility; muskip registers| |
| 1944 |
|
| 1945 |
.phrase one_muskip <name> |
| 1946 |
.synonym <name> muskip |
| 1947 |
.synonym muskip <name> |
| 1948 |
.synonym <name> register |
| 1949 |
.synonym register <name> |
| 1950 |
.synonym <name> muskip register |
| 1951 |
.synonym muskip register <name> |
| 1952 |
.template |
| 1953 |
= |~.name;| Muskip Register |
| 1954 |
|
| 1955 |
~include common_info; |
| 1956 |
|
| 1957 |
~.comment; |
| 1958 |
|
| 1959 |
Default: |~.default;| |
| 1960 |
|
| 1961 |
A muskip register contains a glue value (nominal, stretch, shrink) |
| 1962 |
measured in math mu units (1/18 em). It can specify a horizontal space |
| 1963 |
to be used in math. |
| 1964 |
---- |
| 1965 |
For more information, try |~.facility; muskips| |
| 1966 |
|
| 1967 |
// Math \text command |
| 1968 |
|
| 1969 |
.phrase math_text math \text : text |
| 1970 |
.template |
| 1971 |
= Math |\text| Command |
| 1972 |
|
| 1973 |
There is a |\text| command that can be used in math expressions |
| 1974 |
to typeset its argument in text mode. |
| 1975 |
|
| 1976 |
Usage: |\text{*text*}| |
| 1977 |
|
| 1978 |
For example, |
| 1979 |
|
| 1980 |
$$ |
| 1981 |
x = 0.999\ldots = 1\quad \text{(see limits description)} |
| 1982 |
$$ |
| 1983 |
|
| 1984 |
This math display would be set as follows. |
| 1985 |
|
| 1986 |
& *x* = 0.999... = 1&_(see limits description) |
| 1987 |
&. |
| 1988 |
|
| 1989 |
Note that this |\text| command is only defined in math mode. |
| 1990 |
|
| 1991 |
// Named Characters |
| 1992 |
|
| 1993 |
.phrase one_named_char <name> |
| 1994 |
.synonym <name>=\|:\.bar |
| 1995 |
.synonym <name> character |
| 1996 |
.synonym <name>=\|:\.bar character |
| 1997 |
.synonym character <name> |
| 1998 |
.template |
| 1999 |
= ~.name; Named Character |
| 2000 |
|
| 2001 |
~include common_info; |
| 2002 |
|
| 2003 |
~.comment; |
| 2004 |
|
| 2005 |
Font position: |~.position;| |
| 2006 |
|
| 2007 |
A named character is a single character that is not on the keyboard but is |
| 2008 |
assigned a name so that it can be easily typed. Some named characters also |
| 2009 |
have a character command synonym (e.g., |\@| = |\atsign|). |
| 2010 |
|
| 2011 |
// Page make-up |
| 2012 |
|
| 2013 |
.phrase page_makeup page make-up |
| 2014 |
.synonym page makeup |
| 2015 |
.synonym paging |
| 2016 |
.template |
| 2017 |
= Page Make-Up |
| 2018 |
|
| 2019 |
Page make-up is the process of formatting the text on each |
| 2020 |
page of a book. In particular, it involves deciding what |
| 2021 |
text should appear on each page and on each spread. |
| 2022 |
|
| 2023 |
The following ZzTeX commands can help with page make-up. |
| 2024 |
|
| 2025 |
~foreach name, makeup_set; |
| 2026 |
* |~.name;| |
| 2027 |
~end; |
| 2028 |
*. |
| 2029 |
|
| 2030 |
// Penalties |
| 2031 |
|
| 2032 |
.phrase penalties penalties |
| 2033 |
.synonym penalty |
| 2034 |
.template |
| 2035 |
= Penalties |
| 2036 |
|
| 2037 |
A penalty is a number that specifies how much TeX should favor or |
| 2038 |
disfavor a line break or page break. Positive penalties cause TeX |
| 2039 |
to disfavor breaks, while negative penalties cause it to favor breaks. |
| 2040 |
Penalties range from -10,000 (meaning always break) to +10,000 (meaning |
| 2041 |
never break). |
| 2042 |
|
| 2043 |
Penalties are used in commands such as |\vpenalty|, |\linebreak|, and |
| 2044 |
|\columnbreak|. These commands are rarely used in book files. |
| 2045 |
|
| 2046 |
Here is a table of all the available penalties. |
| 2047 |
|
| 2048 |
&= Penalty& Meaning |
| 2049 |
---- |
| 2050 |
~foreach name, comment_table; |
| 2051 |
& |~.name;|& ~.comment_table[name]; |
| 2052 |
~end; |
| 2053 |
&. |
| 2054 |
|
| 2055 |
.phrase one_penalty <name> |
| 2056 |
.synonym <name> penalty |
| 2057 |
.synonym penalty <name> |
| 2058 |
.template |
| 2059 |
= |~.name;| Penalty |
| 2060 |
|
| 2061 |
~include common_info; |
| 2062 |
|
| 2063 |
~.comment; |
| 2064 |
---- |
| 2065 |
For more information, try |~.facility; penalties|. |
| 2066 |
|
| 2067 |
// Prefixes |
| 2068 |
|
| 2069 |
.phrase prefixes prefixes |
| 2070 |
.synonym command prefixes |
| 2071 |
.template |
| 2072 |
= Prefixes |
| 2073 |
|
| 2074 |
A prefix specifies an attribute of the name being defined |
| 2075 |
using |\def| and related commands. It also specifies an |
| 2076 |
attribute of I/O operations. |
| 2077 |
|
| 2078 |
Here is a list of all the prefixes. |
| 2079 |
|
| 2080 |
&= Prefix& Description |
| 2081 |
---- |
| 2082 |
~foreach pre, prefix_table; |
| 2083 |
& |~.pre;|& ~.prefix_table[pre]; |
| 2084 |
~end; |
| 2085 |
&. |
| 2086 |
|
| 2087 |
.phrase one_prefix <name> |
| 2088 |
.synonym <name> prefix |
| 2089 |
.synonym prefix <name> |
| 2090 |
.synonym <name> command prefix |
| 2091 |
.synonym command prefix <name> |
| 2092 |
.template |
| 2093 |
= |~.name;| Prefix |
| 2094 |
|
| 2095 |
~include common_info; |
| 2096 |
|
| 2097 |
~.comment; |
| 2098 |
|
| 2099 |
A prefix specifies an attribute of the name being defined |
| 2100 |
using |\def| and related commands. It also specifies an |
| 2101 |
attribute of I/O operations. |
| 2102 |
---- |
| 2103 |
For more information, try |~.facility; prefixes|. |
| 2104 |
|
| 2105 |
// Skip (Glue) registers |
| 2106 |
|
| 2107 |
.phrase skips skip registers : text |
| 2108 |
.synonym skips |
| 2109 |
.synonym glue registers |
| 2110 |
.synonym glues |
| 2111 |
.template |
| 2112 |
= Skip Registers |
| 2113 |
|
| 2114 |
A skip register contains a glue value (nominal, stretch, shrink) |
| 2115 |
that can specify a horizontal or vertical space, a left or right |
| 2116 |
indentation, a gutter, etc. |
| 2117 |
|
| 2118 |
A skip register is accessed and set as follows: |
| 2119 |
|
| 2120 |
| \*name* |
| 2121 |
| \*name* = *glue* |
| 2122 |
|
| 2123 |
Skip registers are never used directly in book files. |
| 2124 |
---- |
| 2125 |
For a list of all skip registers, try |~.facility; all skips|.&/ |
| 2126 |
For information on a particular skip register, try |~.facility; \*name*|. |
| 2127 |
|
| 2128 |
.phrase all_skips all skip registers |
| 2129 |
.synonym all skips |
| 2130 |
.synonym all glue registers |
| 2131 |
.template |
| 2132 |
= List of Skip (Glue) Registers |
| 2133 |
|
| 2134 |
This is the list of all skip registers available in ZzTeX. |
| 2135 |
|
| 2136 |
&= Register& Description |
| 2137 |
---- |
| 2138 |
~foreach reg, reg_table; |
| 2139 |
& |~.reg;|& ~.reg_table[reg]; |
| 2140 |
~end; |
| 2141 |
&. |
| 2142 |
~include internal_note; |
| 2143 |
---- |
| 2144 |
For more information, try |~.facility; skip registers| |
| 2145 |
|
| 2146 |
.phrase one_skip <name> |
| 2147 |
.synonym <name> skip |
| 2148 |
.synonym skip <name> |
| 2149 |
.synonym <name> register |
| 2150 |
.synonym register <name> |
| 2151 |
.synonym <name> skip register |
| 2152 |
.synonym skip register <name> |
| 2153 |
|
| 2154 |
.synonym <name> glue |
| 2155 |
.synonym glue <name> |
| 2156 |
.synonym <name> glue register |
| 2157 |
.synonym glue register <name> |
| 2158 |
.template |
| 2159 |
= |~.name;| Skip (Glue) Register |
| 2160 |
|
| 2161 |
~include common_info; |
| 2162 |
|
| 2163 |
~.comment; |
| 2164 |
|
| 2165 |
Default: |~.default;| |
| 2166 |
|
| 2167 |
A skip register contains a glue value (nominal, stretch, shrink) |
| 2168 |
that can specify a horizontal or vertical space, a left or right |
| 2169 |
indentation, a gutter, etc. |
| 2170 |
---- |
| 2171 |
For more information, try |~.facility; skips| |
| 2172 |
|
| 2173 |
// Spacing |
| 2174 |
|
| 2175 |
.phrase spacing spacing : text |
| 2176 |
.template |
| 2177 |
= Spacing Commands |
| 2178 |
|
| 2179 |
To see a list of commands for horizontal spacing, |
| 2180 |
try |~.facility; horizontal spacing|. |
| 2181 |
|
| 2182 |
To see a list of commands for vertical spacing, |
| 2183 |
try |~.facility; vertical spacing|. |
| 2184 |
|
| 2185 |
.phrase horizontal_spacing horizontal spacing |
| 2186 |
.template |
| 2187 |
= Horizontal Spacing |
| 2188 |
|
| 2189 |
This table presents a list of all the horizontal spacing commands |
| 2190 |
available in ZzTeX. |
| 2191 |
|
| 2192 |
A command described as *breakable* allows a preceding line break, and the |
| 2193 |
space is discarded. A command described as *unbreakable* does not allow a |
| 2194 |
preceding line break. |
| 2195 |
|
| 2196 |
~foreach cmd, comment_table; |
| 2197 |
& |~.cmd;|& ~.comment_table[cmd]; |
| 2198 |
~end; |
| 2199 |
&. |
| 2200 |
---- |
| 2201 |
For more information on any of these commands, try |~.facility; \*name*|. |
| 2202 |
|
| 2203 |
.phrase vertical_spacing vertical spacing |
| 2204 |
.template |
| 2205 |
= Vertical Spacing |
| 2206 |
|
| 2207 |
Here is a list of all the vertical spacing commands available in ZzTeX. |
| 2208 |
|
| 2209 |
~foreach name, name_set; |
| 2210 |
* |~.name;| |
| 2211 |
~end; |
| 2212 |
*. |
| 2213 |
---- |
| 2214 |
For more information on any of these commands, try |~.facility; \*name*|. |
| 2215 |
|
| 2216 |
// Suffixes |
| 2217 |
|
| 2218 |
.phrase suffixes suffixes |
| 2219 |
.synonym command suffixes |
| 2220 |
.template |
| 2221 |
= Suffixes |
| 2222 |
|
| 2223 |
A suffix can be affixed to certain math commands to specify |
| 2224 |
how limits are to be set. |
| 2225 |
|
| 2226 |
Here is a list of all the suffixes. |
| 2227 |
|
| 2228 |
&= Suffix& Description |
| 2229 |
---- |
| 2230 |
~foreach suf, suffix_table; |
| 2231 |
& |~.suf;|& ~.suffix_table[suf]; |
| 2232 |
~end; |
| 2233 |
&. |
| 2234 |
|
| 2235 |
.phrase one_suffix <name> |
| 2236 |
.synonym <name> suffix |
| 2237 |
.synonym suffix <name> |
| 2238 |
.synonym <name> command suffix |
| 2239 |
.synonym command suffix <name> |
| 2240 |
.template |
| 2241 |
= |~.name;| Suffix |
| 2242 |
|
| 2243 |
~include common_info; |
| 2244 |
|
| 2245 |
~.comment; |
| 2246 |
|
| 2247 |
A suffix can be affixed to certain math commands to specify |
| 2248 |
how limits are to be set. |
| 2249 |
---- |
| 2250 |
For more information, try |~.facility; suffixes|. |
| 2251 |
|
| 2252 |
// Titles |
| 2253 |
|
| 2254 |
.phrase titles titles |
| 2255 |
.synonym heads |
| 2256 |
.synonym adjustments |
| 2257 |
.synonym head adjustments |
| 2258 |
.synonym title adjustments |
| 2259 |
.template |
| 2260 |
= Titles and Their Adjustment |
| 2261 |
|
| 2262 |
A *title* or *head* appears in various ZzTeX commands, including |
| 2263 |
hierarchy commands such as |\chapter| and |\section|, captions, |
| 2264 |
enunciations, etc. Each of these commands takes an argument that |
| 2265 |
specifies the text of the title. |
| 2266 |
|
| 2267 |
| \chapter{*title-text*} |
| 2268 |
|
| 2269 |
The title text can appear in various places: |
| 2270 |
|
| 2271 |
* In the body of the text at the position of the |\chapter| command. |
| 2272 |
* In the running heads or feet of multiple pages. |
| 2273 |
* In the main table of contents or a "mini-ToC" such as might |
| 2274 |
appear at the beginning of each chapter. |
| 2275 |
*. |
| 2276 |
|
| 2277 |
Sometimes it is necessary to modify the title slightly when it appears in |
| 2278 |
these various places. For example, if a title has a footnote, that footnote |
| 2279 |
does not want to appear in the running head or table of contents. ZzTeX |
| 2280 |
provides the following commands that can be used within the text of a title |
| 2281 |
to make such adjustments. |
| 2282 |
|
| 2283 |
~foreach cmd, command_set; |
| 2284 |
* |~.cmd;| |
| 2285 |
~end; |
| 2286 |
*. |
| 2287 |
|
| 2288 |
// Toks registers |
| 2289 |
|
| 2290 |
.phrase toks toks registers : text |
| 2291 |
.synonym toks |
| 2292 |
.synonym tokens |
| 2293 |
.synonym token registers |
| 2294 |
.template |
| 2295 |
= Toks (Token) Registers |
| 2296 |
|
| 2297 |
A toks (token) register contains a sequence of TeX tokens (characters, commands, |
| 2298 |
spaces, etc.) that can specify a text fragment, file name, tag, options |
| 2299 |
list, etc. |
| 2300 |
|
| 2301 |
A toks register is accessed and set as follows: |
| 2302 |
|
| 2303 |
| \*name* |
| 2304 |
| \*name* = {*tokens*} |
| 2305 |
|
| 2306 |
Toks registers are never used directly in book files. |
| 2307 |
---- |
| 2308 |
For a list of all toks registers, try |~.facility; all toks|.&/ |
| 2309 |
For information on a particular toks register, try |~.facility; \*name*|. |
| 2310 |
|
| 2311 |
.phrase all_toks all toks registers |
| 2312 |
.synonym all toks |
| 2313 |
.synonym all token registers |
| 2314 |
.synonym all tokens |
| 2315 |
.template |
| 2316 |
= List of Toks (Token) Registers |
| 2317 |
|
| 2318 |
This is the list of all toks registers available in ZzTeX. |
| 2319 |
|
| 2320 |
&= Register& Description |
| 2321 |
---- |
| 2322 |
~foreach reg, reg_table; |
| 2323 |
& |~.reg;|& ~.reg_table[reg]; |
| 2324 |
~end; |
| 2325 |
&. |
| 2326 |
~include internal_note; |
| 2327 |
---- |
| 2328 |
For more information, try |~.facility; toks registers| |
| 2329 |
|
| 2330 |
.phrase one_toks <name> |
| 2331 |
.synonym <name> toks |
| 2332 |
.synonym toks <name> |
| 2333 |
.synonym <name> register |
| 2334 |
.synonym register <name> |
| 2335 |
.synonym <name> toks register |
| 2336 |
.synonym toks register <name> |
| 2337 |
|
| 2338 |
.synonym <name> token |
| 2339 |
.synonym token <name> |
| 2340 |
.synonym <name> token register |
| 2341 |
.synonym token register <name> |
| 2342 |
.template |
| 2343 |
= |~.name;| Toks (Token) Register |
| 2344 |
|
| 2345 |
~include common_info; |
| 2346 |
|
| 2347 |
~.comment; |
| 2348 |
|
| 2349 |
Default: |~.default;| |
| 2350 |
|
| 2351 |
A toks register contains a sequence of TeX tokens (characters, commands, |
| 2352 |
spaces, etc.) that can specify a text fragment, file name, tag, options |
| 2353 |
list, etc. |
| 2354 |
---- |
| 2355 |
For more information, try |~.facility; toks| |
| 2356 |
|
| 2357 |
// Style relations |
| 2358 |
|
| 2359 |
.phrase style_relations style relations |
| 2360 |
.synonym relations |
| 2361 |
.synonym font relations |
| 2362 |
.synonym type relations |
| 2363 |
.template |
| 2364 |
= Style Relation Commands |
| 2365 |
|
| 2366 |
A style relation is a command that selects a new type style for |
| 2367 |
its argument text based on the prevailing type style. The argument text |
| 2368 |
is set in the new style and then the prevailing style continues. |
| 2369 |
For example, |
| 2370 |
|
| 2371 |
| *...* a set of \emph{dependencies} on parent structures *...* |
| 2372 |
|
| 2373 |
might typeset the text as |
| 2374 |
|
| 2375 |
& *...* a set of *dependencies* on parent structures *...* |
| 2376 |
&. |
| 2377 |
|
| 2378 |
Style relation commands are used instead of the underlying type |
| 2379 |
style declarations (e.g., |\it|) for various reasons, the most |
| 2380 |
important one being that the style change is restricted to the |
| 2381 |
argument text. |
| 2382 |
|
| 2383 |
Here is a list of the relation commands available for the ~.project; |
| 2384 |
book. For more details about a particular relation, try |~.facility; |
| 2385 |
\*name*|. |
| 2386 |
|
| 2387 |
&= Relation& Where defined |
| 2388 |
---- |
| 2389 |
~foreach rel, relation_table; |
| 2390 |
& |~.rel;|& ~.relation_table[rel]; |
| 2391 |
~end; |
| 2392 |
&. |
| 2393 |
|
| 2394 |
*Note:* The |\mono| command is used like a relation, but it is |
| 2395 |
actually just a normal command. |
| 2396 |
---- |
| 2397 |
~include command_info; |
| 2398 |
|
| 2399 |
// (Assumes that the 'one_command' group will also be populated.) |
| 2400 |
.phrase one_style_relation relation <name> |
| 2401 |
.synonym <name> relation |
| 2402 |
.synonym <name> font relation |
| 2403 |
.synonym <name> style relation |
| 2404 |
.synonym <name> type relation |
| 2405 |
.synonym font relation <name> |
| 2406 |
.synonym style relation <name> |
| 2407 |
.synonym type relation <name> |
| 2408 |
.template |
| 2409 |
= |~.name;| Style Relation Command |
| 2410 |
|
| 2411 |
~include common_info; |
| 2412 |
|
| 2413 |
~.comment; |
| 2414 |
|
| 2415 |
A style relation is a command that selects a new type style for |
| 2416 |
its argument based on the prevailing type style. The argument text |
| 2417 |
is set in the new style and then the prevailing style continues. |
| 2418 |
|
| 2419 |
Here is a table of all the relationships established by this command. |
| 2420 |
|
| 2421 |
&= Prevailing& & New |
| 2422 |
&= style& & style |
| 2423 |
---- |
| 2424 |
~foreach sty, style_map; |
| 2425 |
& ~.sty;& ⇒& ~.style_map[sty]; |
| 2426 |
~end; |
| 2427 |
&. |
| 2428 |
---- |
| 2429 |
For more information on style relations and a list of all available |
| 2430 |
relations, try |~.facility; style relations|.&/ |
| 2431 |
~include command_info; |
| 2432 |
|
| 2433 |
// Tags |
| 2434 |
|
| 2435 |
.phrase tags tags : text |
| 2436 |
.template |
| 2437 |
= Tags |
| 2438 |
|
| 2439 |
A tag is a TeX name that is used to store information about a particular |
| 2440 |
spot in a book. You can tag a spot using the |\tag| command. |
| 2441 |
|
| 2442 |
\section{All About Tags} |
| 2443 |
\tag{S:about-tags} |
| 2444 |
|
| 2445 |
The following information is associated with the tag |S:about-tags|: |
| 2446 |
|
| 2447 |
* The page number on which the tag is defined. |
| 2448 |
|
| 2449 |
* The composite number text of the enclosing element (in the above example, |
| 2450 |
the section number). |
| 2451 |
|
| 2452 |
* The title or caption of the enclosing element. |
| 2453 |
*. |
| 2454 |
|
| 2455 |
The following cross-referencing commands can be used to typeset the |
| 2456 |
information asociated with a tag: |
| 2457 |
|
| 2458 |
& |\ref{*tag*}|& Set the composite number text. |
| 2459 |
& |\refpage{*tag*}|& Set the page number. |
| 2460 |
& |\reftitle{*tag*}|& Set the title (rarely used). |
| 2461 |
&. |
| 2462 |
|
| 2463 |
If the |\tag| command is used at a point in the text where there is |
| 2464 |
no surrounding taggable element, an error message is produced. In this |
| 2465 |
situation, if you only want to reference the page number, use the |\tagpageonly| |
| 2466 |
command instead. |
| 2467 |
|
| 2468 |
== Tag Names |
| 2469 |
|
| 2470 |
If you need to add a tag to a book, please follow the naming conventions |
| 2471 |
chosen by the author. If the author was haphazard, use the following |
| 2472 |
prefixes on tags of various kinds: |
| 2473 |
|
| 2474 |
&= Prefix& Meaning |
| 2475 |
---- |
| 2476 |
& |A:|& appendix |
| 2477 |
& |C:|& chapter or quasichapter |
| 2478 |
& |E:|& equation |
| 2479 |
& |F:|& figure |
| 2480 |
& |I:|& list item |
| 2481 |
& |P:|& page number of arbitrary text (with |\tagpageonly|) |
| 2482 |
& |S:|& section, subsection, etc. |
| 2483 |
& |T:|& table |
| 2484 |
& |X:|& exercise |
| 2485 |
&. |
| 2486 |
|
| 2487 |
Tags names beginning with |z*X*:|, where *X* is a capital letter, are |
| 2488 |
internal to ZzTeX. For a description of these internal tags, |
| 2489 |
try |~.facility; internal tags|. |
| 2490 |
---- |
| 2491 |
To obtain a list of all the tags in the ~.project; book, try |
| 2492 |
|~.facility; all tags|. |
| 2493 |
|
| 2494 |
.phrase internal_tags internal tags : text |
| 2495 |
.template |
| 2496 |
= Internal Tags |
| 2497 |
|
| 2498 |
Here is a list of all the internal tags used by ZzTeX. |
| 2499 |
|
| 2500 |
&= Tag prefix& Usage |
| 2501 |
---- |
| 2502 |
& |zB:|& Bibliographic entry information. |
| 2503 |
& |zE:|& Page number of frame element. |
| 2504 |
& |zF:|& Page number of float element. |
| 2505 |
& |zH:|& Error message help text. |
| 2506 |
& |zM:|& Page number of marginnote element. |
| 2507 |
& |zP:|& Page number of proofnote element. |
| 2508 |
& |zR:|& Page number of marginrule element. |
| 2509 |
& |zS:|& Composite cross-reference snapshot information. |
| 2510 |
&. |
| 2511 |
---- |
| 2512 |
For a description of tags in general, try |~.facility; tags|. |
| 2513 |
|
| 2514 |
// Type styles |
| 2515 |
|
| 2516 |
.phrase type_styles type styles |
| 2517 |
.synonym styles |
| 2518 |
.synonym font styles |
| 2519 |
.template |
| 2520 |
= Type Styles |
| 2521 |
|
| 2522 |
A type style is a declaration that establishes the current style for |
| 2523 |
text (e.g., roman, italic). As with all declarations, it pertains only |
| 2524 |
to the following text in the current brace group. |
| 2525 |
|
| 2526 |
Type styles are rarely used directly in book files. Instead, the current |
| 2527 |
style is established using a style relation command such as |\emph| or |
| 2528 |
|\bold|. To see a list of all the relation commands, try |~.facility; |
| 2529 |
type relations|. To see a list for a particular style, along with |
| 2530 |
information about that style, try |~.facility; \*style*|. |
| 2531 |
|
| 2532 |
Here are all the type styles available for the ~.project; book. |
| 2533 |
&= & & Family& Family& Usable |
| 2534 |
&= Style& Encoding& number& name& in math? |
| 2535 |
---- |
| 2536 |
~foreach fam, family_list; |
| 2537 |
& |~.style_list[fam];|& |~.encoding_list[fam];|& ~.fam;& |~.family_list[fam];|& |
| 2538 |
~.math_list[fam]; |
| 2539 |
~end; |
| 2540 |
&. |
| 2541 |
---- |
| 2542 |
For information on encodings, try |~.facility; encodings|.&/ |
| 2543 |
~include declaration_info; |
| 2544 |
|
| 2545 |
// (Assumes that the 'one_declaration' group will also be populated.) |
| 2546 |
.phrase one_type_style type style <name> |
| 2547 |
.synonym <name> style |
| 2548 |
.synonym style <name> |
| 2549 |
.synonym <name> font style |
| 2550 |
.synonym font style <name> |
| 2551 |
.template |
| 2552 |
= |~.name;| Type Style Declaration |
| 2553 |
|
| 2554 |
~include common_info; |
| 2555 |
|
| 2556 |
~.comment; |
| 2557 |
|
| 2558 |
A type style is a declaration that establishes the current style for |
| 2559 |
text (e.g., roman, italic). Instead of using the style declaration, |
| 2560 |
you should use a style relation command. Here are the style relations |
| 2561 |
pertinent to this style. |
| 2562 |
|
| 2563 |
&= Current style& Relation& New style |
| 2564 |
---- |
| 2565 |
~foreach rel, new_style; |
| 2566 |
& |~.name;|& |~.rel;|& |~.new_style[rel];| |
| 2567 |
~end; |
| 2568 |
&. |
| 2569 |
---- |
| 2570 |
For more information on type styles, try |~.facility; type styles|&/ |
| 2571 |
For more information on type relations, try |~.facility; type relations| |
| 2572 |
|
| 2573 |
// Type sizes |
| 2574 |
|
| 2575 |
.phrase type_sizes type sizes : text |
| 2576 |
.synonym sizes |
| 2577 |
.synonym font sizes |
| 2578 |
.template |
| 2579 |
= Type Sizes |
| 2580 |
|
| 2581 |
A type size is a declaration that establishes the current size |
| 2582 |
for text. As with all declarations, it pertains only |
| 2583 |
to the following text in the current brace group. |
| 2584 |
|
| 2585 |
When a type size is established, there is no current style |
| 2586 |
for the subsequent text. You must also establish a style |
| 2587 |
after establishing a size. |
| 2588 |
|
| 2589 |
{\footnotesize\it That '\it' command was necessary |
| 2590 |
to establish the style.} |
| 2591 |
|
| 2592 |
Type sizes are rarely used directly in book files. Instead, the |
| 2593 |
surrounding element (typically a block) establishes the size |
| 2594 |
for the text in that element. The main text size is always called |
| 2595 |
|\textsize|. |
| 2596 |
---- |
| 2597 |
To see a list of all the available type sizes, try |~.facility; all sizes|.&/ |
| 2598 |
To see the details of a particular size, try |~.facility; \*name*|. |
| 2599 |
|
| 2600 |
.phrase all_type_sizes all type sizes |
| 2601 |
.synonym all sizes |
| 2602 |
.synonym all font sizes |
| 2603 |
.template |
| 2604 |
= List of Type Sizes |
| 2605 |
|
| 2606 |
This is the list of all type sizes available in the ~.project; book. |
| 2607 |
|
| 2608 |
&= Size declaration& Available styles |
| 2609 |
---- |
| 2610 |
~foreach size, style_table; |
| 2611 |
& |~.size;|& |~.style_table[size];| |
| 2612 |
~end; |
| 2613 |
&. |
| 2614 |
---- |
| 2615 |
For more information, try |~.facility; type sizes|.&/ |
| 2616 |
To see the details of a particular size, try |~.facility; \*name*|. |
| 2617 |
|
| 2618 |
// (Assumes that the 'one_declaration' group will also be populated.) |
| 2619 |
.phrase one_type_size size <name> |
| 2620 |
.synonym <name> size |
| 2621 |
.synonym <name> type size |
| 2622 |
.synonym type size <name> |
| 2623 |
.synonym <name> font size |
| 2624 |
.synonym font size <name> |
| 2625 |
.template |
| 2626 |
= |~.name;| Type Size Declaration |
| 2627 |
|
| 2628 |
~include common_info; |
| 2629 |
|
| 2630 |
~.comment; |
| 2631 |
|
| 2632 |
A type size is a declaration that establishes the current size |
| 2633 |
for text. As with all declarations, it pertains only |
| 2634 |
to the following text in the current brace group. |
| 2635 |
|
| 2636 |
Here is a list of all the type styles available in |~.name;|. |
| 2637 |
|
| 2638 |
&= & Can use& Can use |
| 2639 |
&= Style& in math?& in scripts?& Family, style, size |
| 2640 |
---- |
| 2641 |
~foreach i, style_list; |
| 2642 |
& |~.style_list[i];|& ~.math_list[i];& ~.script_list[i];& ~.font_list[i]; |
| 2643 |
~end; |
| 2644 |
&. |
| 2645 |
---- |
| 2646 |
For more information on type sizes, try |~.facility; type sizes|.&/ |
| 2647 |
To see a list of all the available type sizes, try |~.facility; all sizes|. |
| 2648 |
|
| 2649 |
// Composite Cross-Reference Phrases |
| 2650 |
// --------- --------------- ------- |
| 2651 |
|
| 2652 |
|
| 2653 |
.phrase all_art_files all art files |
| 2654 |
.synonym art files |
| 2655 |
.template |
| 2656 |
= List of All Art Files for ~.project; |
| 2657 |
|
| 2658 |
This is a list of all the art files used in ~.project;, in order |
| 2659 |
by file name. |
| 2660 |
|
| 2661 |
Count: ~.*div_table; |
| 2662 |
|
| 2663 |
&= Division& Page& File& Size at scale& Reused? |
| 2664 |
---- |
| 2665 |
~foreach file, div_table; |
| 2666 |
& ~.div_table[file];& ~.page_table[file];& ~.file;& ~.size_table[file];& ~.reused_table[file]; |
| 2667 |
~end; |
| 2668 |
&. |
| 2669 |
---- |
| 2670 |
For a list of just the missing art files, try |~.facility; missing art files|. |
| 2671 |
|
| 2672 |
.phrase all_biblio_entries all bibliography entries |
| 2673 |
.synonym all bibliography tags |
| 2674 |
.synonym bibliography entry list |
| 2675 |
.synonym bibliography entries |
| 2676 |
.template |
| 2677 |
= List of All Bibliography Entries for ~.project; |
| 2678 |
|
| 2679 |
This is a list of all the bibliography entries in the ~.project; |
| 2680 |
bibliography, in order by tag. |
| 2681 |
|
| 2682 |
Count: ~.*page_table; |
| 2683 |
|
| 2684 |
&= Page& Tag& Author& Year |
| 2685 |
---- |
| 2686 |
~foreach tag, page_table; |
| 2687 |
& ~.page_table[tag];& |~.tag;|& ~.author_table[tag];& ~.year_table[tag]; |
| 2688 |
~end; |
| 2689 |
&. |
| 2690 |
|
| 2691 |
.phrase all_tags all tags |
| 2692 |
.synonym tag list |
| 2693 |
.template |
| 2694 |
= List of All Tags for ~.project; |
| 2695 |
|
| 2696 |
This is a list of all the tags used in ~.project;, |
| 2697 |
in order by tag name. |
| 2698 |
(This list does not include bibliography entry tags.) |
| 2699 |
|
| 2700 |
Count: ~.*comp_table; |
| 2701 |
|
| 2702 |
&= Tag& Comp. Text& Division& Page |
| 2703 |
---- |
| 2704 |
~foreach tag, comp_table; |
| 2705 |
& |~.tag;|& ~.comp_table[tag];& ~.div_table[tag];& ~.page_table[tag]; |
| 2706 |
~end; |
| 2707 |
&. |
| 2708 |
|
| 2709 |
Tags beginning with |\z*X*:| are internal to ZzTeX. For a description |
| 2710 |
of those tags, try |~.facility; internal tags|.&/ |
| 2711 |
---- |
| 2712 |
For a list of all the bibliography entry tags, try |~.facility; |
| 2713 |
all biblio tags|. |
| 2714 |
|
| 2715 |
.phrase book_info book information : text |
| 2716 |
.template |
| 2717 |
= Book Information |
| 2718 |
|
| 2719 |
~.facility; can show you all kinds of information about the |
| 2720 |
~.project; project. |
| 2721 |
|
| 2722 |
& |~.facility;| command words& Report produced |
| 2723 |
---- |
| 2724 |
& |overview|& Overview of the book and its design. |
| 2725 |
& |all art files|& List of all art files. |
| 2726 |
& |all biblio entries|& List of all bibliography entries. |
| 2727 |
& |all tags|& List of all tags. |
| 2728 |
& |cleanup report|& Report about cleanup of files. |
| 2729 |
& |contents|& High-level table of contents. |
| 2730 |
& |design report|& Report of elements with explanatory comments. |
| 2731 |
& |duplicate tags|& List of duplicate tags. |
| 2732 |
& |library|& List of documentation files in ZzTeX directory. |
| 2733 |
& |missing art files|& List of missing art files. |
| 2734 |
& |printer report|& Report to accompany final printer PDF. |
| 2735 |
& |proofnote list|& List of outstanding proofnotes. |
| 2736 |
& |to-do list|& List of outstanding to-dos. |
| 2737 |
& |undefined tags|& List of undefined tags. |
| 2738 |
&. |
| 2739 |
|
| 2740 |
.phrase contents contents |
| 2741 |
.synonym table of contents |
| 2742 |
.template |
| 2743 |
= Table of Contents for ~.project; |
| 2744 |
|
| 2745 |
~foreach i, page_list; |
| 2746 |
& ~.page_list[i];& ~.comp_list[i];& ~.title_list[i]; |
| 2747 |
~end; |
| 2748 |
&. |
| 2749 |
|
| 2750 |
.phrase design_report design report |
| 2751 |
.synonym compositor's design report |
| 2752 |
.template |
| 2753 |
= Design Report for ~.project; |
| 2754 |
|
| 2755 |
~include title_author_publisher_isbn; |
| 2756 |
&. |
| 2757 |
|
| 2758 |
== Summary of Design |
| 2759 |
|
| 2760 |
~include design_summary; |
| 2761 |
|
| 2762 |
Every project starts with a cleanup of the text files. |
| 2763 |
Try |~.facility; cleanup report| for a description of |
| 2764 |
the cleanup of ~.project;. |
| 2765 |
|
| 2766 |
== Documented Elements |
| 2767 |
|
| 2768 |
The following sections present the book design elements that |
| 2769 |
have specific documentation in the main design file ~.zzd_file;. |
| 2770 |
It is a good idea to review these elements at the start of a project. |
| 2771 |
|
| 2772 |
~foreach i, head_list; |
| 2773 |
~if not empty? head_list[i]; |
| 2774 |
=== ~.head_list[i]; |
| 2775 |
~fi; |
| 2776 |
|
| 2777 |
★&_~.usage_list[i]; |
| 2778 |
|
| 2779 |
~if value? style_list[i]; |
| 2780 |
& Style: ~.style_list[i]; |
| 2781 |
&. |
| 2782 |
~fi; |
| 2783 |
|
| 2784 |
~.comment_list[i]; |
| 2785 |
~end; |
| 2786 |
|
| 2787 |
.phrase duplicate_tags duplicate tags |
| 2788 |
.synonym duplicate tags list |
| 2789 |
.template |
| 2790 |
= List of Duplicate Tags for ~.project; |
| 2791 |
|
| 2792 |
This is a list of all the duplicate tags in the ~.project; book. |
| 2793 |
|
| 2794 |
Count: ~.*comp_table; |
| 2795 |
|
| 2796 |
&= Tag& Comp. Texts& Divisions& Pages |
| 2797 |
---- |
| 2798 |
~foreach tag, comp_table; |
| 2799 |
& |~.tag;|& ~.comp_table[tag];& ~.div_table[tag];& ~.page_table[tag]; |
| 2800 |
~end; |
| 2801 |
&. |
| 2802 |
---- |
| 2803 |
To see a list of all the tags, try |~.facility; all tags|. |
| 2804 |
|
| 2805 |
.phrase library library |
| 2806 |
.synonym documentation |
| 2807 |
.template |
| 2808 |
= ZzTeX Documentation library |
| 2809 |
|
| 2810 |
The following text documents are available in the ZzTeX directory. |
| 2811 |
They present details about various facilities in ZzTeX. |
| 2812 |
|
| 2813 |
&= Document& Topic |
| 2814 |
---- |
| 2815 |
~foreach file, title_table; |
| 2816 |
& ~.file;& ~.title_table[file]; |
| 2817 |
~end; |
| 2818 |
&. |
| 2819 |
|
| 2820 |
.phrase missing_art_files missing art files |
| 2821 |
.synonym missing art |
| 2822 |
.template |
| 2823 |
= List of Missing Art Files for ~.project; |
| 2824 |
|
| 2825 |
This is a list of the missing art files used in ~.project;, in order |
| 2826 |
by file name. An art file is missing if there is an |\art| command |
| 2827 |
for it but it does not exist in the art directory. |
| 2828 |
|
| 2829 |
Count: ~.*div_table; |
| 2830 |
|
| 2831 |
&= Division& Page& File& Size at scale& Reused? |
| 2832 |
---- |
| 2833 |
~foreach file, div_table; |
| 2834 |
& ~.div_table[file];& ~.page_table[file];& ~.file;& ~.size_table[file];& ~.reused_table[file]; |
| 2835 |
~end; |
| 2836 |
&. |
| 2837 |
---- |
| 2838 |
For a list of all the art files, try |~.facility; all art files|. |
| 2839 |
|
| 2840 |
.phrase printer_report printer report |
| 2841 |
.template |
| 2842 |
= Printer Report for ~.project; |
| 2843 |
|
| 2844 |
~include title_author_publisher_isbn; |
| 2845 |
& &` |
| 2846 |
& Trim:& ~.trimwidth; × ~.trimheight; |
| 2847 |
& Head&`margin:& ~.headmargin; |
| 2848 |
& Gutter:& ~.eveninnermargin; |
| 2849 |
& &` |
| 2850 |
& Fonts:& All embedded and subsetted at 100% |
| 2851 |
& Art:& All embedded |
| 2852 |
&. |
| 2853 |
|
| 2854 |
&` |
| 2855 |
|
| 2856 |
---- |
| 2857 |
Black: For 2-color books, please set Overprint Black as the default. |
| 2858 |
---- |
| 2859 |
|
| 2860 |
&` |
| 2861 |
|
| 2862 |
Paul C. Anagnostopoulos&/ |
| 2863 |
Windfall Software&/ |
| 2864 |
978 371-2316&/ |
| 2865 |
[email protected] |
| 2866 |
|
| 2867 |
&` |
| 2868 |
|
| 2869 |
= Pagination |
| 2870 |
|
| 2871 |
~foreach i, page_list; |
| 2872 |
& ~.page_list[i];& ~.comp_list[i];& ~.title_list[i]; |
| 2873 |
~end; |
| 2874 |
&. |
| 2875 |
|
| 2876 |
.phrase-dups project_overview <project> |
| 2877 |
.synonym book |
| 2878 |
.synonym overview |
| 2879 |
.synonym project |
| 2880 |
.synonym book overview |
| 2881 |
.synonym project overview |
| 2882 |
.template |
| 2883 |
= ~.project; Overview |
| 2884 |
|
| 2885 |
~include title_author_publisher_isbn; |
| 2886 |
& &` |
| 2887 |
& Processed:& ~.date; ~.time; |
| 2888 |
& ZzTeX&`version:& v~.zztex_version; |
| 2889 |
& &` |
| 2890 |
& Art&`root:& ~.art_root; |
| 2891 |
& Placing&`art?& ~.place_art; |
| 2892 |
& PDF&`hyperlinks?& ~.hyperlinks; |
| 2893 |
& &` |
| 2894 |
& Proof&`ident:& ~.proof; |
| 2895 |
& Compositor:& ~.compositor; |
| 2896 |
& Company:& ~.company; |
| 2897 |
&. |
| 2898 |
|
| 2899 |
== Summary of Design |
| 2900 |
|
| 2901 |
~include design_summary; |
| 2902 |
---- |
| 2903 |
~.facility; can present all sorts of information about this project. |
| 2904 |
Try |~.facility; book info|. |
| 2905 |
|
| 2906 |
.phrase proofnote_list proofnote list |
| 2907 |
.synonym all proofnotes |
| 2908 |
.template |
| 2909 |
= List of All Proofnotes for ~.project; |
| 2910 |
|
| 2911 |
This is a list of all the outstanding proofnotes in the ~.project; |
| 2912 |
files. |
| 2913 |
|
| 2914 |
Count: ~.*div_list; |
| 2915 |
|
| 2916 |
&= Division& Page& Note |
| 2917 |
---- |
| 2918 |
~foreach i, div_list; |
| 2919 |
& ~.div_list[i];& ~.page_list[i];& ~.note_list[i]; |
| 2920 |
~end; |
| 2921 |
&. |
| 2922 |
|
| 2923 |
.phrase todo_list to-dos |
| 2924 |
.synonym todos |
| 2925 |
.synonym to-do list |
| 2926 |
.synonym todo list |
| 2927 |
.synonym all to-dos |
| 2928 |
.synonym all todos |
| 2929 |
.template |
| 2930 |
= List of All To-Dos for ~.project; |
| 2931 |
|
| 2932 |
This is a list of all the outstanding to-do notes in the ~.project; |
| 2933 |
files. |
| 2934 |
|
| 2935 |
Count: ~.*div_list; |
| 2936 |
|
| 2937 |
&= Division& Page& Note |
| 2938 |
---- |
| 2939 |
~foreach i, div_list; |
| 2940 |
& ~.div_list[i];& ~.page_list[i];& ~.note_list[i]; |
| 2941 |
~end; |
| 2942 |
&. |
| 2943 |
---- |
| 2944 |
|
| 2945 |
.phrase undefined_tags undefined tags |
| 2946 |
.synonym undefined tags list |
| 2947 |
.template |
| 2948 |
= List of Undefined Tags for ~.project; |
| 2949 |
|
| 2950 |
This is a list of all the undefined tags in the ~.project; files. |
| 2951 |
|
| 2952 |
Count: ~.*div_table; |
| 2953 |
|
| 2954 |
&= & First& First |
| 2955 |
&= Tag& Division& Page& References |
| 2956 |
---- |
| 2957 |
~foreach tag, div_table; |
| 2958 |
& |~.tag;|& ~.div_table[tag];& ~.page_table[tag];& ~.refs_table[tag]; |
| 2959 |
~end; |
| 2960 |
&. |
| 2961 |
---- |
| 2962 |
To see a list of all the tags, try |~.facility; all tags|. |
| 2963 |
|
| 2964 |
// Footnotes |
| 2965 |
// --------- |
| 2966 |
|
| 2967 |
|
| 2968 |
.footnote defineenunciation_enunciation \defineenunciation one_command |
| 2969 |
.footnote defineenunciation_enunciation \title one_marker |
| 2970 |
.footnote defineenunciation_enunciation \attributiontypecase one_command |
| 2971 |
.footnote defineenunciation_enunciation \defineeoedingbat one_command |
| 2972 |
.template defineenunciation_enunciation |
| 2973 |
For a complete description of this item, try |~.facility; \enunciation|. |
| 2974 |
|
| 2975 |
.footnote definelocator_locators \definelocator one_command |
| 2976 |
.footnote definelocator_locators \definelocatorformat one_command |
| 2977 |
.footnote definelocator_locators \generateindex one_command |
| 2978 |
.footnote definelocator_locators \indexentry one_command |
| 2979 |
.footnote definelocator_locators \alphabreak one_command |
| 2980 |
.template definelocator_locators |
| 2981 |
~include indexing_info; |
| 2982 |
|
| 2983 |
.footnote hat_zmhat \hat one_named_char |
| 2984 |
.template hat_zmhat |
| 2985 |
*Note:* When used in math mode, |\hat| is a synonym for |\zmhat| |
| 2986 |
and produces a hat accent over its argument. |
| 2987 |
|
| 2988 |
.footnote space_spacing space one_character |
| 2989 |
.template space_spacing |
| 2990 |
If you are looking for information on spacing commands, |
| 2991 |
try |~.facility; spacing|. |
| 2992 |
|
| 2993 |
.footnote proofnote_note_list \proofnote one_block |
| 2994 |
.template proofnote_note_list |
| 2995 |
If you are looking for a list of the outstanding proofnotes |
| 2996 |
for the ~.project; project, try |~.facility; proofnote list|. |
| 2997 |
|
| 2998 |
.footnote text_math_text \text one_block |
| 2999 |
.template text_math_text |
| 3000 |
If you are looking for information on the \text command that |
| 3001 |
is used in math, try |~.facility; math \text|. |
| 3002 |
|
| 3003 |
.footnote tilde_zmtilde \tilde one_named_char |
| 3004 |
.template tilde_zmtilde |
| 3005 |
*Note:* When used in math mode, |\tilde| is a synonym for |\zmtilde| |
| 3006 |
and produces a tilde accent over its argument. |
| 3007 |
|
| 3008 |
.footnote toc_contents \toc one_block |
| 3009 |
.template toc_contents |
| 3010 |
If you are looking for a table of contents for ~.project;, |
| 3011 |
try |~.facility; contents|. |
| 3012 |
|
| 3013 |
.footnote zmhat_hat \zmhat one_math_accent |
| 3014 |
.template zmhat_hat |
| 3015 |
*Note:* This is the internal accent command. Use |\hat| in book files. |
| 3016 |
|
| 3017 |
.footnote zmtilde_tilde \zmtilde one_math_accent |
| 3018 |
.template zmtilde_tilde |
| 3019 |
*Note:* This is the internal accent command. Use |\tilde| in book files. |
| 3020 |
|
| 3021 |
// Included Templates |
| 3022 |
// -------- --------- |
| 3023 |
|
| 3024 |
|
| 3025 |
.template command_line_chars |
| 3026 |
Some characters are difficult or impossible to type on the 4NT/Take |
| 3027 |
Command command line. For an explanation of how to enter them, |
| 3028 |
try |~.facility; command line|. |
| 3029 |
|
| 3030 |
.template common_info |
| 3031 |
& What it is:& ~.class; |
| 3032 |
& Where it is:& ~.where; |
| 3033 |
& Attributes:& ~.attributes; |
| 3034 |
~if value? overridden;& Supercedes:& ~.overridden;~fi; |
| 3035 |
&. |
| 3036 |
|
| 3037 |
~if value? usage;Usage: |~.usage;|~fi; |
| 3038 |
|
| 3039 |
.template command_info |
| 3040 |
For information on commands in general, try |~.facility; commands|. |
| 3041 |
|
| 3042 |
.template declaration_info |
| 3043 |
For information on declarations in general, try |~.facility; declarations|. |
| 3044 |
|
| 3045 |
.template design_info |
| 3046 |
& Design macro for:& ~.design; |
| 3047 |
~if value? derived;& Derived from:& |~.derived;|~fi; |
| 3048 |
~if value? style;& Element style:& |~.style;|~fi; |
| 3049 |
~if not empty? variant_list;& Affecting variants:& ~ |
| 3050 |
|~foreach i,variant_list,iter;~,variant_list[i],iter /= 1;~end;|~fi; |
| 3051 |
&. |
| 3052 |
|
| 3053 |
.template design_summary |
| 3054 |
& Trim:& ~.trimwidth; × ~.trimheight; |
| 3055 |
& Text measure:& ~.textmeasure; |
| 3056 |
& Lines per page:& ~.linesperpage; |
| 3057 |
& For make-up:& ~.linesshort; short, ~.lineslong; long |
| 3058 |
& Even text margins:& left = ~.evenlefttextmargin;, right = ~.evenrighttextmargin; |
| 3059 |
& Odd text margins:& left = ~.oddlefttextmargin;, right = ~.oddrighttextmargin; |
| 3060 |
& Paragraph indent:& ~.parindent; |
| 3061 |
&. |
| 3062 |
|
| 3063 |
.template gory_details |
| 3064 |
To see more details about the design, try |~.facility; ~.name; details|. |
| 3065 |
|
| 3066 |
.template indexing_info |
| 3067 |
For a complete description of the ZzTeX indexing facility, |
| 3068 |
try |~.facility; indexing|. |
| 3069 |
|
| 3070 |
.template internal_note |
| 3071 |
(Note that names containing at-signs or beginning with 'z' are internal.) |
| 3072 |
|
| 3073 |
.template math_class_info |
| 3074 |
For more information on math classes, try |~.facility; math classes|. |
| 3075 |
|
| 3076 |
.template title_author_publisher_isbn |
| 3077 |
& Title:& *~.title;* |
| 3078 |
~foreach i,author,iter; |
| 3079 |
& ~if iter = 1;Author:~fi;& ~.author[i]; |
| 3080 |
~end; |
| 3081 |
& Publisher:& ~.publisher; |
| 3082 |
& ISBN:& ~.isbn; |
| 3083 |
|
| 3084 |
.include zzdetails.dat |
| 3085 |
.end |