mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Add support for \text{rm,it,bf,tt,sf,normal}.
And allow \text to nest inside \text.
This commit is contained in:
@@ -49,6 +49,14 @@
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.mathrm {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.textit {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.mathit {
|
||||
font-family: KaTeX_Math;
|
||||
font-style: italic;
|
||||
|
Reference in New Issue
Block a user