Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to control the font size in the equation in JupyterNotebook?

In Jupyter Notebook markdown cells, is there a way to make the font size larger in the equation?

c = $\frac{a}{b}$

I triedc = \large{$\frac{a}{b}$} but it doesn't work.

like image 595
wawawa Avatar asked Mar 05 '26 06:03

wawawa


1 Answers

The dollar signs start and end LaTex boundaries, and so you need to use the tag inside.

c = $\Large\frac{a}{b}$

UPDATE:
I have a comment below that points to an image listing the tags and illustrating the relative sizes. I'm putting that link here in the post so that it is better featured.

like image 103
Wayne Avatar answered Mar 07 '26 20:03

Wayne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!