From a6caf48b6cccb7d4cfdae07669fb3022926128d9 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 25 Aug 2026 08:25:11 +0000 Subject: [PATCH] feat: italicize quotation environments --- bundle/latex2js.css | 7 +++++++ packages/css/latex2js.css | 7 +++++++ packages/latex2js/latex2js.css | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/bundle/latex2js.css b/bundle/latex2js.css index 708d61c..4ccb80b 100644 --- a/bundle/latex2js.css +++ b/bundle/latex2js.css @@ -40,6 +40,13 @@ blockquote.quotation { padding: 0 0 0 15px; margin: 0 0 20px; font-size: 10pt; + font-style: italic; +} + +blockquote.quotation .math, +blockquote.quotation .MathJax, +blockquote.quotation mjx-container { + font-style: normal; } /* End-of-proof tombstone, set flush right as amsthm places it. */ diff --git a/packages/css/latex2js.css b/packages/css/latex2js.css index 708d61c..4ccb80b 100644 --- a/packages/css/latex2js.css +++ b/packages/css/latex2js.css @@ -40,6 +40,13 @@ blockquote.quotation { padding: 0 0 0 15px; margin: 0 0 20px; font-size: 10pt; + font-style: italic; +} + +blockquote.quotation .math, +blockquote.quotation .MathJax, +blockquote.quotation mjx-container { + font-style: normal; } /* End-of-proof tombstone, set flush right as amsthm places it. */ diff --git a/packages/latex2js/latex2js.css b/packages/latex2js/latex2js.css index 708d61c..4ccb80b 100644 --- a/packages/latex2js/latex2js.css +++ b/packages/latex2js/latex2js.css @@ -40,6 +40,13 @@ blockquote.quotation { padding: 0 0 0 15px; margin: 0 0 20px; font-size: 10pt; + font-style: italic; +} + +blockquote.quotation .math, +blockquote.quotation .MathJax, +blockquote.quotation mjx-container { + font-style: normal; } /* End-of-proof tombstone, set flush right as amsthm places it. */