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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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