9

I referred the link : How do I change the font of a letter?. But the link didn't help me out. I would like to achieve this:

enter image description here
Here is the MWE though I know it isn't :(:

\documentclass{article}
\begin{document}
Hello World
\end{document} 
1
  • 2
    I would say that you shouldn't want to achieve that. The kerning between the huge W and the following o is way off, and I find this esthetically very displeasing.
    – Sverre
    May 28, 2014 at 13:34

4 Answers 4

8

Taking into consideration the questions by the OP, and following both David's and John's answer, I'm trying to include a wider response:

If you just want to get a few letter in a bigger size than the others, you can ---as stated by the other answers--- just use {\huge H}ello {\huge W}orkd.

If you want to have a Drop Cap, you can use the lettrine package. E.g.:

\documentclass{report}

\usepackage{lettrine}

\begin{document}

{\huge H}ello {\huge W}orld.

This is a regular line.  Lets say you want a drop cap in the next chapter.

\chapter{Chapter Name}

\lettrine{T}{his} is a beautiful drop cap.  If you want to change the size of it, please refer to the lettrine package documentation.

\end{document}

Where the result is:

enter image description here

enter image description here

2
  • @DavidCarlisle Hahahahahahahahaha May 28, 2014 at 13:13
  • 1
    {\huge H}ello {\huge W}\kern-0.25em orld to fix the kerning.
    – lvcivs
    May 28, 2014 at 13:57
6
 {\huge H}ello {\huge W}orld

Or look at packages such as lettrine

enter image description here

4
  • 3
    +1 For recommending the lettrine package. Most likely the OP is trying to achieve something related to a Drop Cap. May 28, 2014 at 12:57
  • How to define a command such that the first letter of every first paragraph in every chapter is similar to this? May 28, 2014 at 12:57
  • I wouldn't do that I would use lettrine (so the capital is dropped into a cut out paragraph) and mark it up in each case) to do this well almost always requires "by eye" space adjustments depending on the letter, as seen in the image in John's answer you would want to add negative space to pull the o closer to the W there is no automatic font kerns as you are changing font (even if only changing font size) May 28, 2014 at 13:01
  • I'll write a new answer with examples :) May 28, 2014 at 13:04
4

This should do the trick.

{\huge H}ello {\huge W}orld

enter image description here

5
  • 11 seconds late:-) May 28, 2014 at 12:52
  • But mine has a picture ;) May 28, 2014 at 12:52
  • and a lovely picture it is May 28, 2014 at 12:53
  • But whose is bigger?
    – user10274
    May 28, 2014 at 12:57
  • 1
    I hereby declare this comment dialogue 'silly'. May 28, 2014 at 13:05
3
\documentclass{article}
\newcommand*\9[1]{{\Huge#1}}
\begin{document}
\9Hello \9World
\end{document} 

enter image description here

1
  • Why would you use a 9!?
    – Manuel
    May 28, 2014 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.