-
I am trying to include math formulas using KaTeX on a webpage. On a desktop computer it looks good, but on an android tablet the font size for the formulas are smaller than the surrounding text. The ratio is not the 1.21 which I found in the documentation, it is way smaller (and the ratio is different in portrait and in landscape orientation). I tried it on different phones/tablets with the same result. Any ideas on how I can fix this issue? The link to the page I have problem with is http://fbeleznay.web.elte.hu/Steinhaus/proba2.html Here is the source code of the page:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I've confirmed that I have the same issue with your site on Chrome on my Android phone. It seems to have to do with device scaling. If you add I'm not sure whether there's something we can do on the KaTeX side to fix this. If not, we should at least add it to the documentation. |
Beta Was this translation helpful? Give feedback.
I've confirmed that I have the same issue with your site on Chrome on my Android phone.
It seems to have to do with device scaling. If you add
<meta name="viewport" content="width=device-width, initial-scale=1">
, everything works fine.I'm not sure whether there's something we can do on the KaTeX side to fix this. If not, we should at least add it to the documentation.