latex works but it looks so terrible

latex works but it looks so terrible

by Hans Dull -
Number of replies: 2
Hi,

it is no problem, to include rendered formulas as bitmaps. But this isn't, what we want in online discussions about i.e. mathematics. What do I have to do, to get beautifull mathematical formulas?

Just to see what here is done ($$$f(x)=\int\limits_{-N}^{N}e^{x}dx,\; \forall x\epsilon \mathbb R$$$):
$$f(x)=\int\limits_{-N}^{N}e^{x}dx,\; \forall x\epsilon \mathbb R$$

I get this on my moodle: sampleimage

This is, what I would like to have: Sample Image

The Server runs as apache2, openSuse 11.0. and the filter configuration is as standard says. Ghostscript, getnonfreefonts-sys, texlive (2007) are installed
Attachment eq.latex2.gif
Average of ratings: -
In reply to Hans Dull

Re: latex works but it looks so terrible

by Mauno Korpelainen -
Try to change gifs to pngs in 4 files of tex filter:

http://moodle.org/mod/forum/discuss.php?d=120418#p532389

If you want to get larger integral add \displaystyle to

f(x)=\displaystyle\int\limits_{-N}^{N}e^{x}dx,\; \forall x\epsilon \mathbb R

and it looks like this here in moodle.org (with tex filter):

$$ f(x)=\displaystyle\int\limits_{-N}^{N}e^{x}dx,\; \forall x\epsilon \mathbb R $$ and without \limits like this $$ f(x)=\displaystyle\int_{-N}^{N}e^{x}dx,\; \forall x\epsilon \mathbb R $$

(If you need to use gifs it might also be possible to modify the convert command of tex filter or to use for example ImageMagick instead of Ghostscript for convert command - see for example http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=14477 - hopefully you have the correct path to in settings of tex filter for convert...)
Average of ratings: Useful (1)
In reply to Mauno Korpelainen

Re: latex works but it looks so terrible

by Hans Dull -
Hi,

thanks a lot! This was difficult to find, but the solution is so simple wink