One more idea is to use mathjax here. But note that it makes the loading a few milliseconds slower and it is not supported in very old systems.
You're Lucky, I have been interested in $\mathtt{MathJax}$\ $\LaTeX$ recently, and I have been collecting symbols, methods and $\boldsymbol{Fonts}$.
1. Blackboard bold:
- This font only uses uppercase letters;
$\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
Code: $\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
2. Calligraphic letters:
- This font uses only uppercase letters;
$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
Code: $\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
3. Fraktur letters:
- This font uses both uppercase and lowercase letters;
$\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Code: $\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
4. Roman letters:
- This font uses both uppercase and lowercase letters;
$\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Code: $\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
5. Bold Face:
- This font uses both uppercase and lowercase letters;
$\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Code: $\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
6. Bold Italics:
- This font uses both uppercase and lowercase letters;
$\boldsymbol{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Code: $\boldsymbol{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
7. Italics:
- This font uses both uppercase and lowercase letters;
$\mathit{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Code: $\mathit{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
8. Typewriter:
- This font uses both uppercase and lowercase letters;
$\mathtt{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Code: $\mathtt{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
9. Sans-Serif Font:
- This font uses both uppercase and lowercase letters;
$\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Code: $\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
10. Script letters:
- This font uses both uppercase and lowercase letters;
$\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Code: $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
11. Normal Raw Text:
- This font uses both uppercase and lowercase letters
- This is not a real font - It is just raw text
$\text{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Code: $\text{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$
Ok if you read this fully, maybe you think; What is the difference between \text{}
and \mathrm{}
?They both look same.
Well, the difference is, that \text{}
is raw. Let's test it out:
The Pi symbols in $\LaTeX$ is just $\pi$
.
It looks like this in normal $\LaTeX$: $\pi$
In Roman Letters: $\mathrm{\pi}$(Code: $\mathrm{\pi}$
)
But because the $\text{}$
method is raw, it shows this: $\text{\pi}$(Code: $\text{\pi}$
)