Text Formatting ⇒ Changing size of typewriter typeface
Changing size of typewriter typeface
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Changing size of typewriter typeface
At least for Computer Modern (CM) he's mistaken. Are you using other fonts than CM? Show your document setup by a minimal example.nifty wrote:[…] The author thinks the \tt font is too big. […]
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Changing size of typewriter typeface
http://www.necomp.us/pics/ttSample.pdf
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Changing size of typewriter typeface
Unfortunately you don't say anything about the in-line code in point #14 is written. Assumed that you have chosen basicstyle=\small\ttfamily as general option for your listings, you could use \lstinline|…| to get the desired result.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Changing size of typewriter typeface
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Changing size of typewriter typeface
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10