MathJax renders as too bold in PDF and printing
Posted: Thu Aug 27, 2026 3:47 am
A new problem since last year is now the rendered MathJax looks too bold in Chromium rendering the site as PDF. More importantly, this affects printing the page.
After some debugging I found MathJax uses SVG
Adding is the intended fix according to "(e.g. using print-to-PDF the output will look extremely bold in most PDF readers even if it will print fine)" https://github.com/mathjax/MathJax/issues/2859
This is what correct printing should look more like:
A separate issue is the logo prints twice due to the print CSS not hiding <header>. The CSS print stylesheet should include
After some debugging I found MathJax uses SVG
Code: Select all
stroke-width: 3Adding
Code: Select all
output: { blacker: 0 }This is what correct printing should look more like:
A separate issue is the logo prints twice due to the print CSS not hiding <header>. The CSS print stylesheet should include
Code: Select all
@media print{header{display:none}}