Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

226
Visualizações
MathJax rendering in WordPress

I am trying to use Mathjax code generated by MathType in word. For this, I round a script added it to the header:

<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> 
</script>

It works for making equations, however, things like color and strikethrough do not appear properly. The color works only on the initial letter, and the strikethrough just shows up as "\cancel"

I found another script that seems to solve the problem, but in this case, the Mathjax outcome is like an image and cannot be selected or searched which is not ideal for the website. Here is the script:

<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

Can you suggest a new script or a modification to these to solve the problem?

enter image description here

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

I also tried mathjax recently on one website and simple mathjax plugin was pretty cool and user friendly to use. So, if you want you can use that. here is the plugin link--- https://wordpress.org/plugins/simple-mathjax/ This wordpress plugin is yet another simple plugin to load the MathJax scripts at the bottom of all of your pages. It uses a very all-inclusive mathjax configuration by default, with $’s and $$’s the default delimeters for in-line and displayed equations.

about 4 years ago · Juan Pablo Isaza Relatório

0

To use MathJax on WordPress, write the following code in header.php. (I put the code just before .) That’s it!!

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ["\(","\)"]] } });
</script>
<script type="text/javascript"
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML">
</script>
<meta http-equiv="X-UA-Compatible" CONTENT="IE=EmulateIE7" />

for details you can visit here --- https://yutsumura.com/mathjax-in-wordpress/

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda