# A textbox in the settings used to enable physics package ---- the mathjax extension that redefines some commands

http://docs.mathjax.org/en/latest/input/tex/extensions/physics.html

To load the physics extension, add '[tex]/physics' to the load array of the loader block of your MathJax configuration, and add 'physics' to the packages array of the tex block.

Or is there a way to edit global config file, eg: ./.obsidianrc to enable physics package automatically?

1 Like

You can load physics with this plugin

and add \require{physics}

1 Like

Have you tried this? I have included exactly this in my preamble.sty using this extension and it doesnt work

This is simply not true. As per the Github issue here: https://github.com/xldenis/obsidian-latex/issues/20#event-7094699956, the plugin was never intended to be able to load the physics package.