[Tex/LaTex] Interline spacing with different fonts

formattingline-spacing

What Latex command can I use so that the space between interlines remains the same when I use two different fonts simultaneously?

For example,

(1) \huge{\textbf{Dunt venim dolorerosto do odit}}

(2) \huge{\textbf{ametum vulla conum dolore}}

(3) \LARGE{ conulput in vero od el}

(4) \LARGE{Dunt venim dolorerosto do odit}

The interline spaces between lines (2) & (3), and (3) & (4) are the same. But the one between lines (1) & (2) is bigger.

I would like all the interline spaces to be the same.

Best Answer

While the answers in the comments to your question are more likely the answers that best serve your particular need, I provide this alternative, which may be more suitable for some situations.

Here, I use a \Longstack which is, by its definition, a stack with equal space between the baselines of each row. I set the gap length between row baselines to 16pt, and left-align the stack.

\documentclass{article}
\usepackage[usestackEOL]{stackengine}
\begin{document}
\setstackgap{L}{16pt}
\Longstack[l]{%
(1) \huge{\textbf{Dunt venim dolorerosto do odit}}\\
(2) \huge{\textbf{ametum vulla conum dolore}}\\
(3) \LARGE{conulput in vero od el}\\
(4) \LARGE{Dunt venim dolorerosto do odit}%
}
\end{document}

enter image description here

Related Question