Skip to content

Commit

Permalink
Add \textup and \textnormal to allowed textmacros. (mathjax/MathJax#2846
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dpvc committed Mar 14, 2022
1 parent db04605 commit ef9d566
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ts/input/tex/textmacros/TextMacrosMappings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ new CommandMap('text-macros', {
Huge: ['SetSize', 2.49],

Bbb: ['Macro', '{\\bbFont #1}', 1],
textnormal: ['Macro', '{\\rm #1}', 1],
textup: ['Macro', '{\\rm #1}', 1],
textrm: ['Macro', '{\\rm #1}', 1],
textit: ['Macro', '{\\it #1}', 1],
textbf: ['Macro', '{\\bf #1}', 1],
Expand Down

0 comments on commit ef9d566

Please sign in to comment.