6

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} 
  • 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 '14 at 13:34
6

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

  • @DavidCarlisle Hahahahahahahahaha – Mario S. E. May 28 '14 at 13:13
  • 1
    {\huge H}ello {\huge W}\kern-0.25em orld to fix the kerning. – Ulmo May 28 '14 at 13:57
5
 {\huge H}ello {\huge W}orld

Or look at packages such as lettrine

enter image description here

  • 3
    +1 For recommending the lettrine package. Most likely the OP is trying to achieve something related to a Drop Cap. – Mario S. E. May 28 '14 at 12:57
  • How to define a command such that the first letter of every first paragraph in every chapter is similar to this? – subham soni May 28 '14 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) – David Carlisle May 28 '14 at 13:01
  • I'll write a new answer with examples :) – Mario S. E. May 28 '14 at 13:04
3

This should do the trick.

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

enter image description here

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

enter image description here

  • Why would you use a 9!? – Manuel May 28 '14 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.