0
$\begingroup$

I tried following the answer in TeXForm and Symobilze, however, I have trouble making it work. I loaded the Notation packages and symbolized all expressions with a subscript as in the example. I defined the same test function using Ctrl+_, I do obtain the same output for TeXForm and FullForm before loading updateSubscriptTraditionalForm[]. However, after loading it, TeXForm still gives me the same output?

$\endgroup$
  • 1
    $\begingroup$ I added an alternate answer to that question that may help you. $\endgroup$ – Carl Woll Feb 15 at 4:37
  • $\begingroup$ That's great! It causes a new problem though, but it answers this question. Thank you! $\endgroup$ – Patrick.B Feb 16 at 14:37
0
$\begingroup$

After some more experimentation, it would seem that using StandardForm inside TeXForm works, all the while keeping the WorkingForm default:

Needs["Notation`"];
Symbolize[ParsedBoxWrapper[SubscriptBox["_", "_"]]]

TeXForm[StandardForm[Subscript[a, 1]]]

Instead of justTeXForm[Subscript[a, 1]]. I am not sure why/how, but it works.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.