diff --git a/doc/Text Formatting.html b/doc/Text Formatting.html index bc5fa47c..0d4a8d66 100644 --- a/doc/Text Formatting.html +++ b/doc/Text Formatting.html @@ -464,11 +464,9 @@ described in the next section.

A format-spec field can also include nested replacement fields -within it. These nested replacement fields can contain only an argument index; -format specifications are not allowed. Formatting is performed as if the -replacement fields within the format-spec are substituted before -the format-spec string is interpreted. This allows the formatting of a value -to be dynamically specified. +in certain position within it. These nested replacement fields can contain only +an argument index; format specifications are not allowed. This allows the +formatting of a value to be dynamically specified.

Format specification mini-language

@@ -541,6 +539,40 @@ The meaning of the various alignment options is as follows: +

+Note that unless a minimum field width is defined, the field width will always +be the same size as the data to fill it, so that the alignment option has no +meaning in this case. +

+ +

+The sign option is only valid for number types, and can be one of +the following: +

+ + + + + + + + + + + + + + + + + + + +
OptionMeaning
'+'Indicates that a sign should be used for both positive as well as negative + numbers.
'-'Indicates that a sign should be used only for negative numbers (this is + the default behavior).
spaceIndicates that a leading space should be used on positive numbers, and a + minus sign on negative numbers.
+

TODO

Class format_error