Bases: astropy.units.format.Base
Output LaTeX to display the unit based on IAU style guidelines.
Attempts to follow the IAU Style Manual.
Attributes Summary
name |
Methods Summary
format_exponential_notation(val) | Formats a value in exponential notation for LaTeX. |
to_string(unit) | Convert a unit object to a string. |
Attributes Documentation
Methods Documentation
Formats a value in exponential notation for LaTeX.
Parameters: | val : number
|
---|---|
Returns: | latex_string : str
|
Convert a unit object to a string.