简体   繁体   中英

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. Is there another way to do this?

That should do the trick. How exactly does your \\FancyVerbLine look like? Notice that it's not enough to put the formatting in – you also need to include the counter command:

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

This should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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