mathjax / mathjax/MathJax

Support for more text types in math preview, e.g. \textsc{}

Open
#1,940 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Code Example Feature Request
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:

image

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

image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.