10

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} 
subham soni
  • 9,673
  • 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

4 Answers4

9

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

Mario S. E.
  • 18,609
7
 {\huge H}ello {\huge W}orld

Or look at packages such as lettrine

enter image description here

David Carlisle
  • 757,742
  • 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
5

This should do the trick.

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

enter image description here

4
\documentclass{article}
\newcommand*\9[1]{{\Huge#1}}
\begin{document}
\9Hello \9World
\end{document} 

enter image description here