Formulas and TeX packages
Write formulas in LaTeX. Ten built-in packages are enabled by default. They add common notation for reaction arrows, boxes and stacks, probability, linear algebra, calculus and physics, logic and sets, engineering units, thermochemistry and electrochemistry, circuits and signals, and quantum and tensor notation. Enabled packages apply automatically to Prepare text, Formula Preview and Generate preview without changing built-in LaTeX.
Open Editing tools → TeX packages, or choose Manage TeX packages in Prepare text.
| Library | Editor | Playground |
|---|---|---|
![]() |
![]() |
![]() |
Library
Search by package name, ID or command and use the switches to enable packages. To change a built-in rule, choose Create a copy on its card and give the copy a new ID.
Open a shared .panache-tex.json with Import JSON file, or paste its contents into Import pasted JSON. Export on a package card saves one package. Export custom packages saves all of your own packages for others to import.
Editor
Turn notation you use often, such as conditional reaction arrows, boxed results or course shorthands, into a package. Fill in commands, arguments and templates in the Visual form, or edit the JSON directly. On wide screens, the live formula preview and validation appear on the right. Use Test draft to check it, then Save and enable.
If you prefer not to write JSON, open TeX Packages Guide & AI Prompt, choose Copy AI Prompt and send it to your AI assistant with the commands you want. Paste the reply into Import pasted JSON. No repository access is needed.
Playground
Choose Try in playground on a package card, or type a snippet in Playground, for example $U(s) \sigarrow{G(s)} Y(s)$. Formula Preview appears beside the Handwriting engine output and the rendered handwriting. Choose Insert into editor to add the snippet, which you can keep editing.
Sharing your text
Workspace drafts record the packages enabled at the time. If you share only the text, include the exported package file so the recipient can import the same version.
See the package guide for fields, evaluation order and the local validator, and the math reference for supported formulas.


