Module gwy :: Class SIUnitFormatStyle
[hide private]
[frames] | no frames]

Class SIUnitFormatStyle

source code

Physical quantity formatting style.

The VF-variants differ from tne non-VF ones by a multiplication sign at the start of units (where appropriate).


Note: All the enumerated values are defined at the module level, not the class level. The are just groupped by class here for easier orientation.

Class Variables [hide private]
  SI_UNIT_FORMAT_MARKUP
Pango markup, for units usable standalone.
  SI_UNIT_FORMAT_NONE
No units.
  SI_UNIT_FORMAT_PLAIN
Plain style, as one would use on a text terminal.
  SI_UNIT_FORMAT_TEX
Representation that can be typeset by TeX, for units usable standalone.
  SI_UNIT_FORMAT_UNICODE
Representation in which exponents are rendered as Unicode characters, for units usable standalone.
  SI_UNIT_FORMAT_VFMARKUP
Pango markup, for units directly after value.
  SI_UNIT_FORMAT_VFTEX
Representation that can be typeset by TeX, for units directly after value.
  SI_UNIT_FORMAT_VFUNICODE
Representation in which exponents are rendered as Unicode characters, for units directly after value.
Class Variable Details [hide private]

SI_UNIT_FORMAT_NONE

No units. This value is unused by SIUnit itself and must not be requested as a format style.

SI_UNIT_FORMAT_UNICODE

Representation in which exponents are rendered as Unicode characters, for units usable standalone. (Since 2.50)

SI_UNIT_FORMAT_VFTEX

Representation that can be typeset by TeX, for units directly after value. (Since 2.50)

SI_UNIT_FORMAT_VFUNICODE

Representation in which exponents are rendered as Unicode characters, for units directly after value. (Since 2.50)