GeneralChanging the size of specific text to any pt

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
devito
Posts: 2
Joined: Fri Jan 18, 2008 12:59 pm

Changing the size of specific text to any pt

Post by devito »

Hey,

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Changing the size of specific text to any pt

Post by localghost »

An answer has already been given in another forum. It would be very nice (and polite in particular), if you would mention when you do a cross posting.


Best regards
Thorsten
Post Reply