[pygtk] Displaying mathematical equations

Martin Remie python at remiem.eu
Wed Dec 13 06:29:33 WST 2006


Hello,

does someone know a way to display a math equation in a Glade/PyGTK GUI 
on a label(well, or something looking like a label)?

Preferably by using LaTeX scripts I already have, e.g. for the equation 
below.

Thanks

Martin

$$\min \sqrt{\epsilon_1^2+ \epsilon_2^2+ \hdots + \epsilon_N^2}=
	\min
	\left\|
		\left(
		\begin{array}{cccc}
		f_1(t) & f_2(t) & \hdots & f_M(t)\\
		f_1(t) & f_2(t) & \hdots & f_M(t)\\
		\vdots &	& \ddots & \vdots\\
		f_1(t) & f_2(t) & \hdots & f_M(t)
		\end{array}
		\right)

		\cdot
		\left(
		\begin{array}{c}
		a_1\\
		a_2\\
		\vdots \\
		a_M
		\end{array}
		\right)

		-
		\left(
		\begin{array}{c}
		x_1\\
		x_2\\
		\vdots\\
		x_N\\
		\end{array}
		\right)

	\right\|_2
$$


More information about the pygtk mailing list