mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-12 01:08:55 +00:00
MathJax: Support the texvc command \vline
Bug: 35186 Change-Id: If38014bde908bb202dc63213fa21a72b52a6a42d
This commit is contained in:
parent
5245d0f555
commit
d9a2017e45
3
modules/MathJax/extensions/TeX/texvc.js
vendored
3
modules/MathJax/extensions/TeX/texvc.js
vendored
|
@ -120,7 +120,8 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
|||
bold: ['Macro','\\boldsymbol'], // boldsymbol
|
||||
href: 'NamedFn', // disable dangerous command
|
||||
style: 'NamedFn', // disable dangerous command
|
||||
pagecolor: ['Macro','',1] // ignore \pagecolor{}
|
||||
pagecolor: ['Macro','',1], // ignore \pagecolor{}
|
||||
vline: ['Macro','\\smash{\\large\\lvert}',0]
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue