Timeline for Is it possible to change/customize some conversions done by TeXForm?
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 12, 2022 at 6:42 | history | edited | Carl Woll | CC BY-SA 4.0 |
Updated to accommodate a change in the option value for ExtendedDefinition.
|
Apr 4, 2018 at 1:34 | comment | added | Nasser |
hi Carl. I found a bug in the above change to replace \text with \operatorname So I will just keep using text{} for now. Here is an example. result=Integrate[(1-x^4+x^8)^(-1),x] and now using TeXForm on the result, when adding your rules, not all text are converted. so the resulting Latex gives error when compiled. Here is screen shot !Mathematica graphics It might not be worth fixing it. I'll just go back to leaving text as is. Just wanted to let you know. Thanks.
|
|
Apr 3, 2018 at 6:18 | comment | added | Nasser | Thanks Carl That works great! I used your Latex conversion functions above for naming part, in my new CAS integration test report for 11.3. | |
Apr 2, 2018 at 2:02 | comment | added | Carl Woll | @Nasser See update. | |
Apr 2, 2018 at 2:02 | history | edited | Carl Woll | CC BY-SA 3.0 |
Address question in comment
|
Apr 1, 2018 at 23:27 | comment | added | Nasser |
Thank you. I did look at it your new post, but your code is too advanced for me and I do not know what I need to change to make it emit \operatorname{Fresnel} instead of text{Fresnel} .
|
|
Apr 1, 2018 at 20:13 | comment | added | Carl Woll |
@Nasser Please see my (answer) to question (47417), specifically the change to the DownValues for the symbol System`Convert`TeXFormDump`maketex .
|
|
Apr 1, 2018 at 1:27 | comment | added | Nasser |
Is it possible to make it generate \operatorname{Fresnel} instead of \text{FresnelC} ? I tried to change your code but did not know how to. Thanks.
|
|
Aug 17, 2017 at 14:53 | comment | added | Carl Woll | @jkuczm No, that was just an oversight. Thanks. | |
Aug 17, 2017 at 14:53 | history | edited | Carl Woll | CC BY-SA 3.0 |
Localize protect symbol
|
Aug 17, 2017 at 11:34 | comment | added | jkuczm |
In Initial definition you're assigning to global protect symbol. Is that intentional?
|
|
Aug 17, 2017 at 6:40 | history | answered | Carl Woll | CC BY-SA 3.0 |