[Pmwiki-users] Re: Re: Math->image using LaTeX

Christian Ridderström chr
Fri Feb 6 02:59:07 CST 2004


Here is a link to the conversion-script:
	http://www.lyx.org/~chr/wiki/local/latex-to-png.sh

but I have a problem with the resulting image, it's to big vertically.

The latex looks like this:

	\documentclass[fleqn]{article}
	\usepackage[latin1]{inputenc}
	\begin{document}
	\thispagestyle{empty}
	\mathindent0cm
	\parindent0cm
	$ x = y $
	\end{document}

However, I don't understand what controls the size of the resulting image. 
Possibly this is something from 'dvipng', I'll have a look at that now.

But what does the option 'fleqn' do? And is 'article' a good class when we 
only want to convert equations?

/Christian

-- 
Christian Ridderstr?m                           http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list