MathML screen resizing
Author: Rients P.
Visited 1960,
Followers 1,
Shared 0
Please check https://qengineering.eu/google-corals-tpu-explained.html
At the end of the fairly long page I have a formula written with MathML object. However, it only does not adapt itself to smaller screen sizes. It just truncates the text. Any idea how to solve the issue
Thanks in advance!
Rients.
Posted on the
Hello. MathML is a special markup language. Perhaps the syntax of the language has the necessary constructions. Ask Google: "MathML resizing".
Author
Dear Aleksej,
Thanks for the quick answer! I hoped Incormedia had some secret tricks for me here.
Looking at Google it becomes a lot of programming. First I need to make several font sizes available in css for a to define MathML object. Next a JavaScript needs to detect the width of the screen and choose the appropriate font. On top of this, it seems that Safari ideas of the font size than Opera, Chrome or Firefox.
I'm going to think about it.
Incomedia don't help with custom code usually but there may be other users that can. Good luck with this, as I have no skills in this area!
"Thanks for the quick answer!" - not at all.
"Incomedia don't help with custom code usually" - you're right.
Hello Rients
How about just make it as an image. Then it will be resized without being trunbcated.
Author
Dear John,
Just what I have done this weekend. For the ones unfamiliar with MathML the workaround here.
Extra bonus: The page will load faster because it has less external fetches to do.
Thanks John, Wayne and Aleksej.