WinFIG forum
WinFIG => WinFIG and LaTeX => Topic started by: smrock on September 22, 2012, 06:11:34 PM
-
I am trying to draw block diagrams and need to center a latex equation in each of the frameboxes. Does anyone know how to do this? I tried aligning my text entry and the box, but that aligns the raw latex command (e.g. $\gamma$, not the resulting greek symbol. Thanks
-
Did you try \begin{center} ... \end{center} around your formula?
-
Thanks for the suggestion. I just tried it -- but it doesn't work.
The only way I've succeeded so far is to edit the exported .tex file to change the coordinates in the \put command. That works, but is pretty awkward.
-
ah, ok it's probably because the "put" overrides the \center. However, Perhaps there is a way to change the LaTeX export to include the centering inside the box. Right now it looks like this:
\put(3001,-6549){\makebox(0,0)[b]{\smash{{\SetFigFont{12}{14.4}{\rmdefault}{\mddefault}{\updefault}{\color[rgb]{0,0,0}sdfsdfdsdsf}%