Syntax
% format-modifier i(counter-name)
Purpose
The "%i" format item represents the value of a counter item as a Roman numeral.
If the value of the counter is zero the digit "0" is output instead of a Roman numeral. If the value of the counter is negative, the Roman numeral is prefixed by a minus sign.
Unless changed by a modifier, lowercase letters are used.
The following modifiers can be used with the "%i" format:
- "l": The "l" modifier reinforces the default convention of generating lowercase Roman numerals. The "l" modifier cannot be used with the "u" modifier.
- "u": The "u" modifier causes uppercase Roman numerals to be generated. The "u" modifier cannot be used with the "l" modifier.
- "number f": The field-width modifier is allowed with the "%i" format. If the specified number is less than the minimum number of characters needed to print the value, the modifier is ignored. If it is greater, space characters are added to the right of the value to fill it out to the field width.
- "k": This modifier is allowed when the field-width modifier is specified. It causes padding to be added on the left side of the field instead of the right. The "k" modifier requies the "f" modifier.
Generated: April 21, 1999 at 2:01:01 pm
If you have any comments about this section of the documentation, send email to [email protected]
Copyright © OmniMark Technologies Corporation, 1988-1999.