在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):olivierverdier/python-latex-highlighting开源软件地址(OpenSource Url):https://github.com/olivierverdier/python-latex-highlighting开源编程语言(OpenSource Language):TeX 100.0%开源软件介绍(OpenSource Introduction):Python highlighting in LaTeXA simple Python highlighting style to be used with LaTeX. The package is loaded by the following line: \usepackage{pythonhighlight} It is then possible to include a Python snippet directly in the code using: \begin{python}
def f(x):
return x
\end{python} It is also possible to include inline Python code in LaTeX with The special method \pyth{__init__}... Last but not least, you can load an external Python file with: \inputpython{python_file.py}{23}{50} to display the contents of the file |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论