Bug 33827 - Implement styles for formulae
Summary: Implement styles for formulae
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 65066 75493 103899 105802 (view as bug list)
Depends on:
Blocks: Formula-Editor Styles
  Show dependency treegraph
 
Reported: 2011-02-01 15:42 UTC by PeMaGonGo
Modified: 2022-11-22 09:41 UTC (History)
17 users (show)

See Also:
Crash report or crash signature:


Attachments
formulary with many formulas (397.71 KB, application/vnd.oasis.opendocument.text)
2011-02-05 10:33 UTC, PeMaGonGo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PeMaGonGo 2011-02-01 15:42:42 UTC
Hi ppl,
lately I was writing a formulary for my exam, after the work I noticed, that I had space free and wanted to set the font size bigger... there I saw, that it isn't possible to change the font size for all formulas at once... I had to open each one and change the font size... one a formulary... you know how much time I spent on it? you don't wanna know...
anyway there I thought... why isn't there a formatting pattern for formulas? or why can't you give formulas one?
This question is my idea for it. What do you think about it?

greetings

PeMaGonGo
Comment 1 Muthu 2011-02-03 03:41:24 UTC
Can you please attach the problematic file? So that we can better understand your requirements.
Comment 2 PeMaGonGo 2011-02-05 10:33:55 UTC
Created attachment 42967 [details]
formulary with many formulas
Comment 3 Rainer Bielefeld Retired 2011-04-25 06:34:01 UTC
Made an assumption concerning Version.

[Reproducible] with "LibreOffice 3.4Beta2  – WIN7  Home Premium  (64bit) German UI [DEV300m103 (Build:1)]". Corresponding style dialog contains several possibilities to modify size, Wrapping, Background and several other properties of the forula frame, what will applied for all formulas in the document in time. But there is no way to use the basic character size in that dialog.

@Jonas:
Not really your area, but may be related?
Comment 4 Laurent Balland 2011-08-24 12:28:57 UTC
Hello,

As a workaround, a macro is proposed on French wiki:
http://wiki.documentfoundation.org/FR/Math/Pour_aller_plus_loin#Modification_de_toutes_les_formules
Comment 5 Björn Michaelsen 2011-12-23 11:47:20 UTC Comment hidden (obsolete)
Comment 6 Laurent Balland 2011-12-26 12:48:26 UTC
Hello,

This enhancement has not been included in LibO 3.5.
Comment 7 Thomas Arnhold 2013-09-08 12:41:06 UTC
*** Bug 65066 has been marked as a duplicate of this bug. ***
Comment 8 Owen Genat (retired) 2014-08-28 11:34:07 UTC
Bug 32419 added to See Also list as these two requests are related, with this one being the superset.
Comment 9 V Stuart Foote 2016-11-13 06:08:56 UTC
*** Bug 103899 has been marked as a duplicate of this bug. ***
Comment 10 V Stuart Foote 2017-02-06 17:31:00 UTC
*** Bug 105802 has been marked as a duplicate of this bug. ***
Comment 11 Frederic Parrenin 2017-04-10 17:09:56 UTC
Any news on this issue?
In the academic field, this is crucially needed.
Indeed, if you write a scientific article with many formulas for one journal, and then want to submit it to another journal with a different style (e.g. different fonts), you have to edit the formulas one by one.
Comment 12 Frederic Parrenin 2017-04-10 17:23:29 UTC
I just tried the provided macro and it works great!
I still think that styles would be a more convenient and discoverable way to approach this issue, though.
Comment 13 Roman Kuznetsov 2018-07-13 18:51:11 UTC
(In reply to Frederic Parrenin from comment #12)
> I just tried the provided macro and it works great!
> I still think that styles would be a more convenient and discoverable way to
> approach this issue, though.

there is an extension for changing font and font size for all formulas in document by one time https://extensions.libreoffice.org/extensions/formatting-of-all-math-formulas
Comment 14 Frederic Parrenin 2018-07-16 09:00:51 UTC
Good to know this extension.
This solves my problem.
Maybe I would still prefer to have styles for formulas, which would be more consistent and more powerful, since you could have two different styles.
Comment 15 Thomas Lendo 2019-08-21 14:14:25 UTC
*** Bug 75493 has been marked as a duplicate of this bug. ***
Comment 16 Thomas Lendo 2019-08-21 14:15:16 UTC
Copied from bug 75493 comment 2:

Regina Henschel 2015-01-18 20:29:13 CET

The suggested way is currently not possible, because each formula is indeed an autonomous document, which is inserted as OLE object. The graphic style can only work on the shown replacement graphic but not on the formula document itself. In addition, the graphic styles in Writer do not have a property 'font size'.

Major modifications in the code would be necessary to implement such a feature.

Not duplicate, but related issue https://bugs.freedesktop.org/show_bug.cgi?id=32419

I use Basic macros for this purpose.