Latex usability
-
Hi!
It’s nice that latex code is supported, but my problem is that it’s really easy to loose overview on the site editor, because I need to use color and size settings. So even a very short formula becomes this: $latex tan(alpha/2) &bg=28262c&fg=f5f0e5&s=3$
Is there any way to improve this? If I had a wish, I would wish for a latex editor built into WordPress, that actually gives a rendered preview in the editor (and which supports align environments).
But since I use always the same template like $latex &bg=28262c&fg=f5f0e5&s=3$, is there maybe a way to shorten this using some feature I don’t know about? Like default settings for latex formulas?
Problem is that on the page I like to create, I need quite a lot of formulas. And the way it currently works, it really is a pain.WP.com: Yes
Correct account: YesThe blog I need help with is: (visible only to moderators and staff)
-
Hi there!
We do not provide support for LaTeX syntax or help with errors or issues with the code itself. It’s also not something that is in active development, so new features are not being worked on at this time.
In the WordPress Editor, you can add LaTeX formulas in plain text by pasting them into a Custom HTML block like this:

To preview the equation, Click on the Preview button on the top right-hand side of the editor (not the Preview in the block itself) and view it in a new tab.
For colors, you can use the
bgandfgparameters after the LaTeX code to change the background and foreground colors, respectively. The colors must be in hexadecimal RGB format:fffffffor white,0000fffor bright blue, etc.If you find that you use a lot of the same formulas over and over, it might be worth checking out a text expander app/program where you can save these chunks of code and you can use them over and over with a short keystroke to either modify slightly or use as-is.
A quick Google search brought up this article listing a few options – personally I use Alfred, but it’s MacOS only.
I hope that helps a bit!
- The topic ‘Latex usability’ is closed to new replies.