首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 高亮显示的源代码

高亮显示的源代码

  • 资源大小:8.24 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: latex syntax highlighter pygments

资 源 简 介

minted development has moved minted development has moved to GitHub (https://github.com/gpoore/minted) --- # **minted** – highlighted source code for LaTeX # minted is a package that facilitates expressive syntax highlighting in LaTeX using the powerful Pygments library. The package also provides options to customize the highlighted source code output using fancyvrb. For instance, this code: ``` egin{minted}[mathescape, linenos, numbersep=5pt, gobble=2, frame=lines, framesep=2mm]{csharp} string title = "This is a Unicode π in the sky" /* Defined as $pi=lim_{n oinfty}frac{P_n}{d}$ where $P$ is the perimeter of an $n$-sided regular polygon circumscribing a circle of diameter $d$. */ const double pi = 3.1415926535 end{minted} ``` will produce the following rendering: ![http://i.stack.i

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP