From da48235262973ee56f0a9553764c431f72e1aab8 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Thu, 1 Jul 2010 19:11:22 +0000 Subject: [PATCH] texvc +\bcancel and \xcancel to make full use of the cancel package --- RELEASE-NOTES | 1 + math/texutil.ml | 2 ++ 2 files changed, 3 insertions(+) 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 ", "")) -- 2.20.1