Routines for writing TeX for tables.
Class |
|
Undocumented |
Exception |
|
Base class for errors. |
Exception |
|
Error if an array has the wrong size for the following operation. |
Function | color |
Undocumented |
Function | marker |
Undocumented |
Function | marker |
Undocumented |
Function | numtotext |
Returns a text from a positive integer. |
Function | table |
Generates a tabular from a sequence of sequence of strings. |
Function | table |
Generates a tabular* from a sequence of sequence of strings |
Function | table |
Generates a tabular from a sequence of sequence of strings. |
Function | write |
Returns string representation of a number of function evaluations. |
Function | write |
Returns string representation of a number of function evaluations. |
Function | write |
Return a string representation of a number. |
Function | write |
Return the smallest string representation of a number. |
Function | write |
Format text to be output by LaTeX. |
Variable | alphabet |
Undocumented |
Variable | html |
Undocumented |
Variable | latex |
Undocumented |
Variable | latex |
Undocumented |
Variable | latex |
Undocumented |
Returns a text from a positive integer.
Is to be used for generating command names: they cannot include number characters.
WARNING: n should not be larger than (53*52)-1 = 2755 for the moment
Generates a tabular from a sequence of sequence of strings.
Parameters | |
table | Undocumented |
spec | Undocumented |
extra | Undocumented |
add | Undocumented |
add | Undocumented |
seq table | sequence of sequence of strings |
string spec | string for table specification, see http://en.wikibooks.org/wiki/LaTeX/Tables#The_tabular_environment |
seq extra | sequence of string the same length as the table (same number of lines) which are added at the end of each line. |
bool add | bool value that specifies if begin tabular is added. |
bool add | bool value that specifies if end tabular is added. |
Returns | |
sequence of strings of a LaTeX tabular. |
Generates a tabular* from a sequence of sequence of strings
Parameters | |
table | Undocumented |
width | Undocumented |
spec | Undocumented |
extraeol | Undocumented |
seq table | sequence of sequence of strings |
string width | string for the width of the table |
strin spec | string for table specification, see http://en.wikibooks.org/wiki/LaTeX/Tables#The_tabular_environment |
seq extraeol | sequence of string the same length as the table (same number of lines) which are added at the end of each line. |
Generates a tabular from a sequence of sequence of strings.
Parameters | |
table | Undocumented |
spec | Undocumented |
extra | Undocumented |
add | Undocumented |
add | Undocumented |
seq table | sequence of sequence of strings |
string spec | string for table specification, see http://en.wikibooks.org/wiki/LaTeX/Tables#The_tabular_environment |
seq extra | sequence of string the same length as the table (same number of lines) which are added at the end of each line. |
bool add | bool value that specifies if begin tabular is added. |
bool add | bool value that specifies if end tabular is added. |
Returns | |
sequence of strings of a LaTeX tabular. |
Returns string representation of a number of function evaluations.
This method is supposed to be used for filling up a LaTeX tabular.
To address the eventual need to keep their string representation short, the method here proposes the shortest representation between the full representation and a modified scientific representation.
Examples:
Number | Precision | Output Representation |
---|---|---|
102345 | 2 digits | 1.0e5 |
Parameters | |
fevals | Undocumented |
precision | Undocumented |
maxdigits | Undocumented |
isscientific | Undocumented |
float fevals | |
int precision | number of significant digits |
int maxdigits | |
bool isscientific |
Return a string representation of a number.
Two alternatives:
- float notation with a precision smaller or equal to SIG (if the entry is one, then the result is 1).
- if the number is larger or equal to maxfloatrepr, a modified scientific notation (without the trailing + and zero in the exponent)
Returns | |
string representation of a number of function evaluations or ERT. |
Return the smallest string representation of a number.
This method is only concerned with the maximum number of significant digits.
Two alternatives:
- modified scientific notation (without the trailing + and zero in the exponent)
- float notation
Returns | |
string representation of a number of function evaluations or ERT. |