I have a title page containing several lines of text, e.g.:





I would like to fine-tune the distances between the lines, however, I do not understand which tools are proper for the task, what they actually do, and what the various available units of measure (such as pt, mm, and em) really mean once rendered on the page.

  • Much of the documentation I have found, such as LaTeX/Paragraph Formation seems to focus on formatting entire paragraphs, whereas, I need more detailed control of specific areas.
  • I have found various tools to control this, such as \strut, \linebreak, \vspace, and \parskip, which seem to have similar effects on a document, but am unsure precisely how they work and in what situations they should be used.

I'm looking for any documentation, preferably with some example illustrations, explaining:

  • What commands are available for controlling vertical distance?
  • What are the proper situations in which to utilize these tools?
  • What text height and baseline measurements or ratios are available to these various controls?

Although I am currently using this with a title page, I am looking for information related to a wider variety of situations that one might encounter when making a document.

  • 1
    One of the questions have been answered in a quite extensive and beautiful way in what-are-the-various-units-ex-in-pt-etc-expressed-in-mm. But notice the last answer: ex,em and a few more are font size dependent. In particular, they are meant to show roughly an x and M character size in that particular font size. – percusse Apr 8 '12 at 15:50

The best source for TeX spacing commands as well as the paragraph builder is Knuth's TeXbook. Another good book (but hard to get) is TeX in Practice by Stephan von Bechtolsheim. For LaTeX spacing commands the best source is the ltspace.dtx, which you can read by typing textdoc source2e on the command line, as well as the LaTeX Companion.

For a problem like the one you stated, there are many different ways to control vertical spacing. One way is to use line breaks with a dimension \\[<dim>] in a combination with \vfill and \vspace. For example you can print this:

enter image description here




{\scriptsize ON}\\[3ex]
{\scriptsize AND}\\[3ex]
{\scriptsize WITH}\\[3ex]
{\scriptsize BY}\\
Wei Chuang, \textsc{Ph.D.},\\
\hspace{1.5in} \hrulefill \hspace*{1.7in}

{\Large CAMEL PRESS}\\
BOSTON $cdot$ NEW YORK $cdot$  BEIJING $cdot$  LONDON\\


When TeX starts forming a paragraph it contributes \parskip glue to the vertical list and then typesets the paragraph, inserting interline glue between the lines so as to ensure that the baselines are \baselineskip apart from each other (unless the \lineskip-\lineskiplimit mechanism comes into action). What's important is that these glues are always inserted (unless rules are found, but this is another story).

One can always insert \vskip glue between paragraphs (and also between lines, with \vadjust) in addition to \parskip glue and interline glue.

Let's see your situation: you want to add vertical skips between your lines which, as far as TeX is concerned, are one line paragraphs.





What should be put in place of <dimen>? Whatever pleases you. This is a visual task and there's no "rule".

For example you might put \baselineskip, so to have "doublespacing": an empty line would be between each line. Of course you may use different amounts between each pair of lines: for example, bigger between "Series" and "Title", smaller between "Author" and "Institution".

Special care should be taken if the lines are printed with different type size, but only looking at the final result will tell you if you've done "right".

What units to choose? There's no rule. Probably using ex (the height of an x in the current font) is better, as the result will not depend on the "global" document type size. Also using fractions of \baselineskip can be considered.

Pay attention when you use different type sizes. For example, in LaTeX, declarations such as \large should be terminated by a \par before ending their scope or the interline glue used would be the one set up for the normal type size and the \lineskip-\lineskiplimit mechanism would probably come into action, making more troublesome fine tuning the result.

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.