jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Physikerwelt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/MathJax/extensions/TeX/texvc.js 
b/modules/MathJax/extensions/TeX/texvc.js
index 7a3bb7c..9561ac5 100644
--- a/modules/MathJax/extensions/TeX/texvc.js
+++ b/modules/MathJax/extensions/TeX/texvc.js
@@ -120,7 +120,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: merged
Gerrit-Change-Id: I1a6fb07c55a2089c7acf50059a3a4a4e196812f1
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>
Gerrit-Reviewer: Brion VIBBER <[email protected]>
Gerrit-Reviewer: Physikerwelt <[email protected]>
Gerrit-Reviewer: TheDJ <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to