Latex#
- class astropy.units.format.Latex(*args, **kwargs)[源代码]#
基类:
Console
根据IAU风格指南输出LaTeX以显示设备。
试图跟踪 IAU Style Manual .
属性摘要
方法总结
to_string
(unit[, fraction])将单位转换为其字符串表示形式。
属性文档
- name = 'latex'#
方法文件
- classmethod to_string(unit, fraction='multiline')[源代码]#
将单位转换为其字符串表示形式。
实施
to_string
。- 参数:
- 加薪:
ValueError
如果
fraction
不被识别。