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://ww.wp.xz.cn/plugins/shortcode-in-comment/
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!
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 7 years, 7 months 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…
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://ww.wp.xz.cn/plugins/shortcode-in-comment/
In this case, you should whitelist the latex shortcode.
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!