Legacy Documentation

Publicon® (2004)

This is documentation for an obsolete product.
Current products and services

Documentation  / Publicon  / Reference  / Preferences  / Formatting Options  / ...Specific Box Options  /

CounterBoxOptionsLongRightArrow{...}

counter name

counter name is an option for cells that specifies the type of counter whose value is displayed in a CounterBox.

counter name is specified as the first argument to a CounterBox. Possible values it can take are "Section", "SubSection", "Page", and so forth.
counter name appears grayed out in the Option Inspector, except when a CounterBox object is selected.

reference file

reference file is an option for cells that specifies the file referenced by a CounterBox.

reference file is an optional argument to a CounterBox. It is used when the counter references a notebook other than the one in which it occurs. The file can be specified either by its absolute path or its path relative to the current notebook.
• When reference file is specified, the counter behaves as if it were located in the notebook specified by reference file, in a cell with the tag reference tag. This provides a way to refer to numbered sections, numbered equations, and so forth at a location different from the one in which they occur.
• If reference file is not specified, then the counter refers to the same notebook in which it occurs.
reference file appears grayed-out in the Option Inspector, except when a CounterBox object is selected.

reference tag

reference tag is an option for cells that specifies the tag(s) associated with a cell referenced by a CounterBox.

reference file is an optional argument to a ValueBox. It is used when the counter references a notebook other than the one in which it occurs. The file can be specified either by its absolute path or its path relative to the current notebook.
• When this argument is specified, the counter behaves as if it were located in the notebook specified by reference file, in a cell with the tag reference tag. This provides a way to refer to numbered sections, numbered equations, and so forth at a location different from the one in which they occur.
reference file appears grayed-out in the Option Inspector, except when a CounterBox object is selected.

CounterStyle

• CounterStyle is an option for cells that determines the cell style from which the default values of all options associated with a counter are inherited.

• CounterStyle can be set to any of the cell styles defined in the notebook's style sheet.
• With the default setting CounterStyle Rule Automatic, the counter inherits the option values of the cell style for which it is defined.

CounterFunction

• CounterFunction is an option for cells that determines the symbols used to display the value of a counter.

• With the default setting CounterFunction Rule Identity, the value of the counter is displayed as an ordinary decimal number.
• You can also set the counter display to use symbols such as Roman numerals or Greek letters. Other possible formats include: capital Roman numerals, capital Greek letters, lowercase letters, uppercase letters, days of the week, months, and circled numbers. To choose any of these formats, check the corresponding item in the pop-up menu to the right of the option.
• At the level of the cell expression, all these formats are implemented using the CharacterRange function. This allows you to specify any arbitrary set of symbols or strings to use in the counter display. For example,
To display: Use the setting:
abc... CounterFunction Rule (Part[CharacterRange["a", "z"],#]&)     
Greek letters CounterFunction Rule (Part[CharacterRange["\[Alpha]","\[Omega]"],#]&)    
Days of the week CounterFunction Rule (Part[{"Monday", "Tuesday", ...}],#]&)