Commit c459dc5
committed
added support for \operatorname (closes #553)
I started with the version of the related code written by Freddie
Witherden and committed to (the now abandoned?) mathtex spinoff project
which didn't makes its way back to matplotlib. However, that code:
http://code.google.com/p/mathtex/source/detail?r=75 allowed only to
lower- and upper-case letters to be used inside of \operatorname.
I have improved it to allow the usage of any simple character -
including the insertion of spaces - such that $\operator{arg\,max}$
actually inserts a space between arg max1 parent 2bb91ce commit c459dc5
2 files changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2269 | 2269 | | |
2270 | 2270 | | |
2271 | 2271 | | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
2272 | 2278 | | |
2273 | 2279 | | |
2274 | 2280 | | |
| |||
2279 | 2285 | | |
2280 | 2286 | | |
2281 | 2287 | | |
| 2288 | + | |
2282 | 2289 | | |
2283 | 2290 | | |
2284 | 2291 | | |
| |||
2578 | 2585 | | |
2579 | 2586 | | |
2580 | 2587 | | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
2581 | 2600 | | |
2582 | 2601 | | |
2583 | 2602 | | |
| |||
0 commit comments