* Fix \pmb

* Update screenshots

* Use \mathbf for MathML
This commit is contained in:
Ron Kok
2019-05-24 19:03:03 -07:00
committed by ylemkimon
parent 3b60aee16c
commit 17e89efdfc
3 changed files with 6 additions and 7 deletions

View File

@@ -662,13 +662,12 @@ defineMacro("\\mod", "\\allowbreak" +
"{\\rm mod}\\,\\,#1");
// \pmb -- A simulation of bold.
// It works by typesetting three copies of the argument with small offsets.
// Ref: a rather lengthy macro in ambsy.sty
defineMacro("\\pmb", "\\html@mathml{\\@binrel{#1}{" +
"\\mathrlap{#1}" +
"\\mathrlap{\\mkern0.4mu\\raisebox{0.4mu}{$#1$}}" +
"{\\mkern0.8mu#1}" +
"}}{\\mathbf{#1}}");
// The version in ambsy.sty works by typesetting three copies of the argument
// with small offsets. We use two copies. We omit the vertical offset because
// of rendering problems that makeVList encounters in Safari.
defineMacro("\\pmb", "\\html@mathml{" +
"\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}" +
"{\\mathbf{#1}}");
//////////////////////////////////////////////////////////////////////
// LaTeX source2e

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB