GNOME Bugzilla – Bug 622782
Equation for diagram (goffice built with lasem) : No text orientation tab in equation for diagram and no space character possible
Last modified: 2010-06-27 08:54:45 UTC
Created attachment 164663 [details] example for the diagram equation functions After building goffice 0.86 --withlasem the new function of an equation for diagram is given, where texts can be subscripted, but 1. There is no text orientation tab, for rotation of the equation, like for he axes labels. So for y-axis labels its useless, should be at least a vertical mode too. 2. Its not possible to segregate words by a space character, like in axes labels. So you can do normal lookings texts only with a combination of several equations. 3. You can not set the fonts size for the subscripted and the non subscipted text. But for great customization this should be possible.
You are right about point 1. Concerning the two others, you should have a look at http://golem.ph.utexas.edu/~distler/blog/itex2MMLcommands.html for the list of available commands. For font size, you probably need to add some mathml markup. Another quick way to have rich text would be to have gog_renderer_draw_text (view->renderer, str, &view->residual, GTK_ANCHOR_NW, TRUE); instead of gog_renderer_draw_text (view->renderer, str, &view->residual, GTK_ANCHOR_NW, FALSE); at gog-label.c:469. Then typing x<sub>n</sub> should give you a subscript. Have a look at http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html for the syntax to use.
Created attachment 164732 [details] [review] Fixes the issue.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report. Points 2 and 3 are invalid.