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 have the following two titles in my custom title page: (originally two different languages)

\begin{center}
    {\Large 
        My Thesis\\
        \vspace*{0.5cm}
        \textbf{\huge 
            Lorem ipsum dolor sit amet, consectetur %
            adipisicing elit, sed do eiusmod tempor % <- "p"
            incididunt ut labore et dolore magna aliqua.
        } \\
        \vspace*{0.5cm}
        \textbf{\huge 
            Lorem ipsum dolor sit amet, consectetur %
            adipisicing elit, sed do eiusmod temdor % <- "d"
            incididunt ut labore et dolore magna aliqua.
        }
    }
\end{center}

The problem is that the line height changes with the containing letters. When I replace the p with a d, the last line is printed directly under the one before. Without any space.

How can I set the line height to a fixed value and why is it so?

Document header is: \documentclass[a4paper,12pt]{article} \usepackage[T1]{fontenc}

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

use it this way:

\begin{center}
    \Large 
        My Thesis

        \vspace*{0.5cm}
        \bfseries\huge 
            Lorem ipsum dolor sit amet, consectetur %
            adipisicing elit, sed do eiusmod tempor % <- "p"
            incididunt ut labore et dolore magna aliqua.

            \vspace*{0.5cm}
            Lorem ipsum dolor sit amet, consectetur %
            adipisicing elit, sed do eiusmod temdor % <- "d"
            incididunt ut labore et dolore magna aliqua.
\end{center}

The active baselineskip at the end of the paragraph is used, the reason why you should avoid all those \\.

share|improve this answer
add comment

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.