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

Christian Ridderström chr
Fri Feb 6 03:20:27 CST 2004


On Fri, 6 Feb 2004, Christian Ridderstr?m wrote:

> 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.

I fixed that by giving the option '-T tight' to dvipng.

I'm still not sure if the latexi is good or bad... (I have no clue)

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

> 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