Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've searched a lot and couldn't find the answer to this one. My puzzle is the following:

I use the fix-cm package to change the fontsize of a small poster (letter sized actually) to anounce a seminar. I use \fontsize{30}{32}\selectfont for the title of the talk and other sizes for the rest of the information. My pickle is: if the title is too long (and it usually is), then the margins are not large enough to contain it so it splits the title in two lines, with a very narrow space between them. That's what's annoying me. So the question is: how do I increase the space between the lines, considering the title is actually a single line as far as the compiler knows? Any help will be highly appreciated. Thanks in advance. Cheers!

share|improve this question
1  
The small distance may be caused by the small leading (32). Use a bigger leading if your title gets too long. (Also see @mbork's answer.) –  Marc van Dongen Mar 21 '13 at 6:54
    
@MarcvanDongen, may I incorporate your suggestion in my answer or do you want to provide a better one;)? –  mbork Mar 21 '13 at 7:06
1  
@mbork Feel free to use it. –  Marc van Dongen Mar 21 '13 at 7:13

1 Answer 1

up vote 4 down vote accepted

A popular mistake is to say something like

{\fontsize{30}{32}\selectfont A long title, spanning two lines}

And now the text.

Due to the fact that the line spacing in (La)TeX is uniform across the paragraph, and that the settings at the end of the paragraph count, you should end the paragraph before resetting the font, either by an empty line, or by a \par, e.g.:

{\fontsize{30}{32}\selectfont A long title, spanning two lines\par}

And now the text.

Edit: as Marc van Dongen noticed in the comment, leading of 32 is also probably too small - you may try to increase it. IMHO, a good rule of thumb is leading = 1.2*font size - 36pt in your case.

share|improve this answer
3  
+1 If you alternated between put \par before } and put % at end of the line you could correctly answer a large proportion of questions here and on other TeX forums without ever actually looking at the question. –  David Carlisle Mar 21 '13 at 12:20
    
Worked perfectly mbork, thank you!! –  AdbekunkusMX Mar 22 '13 at 21:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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