Currently all math formulas inserted in Writer have predefined text size (currently 12). I suggest the following: You type some bold text in writer with size 20 and press Inser Formula: Formula inserted with following line "bold size 20 {}" and the cursor is between { and }. Two \n also may be added
Set your font size preference in a Math formula editor session, they'll carry over as you call the OLE formula insertion. Personally, I prefer to prepare my formulas external to a Writer session in Math, and then insert each preformatted OLE formula as I need them in the manuscript.
Yes, I can set default font and size in Math setttings. But I can set it for formula or userprofile-wide. I cannot at least set it document-wide. What I suggest is context-style formulas. I see only advantages. If I create commit with such possibilities will it be rejected?
Sure, work it up. Over to new enhancement against formula editor. Ask here, or post to Dev ML for help list if you get stuck with the source code or UI design.
@Takeshi, any thoughts or pointers for Yan? Not sure how it can be accomplished, but expect setting a font size per document for formula would need to end up asserted against each formula object OLE recorded into the .ODT archive.
No, it won't require additional settings, it's simplier: 1) You type text on some line, text has some attributes (size, isbold, isital, color, font etc.) 2) I grab size, isbold, isital from current line 3) I insert OLE object and edit it, pasting, for example "bold size 35 {}" Seems to be achievable, the only thing in whch I'm not sure is possibility to place cursor in needed position. Is placing user's cursor musthave possibility? I also guess that this feature should be triggered in settings
That sounds duplicate to bug 32419 'When inserted on Writer, get "Base size" for formulas from underlining paragraph'.
Yep, they are similar, but my approach isn't so careful :) May merked as DUP
OK then to dupe of bug 32419 *** This bug has been marked as a duplicate of bug 32419 ***