## LaTeX forum ⇒ Text Formatting ⇒ abovedisplayskip in preamble Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Nabla94
Posts: 4
Joined: Sun Dec 03, 2017 10:02 pm

### abovedisplayskip in preamble

Hi,

I would like to include abovedisplayskip in my preamble, but it seems to me as if it would only work within the document-environment. In addition I noticed strange correlations, see MWE. An empty line before abovedisplayskip, or normalsize afterwards seem to disable abovedisplayskip... Does anybody know why?

Is it possible to set \abovedisplayskip or anything similar in the preamble so that it is valid for the whole code?

\documentclass{article}
\usepackage{blindtext}
\setlength{\abovedisplayskip}{40pt}	% no effect

\begin{document}

\blindtext
$$a=b+c$$

\setlength{\abovedisplayskip}{40pt}	% no effect due to empty line
\blindtext
$$a=b+c$$
\blindtext
\setlength{\abovedisplayskip}{40pt}	% works
$$a=b+c$$
\normalsize	% disables abovedisplayskip
\blindtext
$$a=b+c$$
\blindtext

\end{document}


Ijon Tichy
Posts: 526
Joined: Mon Dec 24, 2018 10:12 am

Nabla94
Posts: 4
Joined: Sun Dec 03, 2017 10:02 pm
sorry!

Nabla94
Posts: 4
Joined: Sun Dec 03, 2017 10:02 pm
Solved here: https://golatex.de/viewtopic.php?f=5&p=115539#p115539

Normalsize (and therefore begin document) contains the abovedisplayskip command and therefore disables values set before.

### Who is online

Users browsing this forum: No registered users and 3 guests