General ⇒ Changing the size of specific text to any pt
Changing the size of specific text to any pt
I have an issue that i can't seem to figure out how to solve.
Imagine i have a setence like "Hello, my name is <Name>!". How could i put this sentence with different text sizer, for example with "Hello" in 10pt size, "my name is" in 16pt and "<Name>" in 22pt?
I have looked on the internet but i always find the \huge, \large, etc commands which i don't want to use. I need something where i can pass the size of the text to whatever i want.
All help is welcome.
Thanks
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 the size of specific text to any pt
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10