Bug 101909 - Add THINSPACE (u+2009) and NARROW NO-BREAK SPACE (u+202f) as uno commands on the Formatting Mark menu
Summary: Add THINSPACE (u+2009) and NARROW NO-BREAK SPACE (u+202f) as uno commands on ...
Status: RESOLVED DUPLICATE of bug 121596
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.5.2 release
Hardware: All All
: lowest enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: UNO-Command-New Formatting-Mark
  Show dependency treegraph
 
Reported: 2016-09-05 14:39 UTC by Frank Brütting
Modified: 2020-03-25 16:10 UTC (History)
2 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 Frank Brütting 2016-09-05 14:39:01 UTC
There is a protected space symbol with half width, but this doesn't work in LO. Protected means, that there will be no line break next to it.
Comment 1 V Stuart Foote 2016-09-05 14:56:50 UTC
In Writer  Insert -> Formatting mark provides "Non-breaking space", "Non-breaking hyphen" and "Soft Hyphen" as appropriate for the font in use and font style applied.

All function as intended.
Comment 2 Frank Brütting 2016-09-05 18:40:57 UTC
Yes, there are these three glyphs, but there is no „small space“. This is primarily used in scientific context for the space between a number and it's unit neither to be too big nor not existing and is achieved in TeX systems by <\,>. It even is instructed in books about scientific writing and thus missing in LO.

https://en.wikipedia.org/wiki/Thin_space
Comment 3 V Stuart Foote 2016-09-05 19:31:22 UTC
Hmm, guess we could add uno command for both U+2009 (THINSPACE) or U+202F (NARROW NO-BREAK SPACE) to the Formatting Mark menu uno command.

Meanwhile, simple workaround of entering one or the other as unicode, and toggling with <Alt>+X
Comment 4 Frank Brütting 2016-09-05 19:46:58 UTC
That would be nice! The narrow no-break space would make a lot more sense, so I'd prefer U+202F.

I have a keyboard layout which can produce this glyph, but when I press the corresponding key, a regular non-breaking space is inserted, but not a thin one. Inserting as unicode through "Insert->Special character" works somehow…
Comment 5 V Stuart Foote 2016-09-05 21:39:24 UTC
(In reply to zyklon87 from comment #4)
> That would be nice! The narrow no-break space would make a lot more sense,
> so I'd prefer U+202F.

Trivial to do without IME or use of special character dialog--simply type "u+202f" and position cursor at end of string. Then <alt>+x to toggle the codepoint for the current font. Another <alt>+x will toggle back the to string.

AltGr (right <Alt> key) in some locales does not perform the toggle--use the left alt.
Comment 6 Heiko Tietze 2020-03-25 16:10:13 UTC
U+202F is implemented now as .uno:InsertNarrowNobreakSpace. Not exactly what is asked for here but covering the use case. In case more/different characters are needed I recommend to use the special character dialog.

*** This bug has been marked as a duplicate of bug 121596 ***