16

Is there a way how to set manual word breaks with a hyphenation character in Google Docs?

I do not mean setting a manual - but an invisible character.

I searched the help and forums but just found old replies saying "do a feature request".


Since the recent answers did not get the question. Here is an example, what is needed:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor thisismy-
superlongword ut labore et dolore magna aliqua. 

The word thisismysuperlongword should get a hyphenation after y and break into two parts. But it should (on one line) still be considered as one word.

3
  • Just to confirm, I think what you are asking for is the equivalent of HTML's "Kilima­njaro", which will, but only when necessary, break the word with a hyphen between the "a" and the "n". Jul 24 at 0:41
  • Yes, a so-called "soft hyphen" to break words: "This character is not rendered visibly; instead, it suggests a place where the browser might choose to break the word if necessary." - But as far as I know you cannot insert HTML into a Google document. webapps.stackexchange.com/q/50273/51145
    – Avatar
    Jul 24 at 6:26
  • All the answers give workarounds, but don't respond to the actual question. My answer did answer the question (it's currently not possible to do what is asked for) and provided a link to a google-support page where this feature has been requested. ¶ Despite that, my answer was deleted. Why? I'd say that all the other answers are more deletion-worthy. Jul 27 at 23:16
0
  • Open the required Google Doc
  • Select Add-ons > Get add-ons
  • Search for Consistency Checker
  • Click the Free button and give permission
  • Now you can check for hyphenation from the Add-ons menu
1
  • 6
    This tool just checks that no words appear with different hyphenation styles (email vs e-mail) in the document, but does nothing in regards to line breaks, which is what the question is about.
    – finitud
    Jan 19 '19 at 11:55
0

Use a zero-width space character. Here's the Wikipedia article for it: https://en.wikipedia.org/wiki/Zero-width_space

Adding it to your document can be difficult. I'm not sure how to do it the right way, but I, personally, just go to the following page and click the "zero-width space" button to copy it to my clipboard, then paste it into my document: https://beautifuldingbats.com/whitespace/

With this zero-width space character, just place it immediately after the manual hyphen you've added to force a line break.

8
  • 1
    "immediately after the manual hyphen you've added to force a line break". I think the question wants the hyphen to be automatically added, but only when necessary, the equivalent to HTML's ­ entity. Jul 24 at 0:36
  • 1
    It doesn't. The OP's question specifically asks "Is there a way how to set manual word breaks with a hyphenation character in Google Docs?". My answer provides a way to set manual word breaks with a hyphenation character in Google Docs.
    – Lex
    Jul 24 at 20:13
  • See the comment with the question. The OP clarified that what is needed is "a so-called "soft hyphen" to break words". Jul 24 at 20:23
  • Well AFAIK there's no other way to do that than what I posted. If you have some additional information, post your own answer.
    – Lex
    Jul 25 at 22:30
  • 1
    It is the problem that the question is looking to solve though. The problem is solved by using that zero-width space where necessary.
    – Lex
    Jul 27 at 3:37
0

To create a deliberate space I add a "non-breaking space". It's a blank character. They come in various widths (from zero through to big long tabs).

On PC I use alt-0160 (on the keypad numbers) which will type a blank space the size of a lowercase n that is interpreted as a letter rather than a gap. This allows a two strings of characters to be parsed as one "word" by the software, and will stop it from "orphaning" (leaving a word alone on the next line).

In the menu option Insert — Ω Special Characters, if you type "space" into the search box it will give you a variety of different sized space options of different widths.

Here is more information about how to type in a non-breaking space in other systems. https://www.computerhope.com/jargon/n/nbsp.htm

If you have already used hyphens, you can do a "find and replace" within Google Docs, but be mindful that it will replace all the hyphens you have used regardless of what you have used them for.

Hope this helps.

1
  • 1
    I think the question wants the hyphen to be automatically added, but only when necessary, the equivalent to HTML's ­ entity. A non-breaking-space is the exact opposite of this. Jul 24 at 0:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.