From 08e68d600ad10efd025f30732ee46f405e5411ed Mon Sep 17 00:00:00 2001 From: Stephen Niedzielski Date: Thu, 11 Jan 2018 16:25:01 -0600 Subject: [PATCH] Fix: style printed math formulas with serif font When printed, math formulas appear best rendered in the same font as the body, serif. Override dl and other sans-serif styling rules for all printed images. e.g.: https://en.wikipedia.org/wiki/Frame-dragging. Bug: T181138 Change-Id: I9755a23cbec8388964c27d938a7aea8e25fe2f7f --- print.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/print.less b/print.less index 9e7069e53..7c148234c 100644 --- a/print.less +++ b/print.less @@ -51,6 +51,11 @@ font-family: @font-family-sans-serif; } + // Images, such as formulas, render best in serif. + img { + font-family: @font-family-serif; + } + // Normalize Blue links in the article a { border-bottom: 1px solid #aaa;