From f4185fcef0aa5c00e37a1bf8bbc8b8c6459fffe7 Mon Sep 17 00:00:00 2001 From: Lila Date: Tue, 19 May 2020 07:45:44 +0200 Subject: Use CSS in favor of
for display math (#6372) Some CSS to ensure that display math is displayed centered and on a new line is now included in the default HTML-based templates; this may be overridden if the user wants a different behavior. --- data/templates/styles.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data') diff --git a/data/templates/styles.html b/data/templates/styles.html index 34cd4de89..ea92c39ec 100644 --- a/data/templates/styles.html +++ b/data/templates/styles.html @@ -10,3 +10,6 @@ $endif$ $if(highlighting-css)$ $highlighting-css$ $endif$ +$if(displaymath-css)$ +.display.math{display: block; text-align: center; margin: 0.5rem auto;} +$endif$ -- cgit v1.2.3