I tried redefining the \FancyVerbLine to have a \large, but that didn't help. Is there another way to do this?
In the Styles group, click the lower-right arrow and display the Styles list. Find the Line Number style. Right-click and select Modify to display the Modify Style dialog box. From the Formatting drop-down list, select any Font you like for line number.
Change the font size of a piece of text using these commands, from the largest to the smallest: \Huge, \huge, \LARGE, \Large, \large, \normalsize, \small, \footnotesize, \scriptsize, and \tiny. Set the font size of the whole document by adding an option to the \documentclass command.
You can change font size using \fontsize{10}{12}\selectfont (the first number is the pt size of the font, the second number the space in pts between lines: this becomes the value of \baselineskip ), but in general I think it's better to try using things like \tiny , \small , \scriptsize , \normalsize , \footnotesize , ...
In LyX, the following choices are available: Changing the default font size of the document: Under Document > Settings... > Fonts , you can choose the Base Size as being Default , 10pt , 11pt or 12pt (Default is 10pt in most cases).
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With