Best image format for HTML & LaTeX
arnaudmiribel opened this issue · 1 comments
arnaudmiribel commented
Hi,
I'm curious to know which image format you guys chose so that it works both for HTML and LaTeX displays.
I tried a few formats (the content is a python matplotlib figure)
image format | on LaTeX | on HTML |
---|---|---|
.pdf |
ok | embedded display.. not the best |
.eps |
ok | doesn't display |
.svg |
not ok | ok |
.png |
ok | ok |
But .png
doesn't suit perfectly (heavy, not very adapted for graphics).
Maybe you guys have an idea ? I've been through that Stack thread that goes for a high-res .jpeg
..
Thanks !
BioinfoTongLI commented
I'd love the .svg
support for latex!
It seems that by following this thread can do the job.
But I'm so newbie to Latex, anyone can help?