• Hi.

    Thanks very much for this useful plugin.

    My problem is this: on desktop, the formulas render very nice, but on mobile the size of the output is very small compared with the size of the paragraph font.

    And also, I can’t use the [latex][/latex] syntax on the comments area.

    Thank you in advance for your help.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author ascom

    (@ascom)

    I can’t reproduce your issue with the font size on mobile devices. What device and browser are you using? The size of the equation should scale to match the size of surrounding text.

    You should use a third party plugin to enable certain shortcodes in comments. Here is one such plugin; there may be others: https://www.ads-software.com/plugins/shortcode-in-comment/

    Thread Starter profesormark

    (@profesormark)

    I’m using a Samgung Galaxy J7 2016 with Chrome as browser.

    This is the code that I wrote in the post page:

    <h1>Ejemplo de LaTeX en KaTeX</h1>
    Si [latex]A[/latex] y [latex]B[/latex] son dos conjuntos no vacíos, entonces podemos definir una correspondencia [latex]f:A\rightarrow B[/latex] tal que?[latex](\forall x\in A)(\exists! y \in B): y=f(x)[/latex]. De ser así, estaremos en presencia de una función.

    Regards!

    Thread Starter profesormark

    (@profesormark)

    I’m using a Samgung Galaxy J7 2016 with Chrome as browser.

    This is the code that I wrote in the post page:

    <h1>Ejemplo de LaTeX en KaTeX</h1>
    Si [latex]A[/latex] y [latex]B[/latex] son dos conjuntos no vacíos, entonces podemos definir una correspondencia [latex]f:A\rightarrow B[/latex] tal que?[latex](\forall x\in A)(\exists! y \in B): y=f(x)[/latex]. De ser así, estaremos en presencia de una función.

    In this link, yo’ll be able to see how does the formula renders on my phone.

    Click here to see the outcome.

    In short: how can I increase the size of the letter based on the device ?

    Regards!

    • This reply was modified 6 years, 1 month ago by profesormark.
    Plugin Author ascom

    (@ascom)

    It seems that you have some sort of zoom or accessibility setting on your device that’s increasing the size of the text, but not the equations. I’ll look into this…

    Thread Starter profesormark

    (@profesormark)

    You are absolutely right.

    I adjusted the zoom in my browser to display the text in 200% of its natural size.

    When I came back to 100%, the formula renders pretty awesome.

    The only issue is that I can’t include latex code on the comments section.

    Plugin Author ascom

    (@ascom)

    You should use a third party plugin to enable shortcodes in comments. Here is one such plugin; there may be others: https://www.ads-software.com/plugins/shortcode-in-comment/

    In this case, you should whitelist the latex shortcode.

    Thread Starter profesormark

    (@profesormark)

    Thanks.

    What does “whitelist the latex shortcode” means ?

    By the way: how can I align the equations to the left when the display option is set to “true” ?.

    Regards!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Mobile and comments rendering’ is closed to new replies.