Date: prev next · Thread: first prev next last
2021 Archives by date, by thread · List index

You've missed the one Unicode point that does exactly what you require, but its use will depend on 
the font in use.


You can enter via LibreOffice Special Character dialog, or LibreOffice's Unicode toggle. That is 
you can type U+2011 and then <Alt>+X to toggle the glyph.

If the font in use does not "cover" the codepoint, you'll get a fallback replacement or possibly 
the no glyph value for the font.

When added to canvas the non-breaking hyphen character will receive NPC highlighting.

From: John Kaufmann <>
Sent: Wednesday, March 24, 2021 1:31 PM
To: LibreOffice Users <>
Subject: [EXTERNAL] [libreoffice-users] Non-breaking dash/hyphen

  This email originated outside of The University of Texas at San Antonio.
  Please exercise caution when clicking on links or opening attachments.

I had always thought that the difference between a "dash" and a "hyphen" is that the dash is a 
character (that is, will not break a character string), while the hyphen hyphenates (that is, 
breaks at the end of a line if the character string following the hyphen is too long to fit on the 
line).  So, needing a non-breaking substitute for that horizontal bar on my keyboard, I invoked:
                        Insert > Special Character
to get (what I would call) a dash.

LibreOffice has such mid-height horizontal-bar characters in three character groups:
"General punctuation", characters:
        U+2010 (HYPHEN)
        U+2012 (FIGURE DASH)
        U_2013 (EN DASH)
        U+2014 (EM DASH)
        U+2015 (HORIZONTAL BAR)
"Mathematical Operators", character:
        U+2212 (MINUS SIGN)
"Box Drawing", character:

The five characters of the "General Punctuation" group mostly seem to just represent different 
widths of hyphen (despite three being called FIGURE DASH, EN DASH, EM DASH), in that in a character 
string each will end a line of characters if the string following is too long to fit. Only the 
HORIZONTAL BAR acts as a common character, such that the string of which it is a member will not 
break there; but it is very long to be used as a non-breaking hyphen.

The MINUS SIGN in the "Mathematical Operators" group has a special operation: It will break at the 
end of a line, but will itself move to the next line, to stay with the character following MINUS 

The BOX DRAWINGS LIGHT HORIZONTAL character acts like the HORIZONTAL BAR -- that is, as a true, 
non-breaking character -- but is also too long to be used generally as a non-breaking hyphen.

Is there a clean way to make a non-breaking dash/hyphen?


To unsubscribe e-mail to:
Posting guidelines + more:;;sdata=GsCYvDHe1BJ8vWu6cQiZbTmWbi4W6REXOrdYV%2BacjKE%3D&amp;reserved=0
List archive:;;sdata=a2XSTngahR6i%2FuXXSSxushiS1VvKXoFE6TnwEcLVveM%3D&amp;reserved=0
Privacy Policy:;;sdata=xczjZBcd8asNHb5Myw4TwTewQPLMNlD%2BIHbnVz6RyWY%3D&amp;reserved=0

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.