You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
unexpected italics rendered in source view in formula block #4121
In source view, inside $formulas$, unexpected italics are rendered when using subscript character "_" after a \text{} element and reverted to normal from the next subscript, also following a \text{} command.
\text{} is used to produce one or more characters in non italics shape. In formulas, the general norm shows text italicized.
[Y] Can you reproduce the issue?
Steps to reproduce
Write this expression in normal view mode:
test text:
$\text{F}_\text{A} = \text{F}_\text{B}$ vs. $F_A = F_B$
End of test.
View source
All text inside $ symbols should render normal in screen. Program should tell _ used to emph text from _ used to get subscript.
Actual behavior:
First formula appears partially italicized in screen. However, pdf results are ok.
Activity
fix(source-view): stop styling math subscripts as emphasis (#4121) (#…
fix(source-view): stop styling math subscripts as emphasis (marktext#…
fix(desktop): make source mode math highlighting follow the editor (#…
fix: fade Source math delimiters and style display math as block math
fix: fade Source math delimiters and style display math as block math
fix: fade Source math delimiters and style display math as block math