How to change font size on part of the page in LaTeX?

前端 未结 5 567
庸人自扰
庸人自扰 2020-12-22 23:09

I\'d like to change text size for some page part, e.g. for verbatim block:

\\begin{verbatim}
   
\\end{verbatim         


        
5条回答
  •  难免孤独
    2020-12-22 23:54

    To add exact fontsize you can use following. Worked for me since in my case predefined ranges (Large, tiny) are not match with the font size required to me.

    \fontsize{10}{12}\selectfont This is the text you need to be in 10px
    

    More info: https://tug.org/TUGboat/tb33-3/tb105thurnherr.pdf

提交回复
热议问题