Bug 142528

Summary: TexMaths allow resize with selected text
Product: LibreOffice Reporter: dolle.guillaume
Component: ExtensionsAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTOURBUG    
Severity: enhancement CC: dante19031999, roland65, vsfoote
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description dolle.guillaume 2021-05-27 13:37:00 UTC
Description:
We have the possibility to write inline texmaths formula in paragraph, but not to keep uniform font size (where texmaths font size match paragraph font size).

# Current behaviour:

Each equation owns its font size. The default font size proposed in the pop up window does not match with the general font size. 
When a block text is selected with several formula and if the font size is changed, equations font are not changed/scaled.

# Proposal

* By default, set texmath font size to match general font size.
* Add an auto/scale checkbox option in font size widget layout to allow texmaths font size to always match with general size (i.e. regenerate all latexmaths under the selection).

Steps to Reproduce:
1. Insert texmaths formula in text (e.g "This is a text with two math equations \binom{n}{k} and \binom{n}{k}.").
2. Select whole text.
3. Change font size.


Actual Results:
Equations are not resized.

Expected Results:
Equations are resized with new text general font size.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.1.3.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 24; OS: Linux 5.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
7.1.3-1
Calc: threaded
Comment 1 V Stuart Foote 2021-05-27 16:41:35 UTC
@Roland, for you... and by the way, thanks for a great OOo extension!
Comment 2 V Stuart Foote 2021-05-27 22:19:09 UTC
TexMaths feature requests are here:

https://sourceforge.net/p/texmaths/feature-requests/

bug reports are here:

https://sourceforge.net/p/texmaths/bugs
Comment 3 Roland Baudin 2021-05-29 07:26:14 UTC
In TexMaths, you can change the font size of all equations by using the TexMaths Recompile dialog.

I think the LibreOffice team can close this bug which is rather a feature request for the TexMaths extension.