表格preview文件
If the value of ‘output’ is different from ‘dvi’ then command line options can be set (‘dvioptions’ argument) for the execution of the ‘dvi’+output conversion tool. These options have to be in the form of a list of strings (see subprocess.Popen).
除了像这样的一些例子之外,我找不到任何关于dvioptions
的有效参数的文档
from sympy import preview
preview(r'$$H_{2}O$$', viewer='file', filename='water.png', euler=False, dvioptions=["-T", "tight", "-z", "0", "--truecolor", "-D 600", "-bg", "Transparent"])
这些"-z", "0", "--truecolor"
是什么意思?或者,更好,如果你能告诉我合适的医生
这些选项看起来像
dvipng
的命令行选项。如果运行man dvipng
,可以看到完整的列表:相关问题 更多 >
编程相关推荐