Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5719
work.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:38 PM
2014-11-21 22:38:00 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
work.diff
View Options
Index: mathParserTests.txt
===================================================================
--- mathParserTests.txt (revision 97018)
+++ mathParserTests.txt (working copy)
@@ -98,3 +98,53 @@
<span class="texhtml" dir="ltr">`next' year</span>
</p>
!! end
+
+!! test
+BUG 6722: Spacing fix for functions in math HTML output
+!! input
+<math>\sin x</math>
+<math>\sin(x)</math>
+<math>\sin{x}</math>
+
+<math>\sin x \,</math>
+<math>\sin(x) \,</math>
+<math>\sin{x} \,</math>
+!!result
+<p><span class="texhtml" dir="ltr">sin <i>x</i></span>
+<span class="texhtml" dir="ltr">sin(<i>x</i>)</span>
+<span class="texhtml" dir="ltr">sin <i>x</i></span>
+</p><p><img class="tex" alt="\sin x \," src="/images/math/7/6/a/76a8e1a01bd233c1e4e16d63b2bbf939.png" />
+<img class="tex" alt="\sin(x) \," src="/images/math/8/a/e/8aeee89beef5b297c2377823be6c90a8.png" />
+<img class="tex" alt="\sin{x} \," src="/images/math/8/3/9/839639707da39f691e702c2399cbf943.png" />
+</p>
+!! end
+
+!! test
+BUG 18912: Add \sen function for Spanish sin to math
+!! input
+<math>\sen x</math>
+<math>\sen(x)</math>
+<math>\sen{x}</math>
+
+<math>\sen x \,</math>
+<math>\sen(x) \,</math>
+<math>\sen{x} \,</math>
+!! result
+<p><span class="texhtml" dir="ltr">sen <i>x</i></span>
+<span class="texhtml" dir="ltr">sen(<i>x</i>)</span>
+<span class="texhtml" dir="ltr">sen <i>x</i></span>
+</p><p><br />
+<img class="tex" alt="\sen x \," src="/images/math/4/c/5/4c58aaf3404e927a654fccd75e00ae5e.png" />
+<img class="tex" alt="\sen(x) \," src="/images/math/b/b/5/bb5469d24fcdd52aa60cb9ee90ba697d.png" />
+<img class="tex" alt="\sen x \," src="/images/math/?/?/?/?????????.png" />
+</p>
+!! end
+
+!! test
+BUG 18912: \operatorname{sen} x gets wrong spacing in math
+!! input
+<math>\operatorname{sen}</math>
+!! result
+<p><img class="tex" alt="\operatorname{sen}" src="/images/math/3/e/7/3e71e75d9aac1bf5107271ad89ca7c3b.png" />
+</p>
+!! end
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5269
Default Alt Text
work.diff (1 KB)
Attached To
Mode
T20912: latex and spanish projects (sine function wrongly displayed)
Attached
Detach File
Event Timeline
Log In to Comment