Font family and size
-
I am new to the world of Latex and am struggling to address my client’s specific requirement with respect to specifying the font family and font size of the equations displayed by your plugin.
Regarding the font family, I found some documentation that suggested I can use these modifiers:
\rmfamily selects a roman (i.e., serifed) font family
\sffamily selects a sans serif font family
\ttfamily selects a monospaced (“typewriter”) font familyI have added these modifiers to the first three equations on the reference web page,
The first equation is expressed thusly:
[latex]$\Huge\sffamily i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>$[/latex]The second equation is:
[latex]$\Huge\rmfamily i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>$[/latex]But the displayed results look identical. Am I doing something wrong here? Is there a different way to select a *specific* font type, not just a generic one (e.g., roman, sans serif).
Regarding the size of the output, as you can see I applied the \Huge modifier to the first three equations, and it works. But your documentation says one can apply “precise” tuning to color, font size, etc. Exactly how does one do that? Please provide the exact syntax of what I would need to use to do this, and where I should apply it.
The page I need help with: [log in to see the link]
- The topic ‘Font family and size’ is closed to new replies.