I find that math equations in Obsidian are too small to see clearly.
Here are the solutions,
Change \frac
to \dfrac
"d" means "display"
This is a inline fraction $\frac{x^2-3x+2}{x^2-1}$ in the middle
This is a inline fraction $\dfrac{x^2-3x+2}{x^2-1}$ in the middle
Change \binom
to \dbinom
This is a inline binomial $\binom{n}{m}$ in the middle
This is a inline binomial $\dbinom{n}{m}$ in the middle
General method (applicable to all functions)
Just add \displaystyle
to the front of each function
note: it's also ok to add \displaystyle
to \frac
or \binom
.
The effect of \displaystyle\frac
equals to \drac
The effect of \displaystyle\binom
equals to \dbinom
1.
This is a inline sum $\sum_{k=1}^n \frac{1}{k+\frac{1}{k + \frac{1}{k}}}$ in the middle
- Add
\displaystyle
before\sum
This is a inline sum $\displaystyle \sum_{k=1}^n \frac{1}{k+\frac{1}{k + \frac{1}{k}}}$ in the middle
- Add
\displaystyle
before\sum
and change each\frac
todfrac
This is a inline sum $\displaystyle\sum_{k=1}^n \dfrac{1}{k+\dfrac{1}{k + \dfrac{1}{k}}}$ in the middle
Edit CSS snippet
mjx-math {
font-size: 140% !important;
}
Make it even bigger
Use \Huge
, \huge
, \LARGE
, \Large
or \large
in front of the function that you want to enlarge.
This is a inline binomial $\huge \dbinom{n}{m}$ in the middle
Note:
Obsidian use MathJax to display math equations.
You can see MathJax - Supported TeX/LaTeX commands for more information.
Katex's syntax is very similar, the above methods apply to Katex too.
ref:
Top comments (0)