TheDJ has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/61284


Change subject: MathJax: Use \mathbf instead \boldsymbol for the \bold command
......................................................................

MathJax: Use \mathbf instead \boldsymbol for the \bold command

\boldsymbol actually resulted in bold italic formatting, which was not
consistent with the texvc renderer. Use \mathbf (Bold face) instead.

Change-Id: I1a6fb07c55a2089c7acf50059a3a4a4e196812f1
---
M modules/MathJax/extensions/TeX/texvc.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/84/61284/1

diff --git a/modules/MathJax/extensions/TeX/texvc.js 
b/modules/MathJax/extensions/TeX/texvc.js
index 1e5cc4a..8de0c38 100644
--- a/modules/MathJax/extensions/TeX/texvc.js
+++ b/modules/MathJax/extensions/TeX/texvc.js
@@ -133,7 +133,7 @@
       arccot:             'NamedFn',
       arcsec:             'NamedFn',
       arccsc:             'NamedFn',
-      bold:               ['Macro','\\boldsymbol'],  // boldsymbol
+      bold:               ['Macro','\\mathbf{#1}',1],  // boldsymbol
       href:               'NamedFn', // disable dangerous command
       style:              'NamedFn', // disable dangerous command
       pagecolor:          ['Macro','',1]  // ignore \pagecolor{}

-- 
To view, visit https://gerrit.wikimedia.org/r/61284
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a6fb07c55a2089c7acf50059a3a4a4e196812f1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to