LatexInline#
- class astropy.units.format.LatexInline(*args, **kwargs)[源代码]#
基类:
Latex
输出 Latex 显示单位基于IAU风格的指导方针与负功率。
试图跟踪 IAU Style Manual 以及 ApJ and AJ style guide .
属性摘要
方法总结
to_string
(unit[, fraction])将单位转换为其字符串表示形式。
属性文档
- name = 'latex_inline'#
方法文件
- classmethod to_string(unit, fraction=False)[源代码]#
将单位转换为其字符串表示形式。
实施
to_string
。- 参数:
- 加薪:
ValueError
如果
fraction
不被识别。