io12 / org-fragtog

Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them
MIT License
397 stars 14 forks source link

Small preview #37

Closed SeungheonOh closed 2 years ago

SeungheonOh commented 2 years ago

Describe the bug In macos, it is showing me an absurdly small preview.

To Reproduce Macos, any latex fragment

Expected behavior bigger preview

Videos https://user-images.githubusercontent.com/24271442/151044284-7e7386f5-6ba2-4723-aaec-78ec6997c317.mov

Version and environment GNU Emacs 28.0.90 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2021-12-31

io12 commented 2 years ago

Does adding this to your config fix it?

(plist-put org-format-latex-options :scale 2)

You can change the 2 to something else to adjust the size.

SeungheonOh commented 2 years ago

Oh didn't know there was an option for that. I'll check that this evening.

SeungheonOh commented 2 years ago

Great, it worked! Might be a good idea to add it do a documentation...