Displaying LaTeX used on Forum
#3
(07/12/2022, 08:27 AM)MphLee Wrote: I'm sorry Daniel, idk what is the source of your problem. I do read compiled latex without problems.

Anyways some other sites gave me problems sometimes and I used this trick.
...

Source: I originally got this link in the MathStackExchange chat help section many years ago. Maybe it will fix your problems.

OMG - thank you so much!!! Fixed me up! I added support for \( and \) in the script following.
Code:
javascript:(function(){if(window.MathJax===undefined){var script = document.createElement("script");script.type = "text/javascript";script.src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML";var config = %27MathJax.Hub.Config({%27 + %27extensions: ["tex2jax.js"],%27 + %27tex2jax: { inlineMath: [["$","$"],["\\\\\\\\\\\\(","\\\\\\\\\\\\)"]], displayMath: [["\\\\(","\\\\)"],["$$","$$"],["\\\\[","\\\\]"]], processEscapes: true },%27 + %27jax: ["input/TeX","output/HTML-CSS"]%27 + %27});%27 + %27MathJax.Hub.Startup.onload();%27;if (window.opera) {script.innerHTML = config} else {script.text = config} document.getElementsByTagName("head")[0].appendChild(script);(doChatJax=function(){window.setTimeout(doChatJax,1000);MathJax.Hub.Queue(["Typeset",MathJax.Hub]);})();}else{MathJax.Hub.Queue(["Typeset",MathJax.Hub]);}})();
Daniel
Reply


Messages In This Thread
Displaying LaTeX used on Forum - by Daniel - 07/11/2022, 06:01 AM
RE: Displaying LaTeX used on Forum - by MphLee - 07/12/2022, 08:27 AM
RE: Displaying LaTeX used on Forum - by Daniel - 07/12/2022, 12:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation [!!] FORUM UPDATES ON THE HORIZON MphLee 0 2,167 06/01/2025, 09:17 PM
Last Post: MphLee
  Forum upgrade bo198214 1 3,015 10/04/2024, 09:20 PM
Last Post: MphLee
  Forum moves to a new provider bo198214 1 2,557 09/10/2024, 07:01 PM
Last Post: bo198214
  Forum will be resurrected bo198214 0 2,390 05/07/2024, 07:56 PM
Last Post: bo198214
  Making the Tetration Forum read only Daniel 14 16,338 01/17/2024, 07:56 PM
Last Post: Gottfried
  \(\LaTeX\) test suite Daniel 1 3,319 05/27/2023, 08:32 PM
Last Post: Daniel
  Forum now at tetrationforum.org bo198214 7 9,153 05/05/2023, 08:13 PM
Last Post: bo198214
  [Poll] Add a new subsection to the forum MphLee 22 28,998 02/21/2023, 06:29 AM
Last Post: JmsNxn
  Forum updated to newest mybb bo198214 9 24,771 01/10/2023, 04:57 AM
Last Post: JmsNxn
Question Multiple Tabs Open With the Tetration Forum on Them, and Who's Online Catullus 1 4,042 07/17/2022, 10:31 AM
Last Post: bo198214



Users browsing this thread: 1 Guest(s)