Timeline for Format and TeXForm does not work as expected
Current License: CC BY-SA 3.0
21 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 2, 2018 at 3:28 | history | edited | Carl Woll | CC BY-SA 3.0 |
minor
|
Apr 1, 2018 at 20:08 | answer | added | Carl Woll | timeline score: 7 | |
Apr 13, 2017 at 12:55 | history | edited | CommunityBot |
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
|
|
Sep 17, 2016 at 20:00 | history | edited | masterxilo |
edited tags
|
|
Sep 17, 2016 at 20:00 | comment | added | masterxilo | I have added the 'bugs' tag because TeXForm does not work as advertised in the documentation. Either it or the documentation need to change. | |
Jan 19, 2015 at 16:30 | history | edited | Mr.Wizard | CC BY-SA 3.0 |
bump for attention
|
May 13, 2014 at 1:53 | answer | added | jkuczm | timeline score: 15 | |
May 12, 2014 at 9:08 | answer | added | jkuczm | timeline score: 7 | |
May 9, 2014 at 19:29 | answer | added | halirutan | timeline score: 10 | |
May 9, 2014 at 12:37 | comment | added | Michael E2 |
Note: the Format rule is applied in TeXForm[x] . It is possible that a format is applied in TeXForm only when it matches the whole expression.
|
|
May 9, 2014 at 12:37 | comment | added | cyberSingularity |
Also, the example Format[bin[x_, y_], TeXForm] := MatrixForm[{{x}, {y}}] in the TeXForm reference does work...
|
|
May 9, 2014 at 12:25 | comment | added | cyberSingularity |
It seems to work if you replace TeXForm with InputForm , suggesting that the problem is mainly associated with TeXForm rather than Format . Please keep us updated on the response to the bug report.
|
|
May 7, 2014 at 17:10 | comment | added | halirutan | @chuy I have already reported it as bug. | |
May 7, 2014 at 13:45 | comment | added | chuy | I would report this to [email protected] | |
May 7, 2014 at 13:00 | comment | added | Oleksandr R. |
@RolfMertig it works with any $BoxForms , which are StandardForm and TraditionalForm . These are called by TeXForm on its argument, and the latter then displays as the $\TeX$ corresponding to the resulting boxes. It isn't the most elegant approach, I admit, but without knowledge of how the TeXForm display is obtained internally (probably the the FE sees it and produces some special boxes?), this hijacking seems to be the best we can do.
|
|
May 7, 2014 at 12:41 | comment | added | Rolf Mertig | @OleksandrR.MakeBoxes does not work with TeXForm as its second argument. | |
May 7, 2014 at 12:31 | comment | added | Oleksandr R. |
Has Format ever worked (reliably) as advertised? Not in my experience. Just use MakeBoxes instead; forget about Format . :)
|
|
May 7, 2014 at 12:27 | history | tweeted | twitter.com/#!/StackMma/status/464018728632344577 | ||
May 7, 2014 at 10:50 | comment | added | Sjoerd C. de Vries | @GregoryRut How does that answer the question? | |
May 7, 2014 at 9:41 | comment | added | Grzegorz Rut |
From Mathematica's help: Format[s]:=rhs defines a symbol s to print like rhs.
|
|
May 7, 2014 at 9:30 | history | asked | halirutan | CC BY-SA 3.0 |