Command/startregister
< Command
Jump to navigation
Jump to search
Contents
\startregister
Summary
The command \startregister is used for ...
Settings
| \startregister[...][...][...][...]{...+...+...,...} ... \stopregister[...][...] | |
| [...] | name |
| [...] | name |
| [...] | text |
| [...] | text processor->text |
| {...+...+...,...} | index |
| ... | content |
| \stopregister | delimiter |
| [...] | name |
| [...] | name |
| Option | Explanation |
|---|---|
| name | registername (e.g. "index") |
| name | reference code, in case several register spans overlap |
| alternative | |
Just processor-> is only a page formatter, processor->text also provides an override sorting key. | |
| text | override sorting key |
| processor->text | page formatter |
| {...+...+...,...} | the index entry |
| content | normal text flow content |
| name | repeat of argument 1 |
| name | repeat of argument 2 |
Description
Set an index (or other register) entry for a page span, e.g. a whole chapter, without the need to repeat \index.
It’s always \startregister[registername], the short form \startindex (or \startmyownregister) doesn’t exist!
Examples
Example 1
\startregister[index][knuth]{Knuth, Donald} ... a long section about Donald Knuth ... \stopregister[index][knuth]