Scaling up Latex preview

Hi, is there a way to scale up a latex preview? I’m using $latex here$ and it looks much smaller than regular text. Sometimes hard to read. I want to scale latex a little bit up. Is there any way for make this using css snippets or other way?

2 Likes

If you are using snippets (Settings | Appearance | CSS Snippets), place this in a file in your Vault/.obsidian/snippets/ folder. You could call it big-math.css

mjx-math {
  font-size: 200% !important;
}

Reload Obsidian, enable big-math under Settings | Appearance | CSS Snippets, and you should be good to go. You can play with the number using either % (percentages), or values in px (pixels), cm (centimeters), in (inches), as you like.

9 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.