Index: trunk/extensions/Math/mathParserTests.txt |
— | — | @@ -39,3 +39,14 @@ |
40 | 40 | #</p> |
41 | 41 | #!! end |
42 | 42 | |
| 43 | +!! test |
| 44 | +BUG 26380: Add \widetilde support to match \widehat |
| 45 | +!! input |
| 46 | +<math>\widehat{x}</math> |
| 47 | +<math>\widetilde{x}</math> |
| 48 | +!! result |
| 49 | +<p><img class="tex" alt="\widehat{x}" src="/images/math/9/9/8/998309e831dfb051f233c92b4b8a825b.png" /> |
| 50 | +<img class="tex" alt="\widetilde{x}" src="/images/math/e/9/e/e9e91996778a6d6f5cdf4cc951955206.png" /> |
| 51 | +</p> |
| 52 | +!! end |
| 53 | + |
Index: trunk/extensions/Math/math/texutil.ml |
— | — | @@ -492,6 +492,7 @@ |
493 | 493 | | "\\hat" -> FUN_AR1 "\\hat " |
494 | 494 | | "\\hline" -> LITERAL (TEX_ONLY "\\hline ") |
495 | 495 | | "\\vline" -> LITERAL (TEX_ONLY "\\vline ") |
| 496 | + | "\\widetilde" -> LITERAL (TEX_ONLY "\\widetilde ") |
496 | 497 | | "\\widehat" -> LITERAL (TEX_ONLY "\\widehat ") |
497 | 498 | | "\\overline" -> LITERAL (TEX_ONLY "\\overline ") |
498 | 499 | | "\\overbrace" -> LITERAL (TEX_ONLY "\\overbrace ") |