From: Conrad Irwin Date: Thu, 1 Jul 2010 19:11:22 +0000 (+0000) Subject: texvc +\bcancel and \xcancel to make full use of the cancel package X-Git-Tag: 1.31.0-rc.0~36318 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=da48235262973ee56f0a9553764c431f72e1aab8;p=lhc%2Fweb%2Fwiklou.git texvc +\bcancel and \xcancel to make full use of the cancel package --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4e8d5ab6ce..198ad31a2b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -97,6 +97,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 8507) Group file links by namespace:title on image pages * Stop emitting named entities, so we can use while still being well-formed XML +* texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto === Bug fixes in 1.17 === * (bug 17560) Half-broken deletion moved image files to deletion archive diff --git a/math/texutil.ml b/math/texutil.ml index bd348f9e92..7800c65858 100644 --- a/math/texutil.ml +++ b/math/texutil.ml @@ -512,6 +512,8 @@ let find = function | "\\over" -> FUN_INFIXh ("\\over ", fun num den -> Html.html_render num, "
", Html.html_render den) | "\\sqrt" -> FUN_AR1 "\\sqrt " | "\\cancel" -> FUN_AR1 "\\cancel " + | "\\bcancel" -> FUN_AR1 "\\bcancel " + | "\\xcancel" -> FUN_AR1 "\\xcancel " | "\\cancelto" -> FUN_AR2 "\\cancelto " | "\\pmod" -> FUN_AR1hl ("\\pmod ", ("(mod ", ")")) | "\\bmod" -> FUN_AR1hl ("\\bmod ", ("mod ", ""))