0

I use a lot of locally-defined math-operators & commands in LaTex and these do not seem to be loaded for processing of the live-preview (inline preview of the math within ST3).

Is there any way I can add to the packages / commands etc that are included in use for rendering the live previews?

1 Answer 1

1

You can manually add it to the preview_math_template_preamble setting.

If you want to have it automatically you can try LaTeXZeta and use the LaTeXZeta: Toggle Auto Set Preview Math Template Preamble command. This parses your current view and sets that setting for you. However if you use this your manually set preamble will be ignored.

This is planed to be done by LaTeXTools, but this may take while LaTeXTools#977.

2
  • Thank you for the very comprehensive answer: I hope others will also up-vote - appreciate the time you took to link everything & explain so clearly!
    – Rax Adaam
    Feb 23, 2017 at 20:45
  • FYI - "LaTeXYZ / LaTeXZeta" only seems to load \newcommands but not larger macros (document commands etc).
    – Rax Adaam
    Dec 9, 2019 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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