Bug 165849 - Math equation editor: introduce control character, that *decreases* space between characters
Summary: Math equation editor: introduce control character, that *decreases* space bet...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
25.2.1.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
 
Reported: 2025-03-21 12:11 UTC by Dominik Lenné
Modified: 2025-03-21 23:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Lenné 2025-03-21 12:11:43 UTC
Description:
In a formula, not all characters should have the same distance.
Currently, we can set a minimum space for the whole equation and create variation by inserting "`"  or "~" between entities. 
In practice, only few characters in an equation will have the minimum distance, e.g. "%DELTA T" --> "ΔT", while the majority of pairings need a somewhat bigger distance. So we need a lot of distance characters to make it read-friendly, which makes the code hard to read. 

The suggestion is, to introduce a control character that reduce the spacing a bit from the standard spacing, e.g. "´". 

Another possible solution would be to introduce an editable list of characters, like %delta %DELTA, for which a separate standard spacing to the following entity can be defined, as to have a harmonious look and source good code readability at the same time.

thx for your brillant work!


Steps to Reproduce:
1. Write formula in writer math equation editor containing characters, that should have different spacings between them.

Actual Results:
Have to find a compromise for standard spacing or work with small standard spacing and a lot of space-*adding* control characters ( ` ~ ).

Expected Results:
Possibility to set a good standard spacing for most of the spaces and *reduce* spacing for the few items, which need a smaller spacing. 


Reproducible: Always


User Profile Reset: No

Additional Info:
see expected results
Comment 1 V Stuart Foote 2025-03-21 14:43:56 UTC
Hmm, might be useful.

But can't we already control the itra-variable 'Spacing' value for a node by reducing it from its default 10%? 

While the ( ` and ~ ) markups are there to increase spacing.
Comment 2 Dominik Lenné 2025-03-21 23:09:48 UTC
i know of no way to control single spacings.