7

Changing \baselinestretch will affect the distance between two adjacent rows. How to avoid this?

enter image description here

\documentclass{book}
\usepackage[a6paper,vmargin=15mm,hmargin=5mm]{geometry}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{amsmath}

\usepackage[T1]{fontenc}
\usepackage[scaled]{uarial}
\renewcommand*\familydefault{\sfdefault}

\renewcommand{\baselinestretch}{2}

\begin{document}
    \blindtext
    \begin{equation}
        \tag{Trivial Matrix}
        \begin{pmatrix}
            1 & 2 & 3 & 4 & 5\\
            1 & 2 & 3 & 4 & 5\\
            1 & 2 & 3 & 4 & 5\\
        \end{pmatrix}
        \label{eqn:matrix}
    \end{equation}
    \blindtext
\end{document}

1 Answer 1

7
\renewcommand\baselinestretch{2}
\everydisplay{\def\arraystretch{0.5}}

However, you should use package setspace for setting the baselinewidth

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .