Org: Fix warn/info block positioning in pdf export

Without \par the heading can be put on the previous line when the
environment follows without a blank line.
This commit is contained in:
TEC 2021-03-07 00:44:14 +08:00
parent 1ae7b6414f
commit 4ceee30fab
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 1 additions and 1 deletions

View File

@ -6843,7 +6843,7 @@ Let's consider some other content we only want in certain sutuations.
\\definecolor{#1}{HTML}{#2}
\\newenvironment{#1}
{%
\\vspace{-0.7\\baselineskip}%
\\par\\vspace{-0.7\\baselineskip}%
\\textcolor{#1}{#3} \\textcolor{#1}{\\textbf{#4}}%
\\vspace{-0.8\\baselineskip}
\\begin{addmargin}[1em]{1em}