I only very recently noticed that you can put \newcommand definitions in equations in LW posts and they’ll apply to all the equations in that post. This is an enormous help for writing long technical posts, so I think it’d be nice if it was (a) more discoverable and (b) easier to use. For (b), the annoying thing right now is that I have to put newcommands into one of the equations, so either I need to make a dedicated one, or I need to know which equation I used. Also, the field for entering equations isn’t great for entering things with many lines.
Feature suggestion to improve this: in the options section below the post editor, have a multiline text field where you can put LaTeX, and then inject that LaTeX code into MathJax as a preamble (or just add an otherwise empty equation to the page, I don’t know to what extent MathJax supports preambles).
I only very recently noticed that you can put \newcommand definitions in equations in LW posts and they’ll apply to all the equations in that post. This is an enormous help for writing long technical posts, so I think it’d be nice if it was (a) more discoverable and (b) easier to use. For (b), the annoying thing right now is that I have to put newcommands into one of the equations, so either I need to make a dedicated one, or I need to know which equation I used. Also, the field for entering equations isn’t great for entering things with many lines.
Feature suggestion to improve this: in the options section below the post editor, have a multiline text field where you can put LaTeX, and then inject that LaTeX code into MathJax as a preamble (or just add an otherwise empty equation to the page, I don’t know to what extent MathJax supports preambles).