Pref::timesDot -- determines
the output of products
IntroductionPref::timesDot(str) sets the output of the
multiplication symbol in products to the string str.
Call(s)Pref::timesDot()
Pref::timesDot(str)
Pref::timesDot(i)
Pref::timesDot(NIL)
Parametersstr |
- | a string |
i |
- | an integer
between 1 and 255 |
NIL |
- | the MuPAD object NIL |
Returnsthe previously defined value
Side
EffectsChanges the output of products.
Related
Functions
DetailsPref::timesDot determines the output of the
multiplication symbol between factors of a product in PRETTYPRINT output mode.Pref::timesDot() returns the current
multiplication symbol.Pref::timesDot(str) sets the
multiplication symbol to the given string str.Pref::timesDot(i) interprets
i as an ASCII code and sets the multiplication symbol to
the corresponding ASCII character.Pref::timesDot(NIL) restores the default
value: the blank character.
Example
1By default factors of products are separated by blanks.
>> a*b
a b
This can be changed by calling
Pref::timesDot with an argument of type string.
>> Pref::timesDot(" * "):
a*b
a * b
183 is the ASCII code for the character ''.
>> Pref::timesDot(183): a*b
a·b
NIL restores the
default output.
>> Pref::timesDot(NIL): a*b
a b