MathJax-LaTeX

Por knowledgeblog
(11 avaliações)
Baixar
  • Versão:
    1.4.1
  • Última atualização:
    há 4 dias
  • Instalações ativas:
    mais de 10 mil
  • Versão do WordPress:
    6.3 ou maior
  • Testado até o WordPress:
    7.1.4
  • Versão do PHP:
    7.4 ou maior
  • Tags:

Hospedagem WordPress com plugin MathJax-LaTeX

Onde devo hospedar o plugin MathJax-LaTeX?

Este plugin pode ser hospedado em qualquer provedor que tenha WordPress instalado. Recomendamos optar por uma hospedagem seguro, com servidores otimizados para WordPress, como o serviço de hospedagem WordPress da MCO2.

Hospedando o plugin MathJax-LaTeX em um provedor confiável

A MCO2, além de configurar e instalar o WordPress na versão mais atualizada para seus clientes, oferece o plugin WP SafePress, um sistema exclusivo que salvaguarda e otimiza seu site simultaneamente.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização automática de imagens, proteção da página de login, bloqueio de atividades suspeitas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São plugins que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

MathJax enables enables rendering of embedded LaTeX or MathML in HTML pages. This plugin adds this functionality to WordPress. The MathJax JavaScript is inject on-demand only to those pages which require it. This ensures that MathJax is not loaded for all pages, which will otherwise slow loading down.

The MathJax JavaScript can be delivered from your own server, or you can use the jsDelivr Content Distribution Network (CDN), which is the preferred mechanism as it offers increased speed and stability over hosting the JavaScript and configuring the library yourself.

You may embed latex using a variety of different syntaxes. The shortcode (https://codex.wordpress.org/Shortcode_API) syntax is preferred. So [latex]E=mc^2[/latex] will work out of the box. This also forces loading of MathJax.

Additionally, you can use native MathJax syntax — $$E=mc^2$$ or \(E=mc^2\). However, if this is the only syntax used, the plugin must be explicitly told to load MathJax for the current page. This can be achieved by adding a [mathjax] shortcode anywhere in the post. For posts with both [latex]x[/latex] and $$x$$ syntaxes this is unnecessary.

You can use wp-latex syntax, $latex E=mc^2$. Parameters can be specified as with wp-latex but will be ignored. This means that MathJax-LaTeX should be a drop-in replacement for wp-latex. Because this conflicts with wp-latex, this behaviour is blocked when wp-latex is present, and must be explicitly enabled in the settings.

You can also specify [nomathjax] — this will block mathjax on the current page, regardless of other tags.

MathJax-LaTeX is developed on GitHub.

Direito autoral

This plugin is copyright Phillip Lord, Newcastle University and is licensed under GPLv2.

Plugins semelhantes

LaTeX2HTML
(9 avaliações)

Com o LaTeX2HTML você pode escrever um post como se fosse um documento LaTeX.