INCLUSION of MATHEMATICAL MARKUP

Joined
Nov 24, 2024
Messages
502
to Esteemed & most Benevolent moderators & developers of the MangaDex Forums ;
STATEMENT OF REASONED ARGUMENT AND EVIDENTIARY PLEADING
whom We owe the maintenance of this Gorgeous ground that grants Us - Humble commenters ; I - a servant most Obliged to this citadel of discussion - come not with grievance but with a Softly spoken plea , thus excuse My Petty request - for It is born not out of malice but of melancholy - as on the day preceding This Very one Mine heart , mind , & time were All spent on an attempt to quantify Metaphysical absurdities through mathematics , a journey for Me - which began as naught but a Whimsy impulse but one That Swiftly transformed into a Passion project spanning hours upon hours , nay , Entire segments of My soul ; alas - imagine - if You may , Dear maintainers - the desolation which befell Me upon discovering - through Direct observation of Foreign domains whose mechanics I dare not name out of My loyalty to This forum - that Other forums , whether by intent or Mere luck , have implemented support for TeX , or Its - that is , [math] & LaTeX functions that render Mathematical beauty with both grace & accuracy - kin ; whereas I , bound by the limitations imposed by fate & formatting alike , was coerced to engage in what I now call " The Font Compromise " : resorting to italicizing & embedding font " Georgia " , merely to simulate what should have been , in Ideal conditions , a properly rendered set of formulae - e.g./ M₁ = 1.6820156 × 10²⁷ , a numero which if It were to be rendered with LaTeX , would evoke awe & clarity alike - became Pitiful - as in a Poor man's mimicry - text held together by Sheer force of will & Typographic illusion ; ergo , I beseech You - not with - may Bad omens be upon Me if I dare appear that way - entitlement , but with an Earnest person's longing :
PRAYER FOR IMPLEMENTATION
Wherefore ; could the Esteemed developers of this Forum , mayhaps , consider the implementation of TeX or - preferably - MathJax - e.g./ " $$\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}$$ " - or Bulletin-board code - e.g./ " [math]\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}[/math] " - or an equivalent such that We , who wander into Scientific lunacy & Numeric calculations by Manga-inspired revelations , may finally inscribe These symbols not via deception but with precision ,
Whereafter reading This thread ; may this plea find resonance in Ye hearts , and may You be moved to grant Us the gift of True Mathematical markup ,
by Your most Obliged User.
 
Dex-chan lover
Joined
Jan 15, 2021
Messages
2,320
The punctuation marks that signal the end of a sentence are the period, question mark and exclamation mark. You use a period, by far the most common of the end punctuation marks, to terminate a sentence that makes a statement.
:thumbsup:
 
Joined
Nov 24, 2024
Messages
502
The punctuation marks that signal the end of a sentence are the period, question mark and exclamation mark. You use a period, by far the most common of the end punctuation marks, to terminate a sentence that makes a statement.
:thumbsup:
I did use It to finish My sentence ; in the text wherein It reads as " ( ... ) by Your most Obliged User. ".
 
Joined
Nov 24, 2024
Messages
502
Consider solved , Only thing that is needed for support for \(\LaTeX\) is adding a Check-box while creating a thread that asks « Implement \(\KaTeX\) ? » and if It’s checked then add this to the header :
HTML:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
        onload="renderMathInElement(document.body);"></script>
or You can download https://chromewebstore.google.com/detail/scripty-javascript-inject/milkbiaeapddfnpenedfgbfdacpbcbam and :
1 - create a New script ,
2 - paste the Following code :
Code:
(function() {
    function injectKaTeX() {
        var head = document.head;

        var link = document.createElement("link");
        link.rel = "stylesheet";
        link.href = "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css";
        head.appendChild(link);
        var style = document.createElement("style");
        style.textContent = ".katex { font-size: 1lh !important; }";
        document.head.appendChild(style);

        var script1 = document.createElement("script");
        script1.src = "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js";
        script1.onload = function() {
            var script2 = document.createElement("script");
            script2.src = "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js";
            script2.onload = function() {
                if (typeof renderMathInElement === "function") {
                    renderMathInElement(document.body, {
                        delimiters: [
                            {left: "\\(", right: "\\)", display: false},
                            {left: "\\[", right: "\\]", display: true}
                        ]
                    });
                }
            };
            head.appendChild(script2);
        };
        head.appendChild(script1);
    }

    if (document.readyState === "loading") {
        document.addEventListener("DOMContentLoaded", injectKaTeX);
    } else {
        injectKaTeX();
    }
})();
,
3 - set settings as : URL PATTERN = MATCHES , https://forums.mangadex.org/* , & Trigger Automatically On Page load , How-ever ; know problems are : that after editing the post It needs to Re-fresh the page in order for KaTeX to work correctly , \vec{} doesn’t work correctly , & You can’t do Multi-line It since .BBWrapper uses <br> tags to separate Them.
One shall be able to see the result if They followed the steps correctly :



\[ \left[ \frac{ \sum\limits_{k=1}^{n} \left( \int_{a_k}^{b_k} \left( \frac{d^2}{dx^2} \left[ e^{i\pi x^2} \cdot \left( \sum_{m=1}^{\infty} \frac{(-1)^m}{m!} x^{2m} \right) \right] \, dx + \oint_{\gamma_k} \frac{\log(z)}{z^2 + 1} \, dz \right) \right)^p }{ \left( \prod\limits_{j=1}^{n} \left( \lim_{x \to \infty} \left[ \left(1 + \frac{1}{x^2}\right)^x - e^{1/x} \right] \right) \right)^q } \right]^{1/r} \quad \text{where } i = \sqrt{-1}, \; p, q, r \in \mathbb{N} \]
 
Last edited:

Users who are viewing this thread

Top