Issue 26446

Summary: inherit font size of formulas from paragraph
Product: Math Reporter: Regina Henschel <rb.henschel>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: don.troodon, issues, kamataki, kozodaevroman, Mathias_Bauer, mey.wer, rgb.mldc
Version: OOo 1.1 RCKeywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 105217    

Description Regina Henschel 2004-03-13 23:02:12 UTC
I have found some issues dealing with font size of formulas (5092, 5266, 12615,
17470) but my proposal differs from those.
In Writer, where a formula is always anchored as character, the formula should
inherit the font size of the paragraph. So when changing the font size of the
paragraph or copying or moving the formula to a new place, the font size will
always fit to the surrounding text.
You can adapt the UI by making a new entrance "inherited" in the drop down list
of "base size".
In Impress the formula can inherit the font size from the assigned graphic style.
Of cause hard formatting the font size via base size should be still possible.
Comment 1 thomas.lange 2004-03-15 08:42:39 UTC
TL->BH: Enhancement. Please take over. Thanks!
Comment 2 jmgervais 2004-11-21 21:37:07 UTC
An alternative solution...
http://fr.openoffice.org/Documentation/Outils/AddonTailleFormule1.zip

Short french description:
http://fr.openoffice.org/Documentation/Outils/index.html

(This add-on tool in included in Dmaths, a GPL add-on to OOo:
http://www.dmaths.org )
Comment 3 Matthias Basler 2005-03-19 21:01:30 UTC
I strongly support Regina's idea.

Sometimes I have a document with dozens of formulae and like to change the
document's overall text size. Currently this would mean changing the font size
for every singly formula separately, wouldn't it?

This suggestion would REALLY simplify such task.

PS: Can anybody translate to English/German what exactly this TailleFormule
addon does?
Comment 4 umr5174 2005-03-22 15:45:50 UTC
This is a good suggestion.
I prefer having formulae slighty bigger than the text, so that I suggest the
formulae base size could depend on the text base size through a user-defined
coefficient.
Similarly, I'd like the formula fonts to be possibly inherited from the text one.
Comment 5 Matthias Basler 2005-03-22 16:46:33 UTC
> so that I suggest the formulae base size could depend on the text base size
> through a user-defined coefficient.

... which brings me to the idea of having formula templates, equal to paragraph
or text templates.

Such a formula template could define:
- Font sizes e.g.:
   - base size, usually 100% of paragraph text size, or 120% for "umr5174" ;-)
   - indices size, usually 60% of base size and so on ...
- Overall Formula fonts and color
- positioning and anchoring (as f.e. "as character", "to paragraph")
- insets (2 mm left, 2 mm right to text)
- other things, e.g formula borders and background color (I think someone else
suggested this in another issue.)

Advantages:
1.) It would be possible to create formula templates, e g. for separate vs.
in-text formulae or for formulae within a table (having smaller fonts).
2.) Changing a formula from in-text to separate would require only one-two
clicks in the stylist.
3.) Changing one of the templates would correct sizes etc. for all such formulae
in the whole document.

Anyway, this would improve usebility a lot and would also solve Regina's problem
 - if sizes relative to the paragraph text size are supported.

Should I open another issue for this suggestion?

OS set to All.
Comment 6 Matthias Basler 2005-04-07 09:33:28 UTC
*** Issue 45403 has been marked as a duplicate of this issue. ***
Comment 7 altsound 2005-05-07 18:34:26 UTC
Yes please! :-)
Comment 8 Matthias Basler 2005-07-04 18:07:01 UTC
*** Issue 50441 has been marked as a duplicate of this issue. ***
Comment 9 colman 2005-07-19 23:54:35 UTC
Should apply in all possible cases: e.g. to formulas in footnotes, table
headers, table content.

Comment 10 michael.ruess 2006-03-15 07:09:47 UTC
*** Issue 63181 has been marked as a duplicate of this issue. ***
Comment 11 thomas.lange 2006-09-25 11:34:28 UTC
.
Comment 12 meywer 2009-11-02 20:52:34 UTC
See issue 5266 too.