5

In LaTeX one can use ~ to produce a non-breaking space. Is there an analogue in org-mode?

4
  • 1
    do you mean for exporting to latex? like here Commented Oct 1, 2018 at 12:38
  • also just found this answer by @Andrew Swann . Insert a nbsp with C-q 240 Commented Oct 1, 2018 at 12:45
  • I'm curious why you want to do this?
    – hrkrshnn
    Commented Oct 1, 2018 at 15:28
  • I'm exporting a document to LaTeX, and the calling of a reference break at the end of line... interpret the following "... as shown in Ref. [3]" -> "... as shown in Ref. \n [3]". But "... as shown in Ref.\nbsp[3]" -> "... as shown in \n Ref. [3]". i.e. it forces the word Ref. to stay together with the calling [3].
    – Dox
    Commented Oct 1, 2018 at 15:59

2 Answers 2

3

I ran across this problem myself while writing up some reports. Beyond the answer provided by @Andrew Swann (and mentioned by @manandearth above), according to the manual (https://orgmode.org/manual/Special-Symbols.html), you can insert a non-breaking-space using the \nbsp{} LaTeX command.

0

If you have evil, you can use ~evil-insert-digraph~ and then the default nonbreaking space is simply NS. The various alternate width nonbreaking spaces are 1N, 1M, 3M etc. (see line 243ff in ~evil-show-digraph~).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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