[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/HTML.pm (%css_element_class_
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/HTML.pm (%css_element_class_styles) <displaymath>: center displaymath. Report and CSS from Rudolf Adamkovič. |
Date: |
Fri, 06 Sep 2024 05:21:02 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 2ebe7e987f * tp/Texinfo/Convert/HTML.pm (%css_element_class_styles)
<displaymath>: center displaymath. Report and CSS from Rudolf Adamkovič.
2ebe7e987f is described below
commit 2ebe7e987f393d3f75f4749c9fda6143a9d5afbc
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Sep 6 11:21:01 2024 +0200
* tp/Texinfo/Convert/HTML.pm (%css_element_class_styles)
<displaymath>: center displaymath. Report and CSS from Rudolf
Adamkovič.
---
ChangeLog | 6 ++
tp/Texinfo/Convert/HTML.pm | 4 +-
tp/t/results/html_tests/mathjax_with_texinfo.pl | 2 +-
.../mathjax_with_texinfo_enable_encoding.pl | 2 +-
.../res_html/index.html | 2 +-
.../mathjax_with_texinfo_no_convert_to_latex.pl | 2 +-
tp/t/results/raw/displaymath.pl | 2 +-
.../res_parser/formatting_chm/chapter.html | 2 +-
.../res_parser/formatting_chm/formatting.html | 2 +-
.../EPUB/xhtml/chapter.xhtml | 2 +-
.../EPUB/xhtml/formatting.xhtml | 2 +-
.../formatting_html_no_split/formatting.html | 2 +-
.../formatting_regions/formatting_regions.html | 2 +-
.../res_parser/formatting_xhtml/formatting.html | 2 +-
.../formatting_enable_encoding/formatting.html | 2 +-
.../EPUB/xhtml/chapter.xhtml | 2 +-
.../EPUB/xhtml/formatting.xhtml | 2 +-
.../res_parser/formatting_exotic/chapter.html | 2 +-
.../res_parser/formatting_fr/formatting.html | 2 +-
.../res_parser/formatting_fr_icons/formatting.html | 2 +-
.../formatting_inline_css/formatting.html | 90 +++++++++++-----------
.../res_parser/formatting_mathjax/formatting.html | 2 +-
.../formatting_numerical_entities/formatting.html | 2 +-
.../formatting_sort_element_counts/formatting.html | 2 +-
.../formatting_texi2html/formatting.html | 2 +-
.../formatting_texi2html_nodes/chapter.html | 2 +-
.../formatting_texi2html_nodes/index.html | 2 +-
.../formatting_weird_quotes/formatting.html | 2 +-
.../res_parser/tex_gdef_mathjax/tex_gdef.html | 2 +-
tp/tests/tex_html/res_parser/tex_mathjax/tex.html | 2 +-
tp/tests/tex_html/res_parser/tex_notex/tex.html | 2 +-
31 files changed, 82 insertions(+), 74 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8d7ddf15c5..a250119310 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-09-06 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/HTML.pm (%css_element_class_styles)
+ <displaymath>: center displaymath. Report and CSS from Rudolf
+ Adamkovič.
+
2024-09-06 Patrice Dumas <pertusus@free.fr>
* tp/t/init/t2h_singular.init (singular_format_footer): update for
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 08972f88a8..5725b353c6 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -2960,7 +2960,9 @@ my %css_element_class_styles = (
'pre.menu-preformatted' => 'font-family: serif',
'a.summary-letter-printindex' => 'text-decoration: none',
'pre.display-preformatted' => 'font-family: inherit',
- 'pre.displaymath' => 'font-style: italic; font-family:
serif',
+ # 'display: flex; justify-content: center' centers the pre as a whole
+ 'pre.displaymath'
+ => 'font-style: italic; font-family: serif; display: flex;
justify-content: center',
'span.program-in-footer' => 'font-size: smaller', # used with
PROGRAM_NAME_IN_FOOTER
'span.sansserif' => 'font-family: sans-serif; font-weight: normal',
'span.r' => 'font-family: initial; font-weight: normal;
font-style: normal',
diff --git a/tp/t/results/html_tests/mathjax_with_texinfo.pl
b/tp/t/results/html_tests/mathjax_with_texinfo.pl
index 649ebab570..a2aae9e0a6 100644
--- a/tp/t/results/html_tests/mathjax_with_texinfo.pl
+++ b/tp/t/results/html_tests/mathjax_with_texinfo.pl
@@ -269,7 +269,7 @@ $result_converted{'html'}->{'mathjax_with_texinfo'} =
'<!DOCTYPE html>
<style type="text/css">
<!--
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
-->
</style>
diff --git a/tp/t/results/html_tests/mathjax_with_texinfo_enable_encoding.pl
b/tp/t/results/html_tests/mathjax_with_texinfo_enable_encoding.pl
index 2984cd1cea..4643a0e1c5 100644
--- a/tp/t/results/html_tests/mathjax_with_texinfo_enable_encoding.pl
+++ b/tp/t/results/html_tests/mathjax_with_texinfo_enable_encoding.pl
@@ -281,7 +281,7 @@
$result_converted{'html'}->{'mathjax_with_texinfo_enable_encoding'} = '<!DOCTYPE
<style type="text/css">
<!--
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
-->
</style>
diff --git
a/tp/t/results/html_tests/mathjax_with_texinfo_html_file/res_html/index.html
b/tp/t/results/html_tests/mathjax_with_texinfo_html_file/res_html/index.html
index 99079b7669..c3cc275f73 100644
--- a/tp/t/results/html_tests/mathjax_with_texinfo_html_file/res_html/index.html
+++ b/tp/t/results/html_tests/mathjax_with_texinfo_html_file/res_html/index.html
@@ -13,7 +13,7 @@
<style type="text/css">
<!--
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
-->
</style>
diff --git
a/tp/t/results/html_tests/mathjax_with_texinfo_no_convert_to_latex.pl
b/tp/t/results/html_tests/mathjax_with_texinfo_no_convert_to_latex.pl
index 4f5be8870c..6a6dd3c20f 100644
--- a/tp/t/results/html_tests/mathjax_with_texinfo_no_convert_to_latex.pl
+++ b/tp/t/results/html_tests/mathjax_with_texinfo_no_convert_to_latex.pl
@@ -269,7 +269,7 @@
$result_converted{'html'}->{'mathjax_with_texinfo_no_convert_to_latex'} = '<!DOC
<style type="text/css">
<!--
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
-->
</style>
diff --git a/tp/t/results/raw/displaymath.pl b/tp/t/results/raw/displaymath.pl
index e59ec17593..9aeb5bd673 100644
--- a/tp/t/results/raw/displaymath.pl
+++ b/tp/t/results/raw/displaymath.pl
@@ -242,7 +242,7 @@ $result_converted{'html'}->{'displaymath'} = '<!DOCTYPE
html>
<style type="text/css">
<!--
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
-->
</style>
diff --git a/tp/tests/coverage/res_parser/formatting_chm/chapter.html
b/tp/tests/coverage/res_parser/formatting_chm/chapter.html
index 42bd87704c..87f324c495 100644
--- a/tp/tests/coverage/res_parser/formatting_chm/chapter.html
+++ b/tp/tests/coverage/res_parser/formatting_chm/chapter.html
@@ -888,7 +888,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git a/tp/tests/coverage/res_parser/formatting_chm/formatting.html
b/tp/tests/coverage/res_parser/formatting_chm/formatting.html
index a520a528ab..ce69a689ef 100644
--- a/tp/tests/coverage/res_parser/formatting_chm/formatting.html
+++ b/tp/tests/coverage/res_parser/formatting_chm/formatting.html
@@ -886,7 +886,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git
a/tp/tests/coverage/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/chapter.xhtml
b/tp/tests/coverage/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/chapter.xhtml
index 8b3eaca800..3716774754 100644
---
a/tp/tests/coverage/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/chapter.xhtml
+++
b/tp/tests/coverage/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/chapter.xhtml
@@ -888,7 +888,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git
a/tp/tests/coverage/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/formatting.xhtml
b/tp/tests/coverage/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/formatting.xhtml
index 17d4869f00..af29f461d4 100644
---
a/tp/tests/coverage/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/formatting.xhtml
+++
b/tp/tests/coverage/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/formatting.xhtml
@@ -886,7 +886,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git
a/tp/tests/coverage/res_parser/formatting_html_no_split/formatting.html
b/tp/tests/coverage/res_parser/formatting_html_no_split/formatting.html
index 61235b7226..11320c634d 100644
--- a/tp/tests/coverage/res_parser/formatting_html_no_split/formatting.html
+++ b/tp/tests/coverage/res_parser/formatting_html_no_split/formatting.html
@@ -887,7 +887,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git
a/tp/tests/coverage/res_parser/formatting_regions/formatting_regions.html
b/tp/tests/coverage/res_parser/formatting_regions/formatting_regions.html
index b8b8623f7b..b68331dae8 100644
--- a/tp/tests/coverage/res_parser/formatting_regions/formatting_regions.html
+++ b/tp/tests/coverage/res_parser/formatting_regions/formatting_regions.html
@@ -887,7 +887,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git a/tp/tests/coverage/res_parser/formatting_xhtml/formatting.html
b/tp/tests/coverage/res_parser/formatting_xhtml/formatting.html
index 2269aab864..c0b7dcc8eb 100644
--- a/tp/tests/coverage/res_parser/formatting_xhtml/formatting.html
+++ b/tp/tests/coverage/res_parser/formatting_xhtml/formatting.html
@@ -889,7 +889,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git
a/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.html
b/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.html
index fef269c5ee..13e13f94d1 100644
--- a/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.html
@@ -889,7 +889,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
pre.menu-comment-preformatted {font-family: serif}
pre.menu-entry-description-preformatted {font-family: serif; display: inline}
diff --git
a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/chapter.xhtml
b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/chapter.xhtml
index 400182ad3a..d25540fa31 100644
---
a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/chapter.xhtml
+++
b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/chapter.xhtml
@@ -888,7 +888,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git
a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/formatting.xhtml
b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/formatting.xhtml
index 0814395e48..1ad9e126c4 100644
---
a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/formatting.xhtml
+++
b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/formatting.xhtml
@@ -886,7 +886,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git a/tp/tests/layout/res_parser/formatting_exotic/chapter.html
b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
index 3c782ddde3..57ac778ac8 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
@@ -882,7 +882,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.program-in-footer {font-size: smaller}
span.r {font-family: initial; font-weight: normal; font-style: normal}
diff --git a/tp/tests/layout/res_parser/formatting_fr/formatting.html
b/tp/tests/layout/res_parser/formatting_fr/formatting.html
index 09bdb96990..c4b12dce9b 100644
--- a/tp/tests/layout/res_parser/formatting_fr/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_fr/formatting.html
@@ -884,7 +884,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
pre.menu-comment-preformatted {font-family: serif}
pre.menu-entry-description-preformatted {font-family: serif; display: inline}
diff --git a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
index 867f7a3d2a..51d0645998 100644
--- a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
@@ -884,7 +884,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
pre.menu-comment-preformatted {font-family: serif}
pre.menu-entry-description-preformatted {font-family: serif; display: inline}
diff --git a/tp/tests/layout/res_parser/formatting_inline_css/formatting.html
b/tp/tests/layout/res_parser/formatting_inline_css/formatting.html
index bca0390d81..f2abf9f197 100644
--- a/tp/tests/layout/res_parser/formatting_inline_css/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_inline_css/formatting.html
@@ -1110,14 +1110,14 @@ After clickstyle ⇒
<code class="code">@clicksequence{click @click{} A}</code> click ⇒ A
</p>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">disp--laymath
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup class="sup">-{1 \over 2}\left({x-\mu
\over \sigma}\right)^2</sup>
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif"><strong class="strong">``simple-double--three---four----''</strong>
aa<!-- /@w -->
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><strong
class="strong">``simple-double--three---four----''</strong> aa<!-- /@w -->
`<!-- /@w -->`simple-double-<!-- /@w -->-three---four----'<!-- /@w -->'
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">ı ȷ
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ı ȷ
ł ç
a̲ ạ ą a<sup class="sup">h</sup><sub class="sub">l</sub>
@@ -1125,7 +1125,7 @@ a̲ ạ ą a<sup class="sup">h</sup><sub
class="sub">l</sub>
! @ } {
a sunny day
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif">→
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">→
u
• © ... ... ≡
error→ → − -| ⇒
@@ -1133,12 +1133,12 @@ error→ → − -| ⇒
Þ ð þ ¡ ¿ £
ª º ,
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">“ ”
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">“ ”
‘ ’ „ ‚ «
» « » ‹
› € → ≤ ≥
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif"><b
class="b">b</b> <i class="i">i</i> <span class="r" style="font-family: initial;
font-weight: normal; font-style: normal">r</span> <small class="sc">SC</small>
<span class="sansserif" style="font-family: sans-serif; font-weight:
normal">sansserif</span> <i class="slanted">slanted</i>
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><b class="b">b</b> <i class="i">i</i>
<span class="r" style="font-family: initial; font-weight: normal; font-style:
normal">r</span> <small class="sc">SC</small> <span class="sansserif"
style="font-family: sans-serif; font-weight: normal">sansserif</span> <i
class="slanted">slanted</i>
</pre>
<p><kbd class="kbd" style="font-style: oblique">default kbdinputstyle</kbd>
</p><dl class="vtable">
@@ -1881,14 +1881,14 @@ html ''
<strong class="author">author</strong><br>
-<pre class="displaymath" style="font-style: italic; font-family: serif">ü
Ü ñ â é ō ì é Ḕ
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ü Ü ñ â é
ō ì é Ḕ
Ḉ Ḉ a̋ ȧ å a͡
ă ǎ
? .
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif">TeX
LaTeX ∗ å ® °
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">TeX LaTeX ∗ å ® °
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif"><code
class="t">t</code>
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><code class="t">t</code>
</pre>
<ul class="itemize">
<li>e–mph item
@@ -2216,14 +2216,14 @@ After clickstyle ⇒
<code class="code">@clicksequence{click @click{} A}</code> click ⇒ A
</p>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">disp--laymath
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup class="sup">-{1 \over 2}\left({x-\mu
\over \sigma}\right)^2</sup>
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif"><strong class="strong">``simple-double--three---four----''</strong>
aa<!-- /@w -->
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><strong
class="strong">``simple-double--three---four----''</strong> aa<!-- /@w -->
`<!-- /@w -->`simple-double-<!-- /@w -->-three---four----'<!-- /@w -->'
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">ı ȷ
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ı ȷ
ł ç
a̲ ạ ą a<sup class="sup">h</sup><sub class="sub">l</sub>
@@ -2231,7 +2231,7 @@ a̲ ạ ą a<sup class="sup">h</sup><sub
class="sub">l</sub>
! @ } {
a sunny day
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif">→
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">→
u
• © ... ... ≡
error→ → − -| ⇒
@@ -2239,12 +2239,12 @@ error→ → − -| ⇒
Þ ð þ ¡ ¿ £
ª º ,
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">“ ”
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">“ ”
‘ ’ „ ‚ «
» « » ‹
› € → ≤ ≥
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif"><b
class="b">b</b> <i class="i">i</i> <span class="r" style="font-family: initial;
font-weight: normal; font-style: normal">r</span> <small class="sc">SC</small>
<span class="sansserif" style="font-family: sans-serif; font-weight:
normal">sansserif</span> <i class="slanted">slanted</i>
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><b class="b">b</b> <i class="i">i</i>
<span class="r" style="font-family: initial; font-weight: normal; font-style:
normal">r</span> <small class="sc">SC</small> <span class="sansserif"
style="font-family: sans-serif; font-weight: normal">sansserif</span> <i
class="slanted">slanted</i>
</pre>
<p><kbd class="kbd" style="font-style: oblique">default kbdinputstyle</kbd>
</p><dl class="vtable">
@@ -2986,14 +2986,14 @@ html ''
</p>
-<pre class="displaymath" style="font-style: italic; font-family: serif">ü
Ü ñ â é ō ì é Ḕ
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ü Ü ñ â é
ō ì é Ḕ
Ḉ Ḉ a̋ ȧ å a͡
ă ǎ
? .
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif">TeX
LaTeX ∗ å ® °
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">TeX LaTeX ∗ å ® °
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif"><code
class="t">t</code>
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><code class="t">t</code>
</pre>
<ul class="itemize">
<li>e–mph item
@@ -3365,14 +3365,14 @@ After clickstyle ⇒
<code class="code">@clicksequence{click @click{} A}</code> click ⇒ A
</p>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">disp--laymath
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup class="sup">-{1 \over 2}\left({x-\mu
\over \sigma}\right)^2</sup>
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif"><strong class="strong">``simple-double--three---four----''</strong>
aa<!-- /@w -->
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><strong
class="strong">``simple-double--three---four----''</strong> aa<!-- /@w -->
`<!-- /@w -->`simple-double-<!-- /@w -->-three---four----'<!-- /@w -->'
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">ı ȷ
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ı ȷ
ł ç
a̲ ạ ą a<sup class="sup">h</sup><sub class="sub">l</sub>
@@ -3380,7 +3380,7 @@ a̲ ạ ą a<sup class="sup">h</sup><sub
class="sub">l</sub>
! @ } {
a sunny day
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif">→
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">→
u
• © ... ... ≡
error→ → − -| ⇒
@@ -3388,12 +3388,12 @@ error→ → − -| ⇒
Þ ð þ ¡ ¿ £
ª º ,
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">“ ”
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">“ ”
‘ ’ „ ‚ «
» « » ‹
› € → ≤ ≥
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif"><b
class="b">b</b> <i class="i">i</i> <span class="r" style="font-family: initial;
font-weight: normal; font-style: normal">r</span> <small class="sc">SC</small>
<span class="sansserif" style="font-family: sans-serif; font-weight:
normal">sansserif</span> <i class="slanted">slanted</i>
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><b class="b">b</b> <i class="i">i</i>
<span class="r" style="font-family: initial; font-weight: normal; font-style:
normal">r</span> <small class="sc">SC</small> <span class="sansserif"
style="font-family: sans-serif; font-weight: normal">sansserif</span> <i
class="slanted">slanted</i>
</pre>
<p><kbd class="kbd" style="font-style: oblique">default kbdinputstyle</kbd>
</p><dl class="vtable">
@@ -4135,14 +4135,14 @@ html ''
</p>
-<pre class="displaymath" style="font-style: italic; font-family: serif">ü
Ü ñ â é ō ì é Ḕ
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ü Ü ñ â é
ō ì é Ḕ
Ḉ Ḉ a̋ ȧ å a͡
ă ǎ
? .
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif">TeX
LaTeX ∗ å ® °
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">TeX LaTeX ∗ å ® °
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif"><code
class="t">t</code>
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><code class="t">t</code>
</pre>
<ul class="itemize">
<li>e–mph item
@@ -4469,14 +4469,14 @@ After clickstyle ⇒
<code class="code">@clicksequence{click @click{} A}</code> click ⇒ A
</p>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">disp--laymath
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup class="sup">-{1 \over 2}\left({x-\mu
\over \sigma}\right)^2</sup>
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif"><strong class="strong">``simple-double--three---four----''</strong>
aa<!-- /@w -->
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><strong
class="strong">``simple-double--three---four----''</strong> aa<!-- /@w -->
`<!-- /@w -->`simple-double-<!-- /@w -->-three---four----'<!-- /@w -->'
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">ı ȷ
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ı ȷ
ł ç
a̲ ạ ą a<sup class="sup">h</sup><sub class="sub">l</sub>
@@ -4484,7 +4484,7 @@ a̲ ạ ą a<sup class="sup">h</sup><sub
class="sub">l</sub>
! @ } {
a sunny day
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif">→
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">→
u
• © ... ... ≡
error→ → − -| ⇒
@@ -4492,12 +4492,12 @@ error→ → − -| ⇒
Þ ð þ ¡ ¿ £
ª º ,
</pre>
-<pre class="displaymath" style="font-style: italic; font-family:
serif">“ ”
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">“ ”
‘ ’ „ ‚ «
» « » ‹
› € → ≤ ≥
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif"><b
class="b">b</b> <i class="i">i</i> <span class="r" style="font-family: initial;
font-weight: normal; font-style: normal">r</span> <small class="sc">SC</small>
<span class="sansserif" style="font-family: sans-serif; font-weight:
normal">sansserif</span> <i class="slanted">slanted</i>
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><b class="b">b</b> <i class="i">i</i>
<span class="r" style="font-family: initial; font-weight: normal; font-style:
normal">r</span> <small class="sc">SC</small> <span class="sansserif"
style="font-family: sans-serif; font-weight: normal">sansserif</span> <i
class="slanted">slanted</i>
</pre>
<p><kbd class="kbd" style="font-style: oblique">default kbdinputstyle</kbd>
</p><dl class="vtable">
@@ -5239,14 +5239,14 @@ html ''
</p>
-<pre class="displaymath" style="font-style: italic; font-family: serif">ü
Ü ñ â é ō ì é Ḕ
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ü Ü ñ â é
ō ì é Ḕ
Ḉ Ḉ a̋ ȧ å a͡
ă ǎ
? .
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif">TeX
LaTeX ∗ å ® °
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">TeX LaTeX ∗ å ® °
</pre>
-<pre class="displaymath" style="font-style: italic; font-family: serif"><code
class="t">t</code>
+<pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><code class="t">t</code>
</pre>
<ul class="itemize">
<li>e–mph item
@@ -5584,16 +5584,16 @@ After clickstyle ⇒
<code class="code">@clicksequence{click @click{} A}</code> click ⇒ A
-</pre><pre class="displaymath" style="font-style: italic; font-family:
serif">disp--laymath
+</pre><pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup class="sup">-{1 \over 2}\left({x-\mu
\over \sigma}\right)^2</sup>
</pre><pre class="example-preformatted">
-</pre><pre class="displaymath" style="font-style: italic; font-family:
serif"><strong class="strong">``simple-double--three---four----''</strong>
aa<!-- /@w -->
+</pre><pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><strong
class="strong">``simple-double--three---four----''</strong> aa<!-- /@w -->
`<!-- /@w -->`simple-double-<!-- /@w -->-three---four----'<!-- /@w -->'
</pre><pre class="example-preformatted">
-</pre><pre class="displaymath" style="font-style: italic; font-family:
serif">ı ȷ
+</pre><pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ı ȷ
ł ç
a̲ ạ ą a<sup class="sup">h</sup><sub class="sub">l</sub>
@@ -5602,7 +5602,7 @@ a̲ ạ ą a<sup class="sup">h</sup><sub
class="sub">l</sub>
a sunny day
</pre><pre class="example-preformatted">
-</pre><pre class="displaymath" style="font-style: italic; font-family:
serif">→
+</pre><pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">→
u
• © ... ... ≡
error→ → − -| ⇒
@@ -5611,13 +5611,13 @@ error→ → − -| ⇒
ª º ,
</pre><pre class="example-preformatted">
-</pre><pre class="displaymath" style="font-style: italic; font-family:
serif">“ ”
+</pre><pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">“ ”
‘ ’ „ ‚ «
» « » ‹
› € → ≤ ≥
</pre><pre class="example-preformatted">
-</pre><pre class="displaymath" style="font-style: italic; font-family:
serif"><b class="b">b</b> <i class="i">i</i> <span class="r"
style="font-family: initial; font-weight: normal; font-style: normal">r</span>
<span class="sc">SC</span> <span class="sansserif" style="font-family:
sans-serif; font-weight: normal">sansserif</span> <i class="slanted">slanted</i>
+</pre><pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><b class="b">b</b> <i class="i">i</i>
<span class="r" style="font-family: initial; font-weight: normal; font-style:
normal">r</span> <span class="sc">SC</span> <span class="sansserif"
style="font-family: sans-serif; font-weight: normal">sansserif</span> <i
class="slanted">slanted</i>
</pre><pre class="example-preformatted">
<kbd class="kbd" style="font-style: oblique">default kbdinputstyle</kbd>
@@ -6486,16 +6486,16 @@ Invalid use of @':
-</pre><pre class="displaymath" style="font-style: italic; font-family:
serif">ü Ü ñ â é ō ì é
Ḕ
+</pre><pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">ü Ü ñ â é
ō ì é Ḕ
Ḉ Ḉ a̋ ȧ å a͡
ă ǎ
? .
</pre><pre class="example-preformatted">
-</pre><pre class="displaymath" style="font-style: italic; font-family:
serif">TeX LaTeX ∗ å ® °
+</pre><pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center">TeX LaTeX ∗ å ® °
</pre><pre class="example-preformatted">
-</pre><pre class="displaymath" style="font-style: italic; font-family:
serif"><code class="t">t</code>
+</pre><pre class="displaymath" style="font-style: italic; font-family: serif;
display: flex; justify-content: center"><code class="t">t</code>
</pre><pre class="example-preformatted">
</pre><ul class="itemize">
diff --git a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
index d9f1cd03da..c0a2e1cb1c 100644
--- a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
@@ -888,7 +888,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git
a/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.html
b/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.html
index 3ce3dc2682..b2e147c3f0 100644
--- a/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.html
@@ -889,7 +889,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
pre.menu-comment-preformatted {font-family: serif}
pre.menu-entry-description-preformatted {font-family: serif; display: inline}
diff --git
a/tp/tests/layout/res_parser/formatting_sort_element_counts/formatting.html
b/tp/tests/layout/res_parser/formatting_sort_element_counts/formatting.html
index d026286f51..e363b136d2 100644
--- a/tp/tests/layout/res_parser/formatting_sort_element_counts/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_sort_element_counts/formatting.html
@@ -887,7 +887,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
diff --git a/tp/tests/layout/res_parser/formatting_texi2html/formatting.html
b/tp/tests/layout/res_parser/formatting_texi2html/formatting.html
index d53cd7bf2f..c7d4d7524f 100644
--- a/tp/tests/layout/res_parser/formatting_texi2html/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_texi2html/formatting.html
@@ -884,7 +884,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
pre.menu-comment-preformatted {font-family: serif}
pre.menu-entry-description-preformatted {font-family: serif; display: inline}
diff --git a/tp/tests/layout/res_parser/formatting_texi2html_nodes/chapter.html
b/tp/tests/layout/res_parser/formatting_texi2html_nodes/chapter.html
index 3126ff99b4..677f2e43c6 100644
--- a/tp/tests/layout/res_parser/formatting_texi2html_nodes/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_texi2html_nodes/chapter.html
@@ -882,7 +882,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
pre.menu-comment-preformatted {font-family: serif}
pre.menu-entry-description-preformatted {font-family: serif; display: inline}
diff --git a/tp/tests/layout/res_parser/formatting_texi2html_nodes/index.html
b/tp/tests/layout/res_parser/formatting_texi2html_nodes/index.html
index 711adefce1..ecce3a5fc7 100644
--- a/tp/tests/layout/res_parser/formatting_texi2html_nodes/index.html
+++ b/tp/tests/layout/res_parser/formatting_texi2html_nodes/index.html
@@ -882,7 +882,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
pre.menu-comment-preformatted {font-family: serif}
span.program-in-footer {font-size: smaller}
diff --git a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
index 6b83da466b..a73ee3ff98 100644
--- a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
@@ -889,7 +889,7 @@ kbd.key {font-style: normal}
p.flushleft-paragraph {text-align:left}
p.flushright-paragraph {text-align:right}
pre.display-preformatted {font-family: inherit}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
pre.format-preformatted {font-family: inherit}
pre.menu-comment-preformatted {font-family: serif}
pre.menu-entry-description-preformatted {font-family: serif; display: inline}
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.html
b/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.html
index 8cb232c352..c0cb238717 100644
--- a/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.html
+++ b/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.html
@@ -16,7 +16,7 @@
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
span:hover a.copiable-link {visibility: visible}
-->
</style>
diff --git a/tp/tests/tex_html/res_parser/tex_mathjax/tex.html
b/tp/tests/tex_html/res_parser/tex_mathjax/tex.html
index cc20d1f0c1..fb8f1f18ed 100644
--- a/tp/tests/tex_html/res_parser/tex_mathjax/tex.html
+++ b/tp/tests/tex_html/res_parser/tex_mathjax/tex.html
@@ -16,7 +16,7 @@
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
span:hover a.copiable-link {visibility: visible}
-->
</style>
diff --git a/tp/tests/tex_html/res_parser/tex_notex/tex.html
b/tp/tests/tex_html/res_parser/tex_notex/tex.html
index 045a08b277..bd51908427 100644
--- a/tp/tests/tex_html/res_parser/tex_notex/tex.html
+++ b/tp/tests/tex_html/res_parser/tex_notex/tex.html
@@ -16,7 +16,7 @@
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
-pre.displaymath {font-style: italic; font-family: serif}
+pre.displaymath {font-style: italic; font-family: serif; display: flex;
justify-content: center}
span:hover a.copiable-link {visibility: visible}
-->
</style>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/HTML.pm (%css_element_class_styles) <displaymath>: center displaymath. Report and CSS from Rudolf Adamkovič.,
Patrice Dumas <=