简体   繁体   English

如何使用Minted Latex Package更改行号的字体大小

[英]How to change the font size of line numbers using the Minted Latex Package

I tried redefining the \\FancyVerbLine to have a \\large, but that didn't help. 我尝试重新定义\\ FancyVerbLine有一个\\ large,但这没有帮助。 Is there another way to do this? 还有另一种方法吗?

That should do the trick. 这应该够了吧。 How exactly does your \\FancyVerbLine look like? 你的\\FancyVerbLine 究竟是什么样的? Notice that it's not enough to put the formatting in – you also need to include the counter command: 请注意,将格式设置放入是不够的 - 您还需要包含counter命令:

\renewcommand\theFancyVerbLine{\large\arabic{FancyVerbLine}}

This should work. 这应该工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM