Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i change math foluma font-size? #3475

Closed
aruiplex opened this issue May 5, 2020 · 6 comments
Closed

how can i change math foluma font-size? #3475

aruiplex opened this issue May 5, 2020 · 6 comments

Comments

@aruiplex
Copy link

aruiplex commented May 5, 2020

Version: 0.9.86

i use night theme.
image
font is too small for me....

how can i change math foluma font-size?
it seems like settings not in night.css file.

@abnerlee
Copy link
Contributor

abnerlee commented May 6, 2020

You can add following CSS

.MathJax_SVG {
font-size: 110% !important;
}

@fakeProgrammer0
Copy link

Hi! How can I just change the font size of math block while keep the font size of inline math formulas unchanged?

image

@abnerlee
Copy link
Contributor

you can use

.md-math-block .MathJax_SVG {
  font-size: 110% !important;
}

for block math only

@fakeProgrammer0
Copy link

you can use

.md-math-block .MathJax_SVG {
  font-size: 110% !important;
}

for block math only

Thanks for your reply : )

@atticusmatticus
Copy link

I've used this

.MathJax_SVG {
font-size: 120% !important;
}

to get all of my math text a little larger but now the number labels of my equations for the math blocks don't show up even if there is ample horizontal space. Is there a way to tell Typora to fit the math block output into a narrower horizontal space?

@fakeProgrammer0
Copy link

fakeProgrammer0 commented Aug 1, 2021

you can use

.md-math-block .MathJax_SVG {
  font-size: 110% !important;
}

for block math only

After updating to v0.11.2 (beta), this method seems not to work and the font sizes of math block or inline math are always the same as that of normal text.


update: for typora with version v0.11.5 (beta), use

.md-math-block .MathJax {
  font-size: 200% !important;
}

to change the font size of math block and use

.MathJax {
  font-size: 120% !important;
}

to change the font size of inline math .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants