element-hq / element-hq/element-web
Automatically scale LaTeX rendering to a readable font size
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
#### Is your suggestion related to a problem? Please describe.

#### Describe the solution you'd like.
Perhaps a content-sensitive upscale could be applied, especially regarding the very commond `\frac`, but perhaps some others can be preset. Alternatively have a min size for "regular" elements as well as sub/superscript elements. Calculate the text size of the smallest element, and scale up the whole result based on a reference smallest allowed size.
#### Describe alternatives you've considered.
There are probably more, including user controlled, like a button on messages that contain latex to pop it out in a larger viewer or user definable scaling factor. The default size may be larger in latex-only messages similar to emoji-only.
Contributor guide
Assessment
This issue has not been assessed yet.