• It looks like \fcolorbox{}{} is not working with the plug-in.

    For example, \fcolorbox{red}{aqua}{A} renders fine on the katex.org site. However, [latex] \fcolorbox{red}{aqua}{A} [/latex] gives me an error on WordPress.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author ascom

    (@ascom)

    \fcolorbox support was added in version 1.9.0. Please make sure you’re using the latest version of the plugin.

    Thread Starter gkhanna1

    (@gkhanna1)

    Thank you for the prompt response. Your plug-in is great. Really brings the true beauty of LaTeX to HTML. I’ll continue to use it and post any issues I see.

    Thread Starter gkhanna1

    (@gkhanna1)

    Actually, this is still not working.

    I have version 1.9.1 of the plug-in installed.

    This is the code I have on my page:
    [latex] \fcolorbox{red}{aqua}{A} [/latex]

    But I still get a “Formula does not parse” error.

    I have screenshots of this if you need them.

    Plugin Author ascom

    (@ascom)

    Hmm, that’s strange. Do you have a page on your site where I can see the error?

    Also, what theme/plugins do you have installed?

    Thread Starter gkhanna1

    (@gkhanna1)

    Hi Andrew:

    Here is the page:
    https://gaurav-khanna.com/math/?preview=true

    If you see this page, all the other formulas are rendering fine.

    As for other themes/plugin, I don’t believe I have anything installed that would interfere with this. This same fcolorbox code renders fine on the KaTeX.org site.

    Plugin Author ascom

    (@ascom)

    It looks like you have Jetpack’s LaTeX plugin enabled. You can disable the “Beautiful Math” feature in the Jetpack settings, which will then allow KaTeX to render the equations instead.

    Thread Starter gkhanna1

    (@gkhanna1)

    thank you — that worked. But it looks like a few other things stopped working (such as \setlength{\jot}{10pt} , which I use in multi-line equations to have more spacing between the lines).

    Instead, I can use \\[1em] at the line break to put that space in.

    Just wanted to let you know!

    thanks again.

    p.s. — I really love what you have done here. I have a lot of math notes I’d like to publish and am thinking about an automated way to translate this to a KaTeX friendly format. Do you have a contact email or a preferred way to speak offline? ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘\fcolorbox is not working as a plugin’ is closed to new replies.