• Resolved rgfactory

    (@rgfactory)


    Hello,

    when I use this in a katex block:

    \vec{p} = m\vec{a} => \cancel{m}\vec{g}=\cancel{m}\vec{a}

    the preview looks perfect in the post editor.

    But when I update the wordpress post, the cancel command does not display correctly on the published web page.

    the “cross-out” made by the cancel command are way too big and there is an offset : \cancel{m} should “cross-out” the m letter and it’s not the case.

    Am I doing something wrong ?

    I use the famous Astra theme, and php 7.2 is running my wordpress web site.
    I hope it’s clear, let me know if you need more to reproduce this bug.

    By the way, thank you very much for your work on this plugin.

    See you soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Thomas Churchman

    (@beskhue)

    Hi,

    Thanks for the bug report. Unfortunately I’m not able to reproduce the issue, even using the Astra theme.

    Which browser and browser version are you using?

    I’ve just released version 1.0.4 of the plugin which upgrades to the latest version of KaTeX. This might fix the issue you’re seeing.

    Plugin Author Thomas Churchman

    (@beskhue)

    I inadvertently introduced a different issue in 1.0.4: formulas would show up as “Katex not defined” when the plugin was not set to use JsDelivr in its settings page. This has been fixed in 1.0.5, so please use that version when you test this.

    Thread Starter rgfactory

    (@rgfactory)

    Hi,

    thanks for you quick answer. My bad Thomas, my astra-child is the problem because like you said it works with the astra theme.

    you can close this.

    thank you very much.

    Plugin Author Thomas Churchman

    (@beskhue)

    Thanks, and good luck fixing it!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cancel command not correctly displayed’ is closed to new replies.