Support for more text types in math preview, e.g. \textsc{}
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Could you consider supporting more text styles in the math block preview? See this:

This is how it looks after converting to PDF via pandoc latexpdf:

PS: (The image above shows the preview in Typora. I made an issue with them, but since they use Mathjax for the math preview, they referred me to you https://github.com/typora/typora-issues/issues/1269#event-1495901133)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported math block preview for \textsc{} and compare it with the supplied PDF rendering. Clarify which additional text styles are in scope, then verify that the selected styles render correctly in the preview and match the expected output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100