Marius Hofert writes:
> Nicolas Goaziou writes:
>> For example, you can have:
>>
>> (add-to-list 'org-entities-user '(spc "\\ " nil " " " " " " " "))
>>
>> And then use
>>
>> p.\spc{}17
>
> I have put the above line in ~/.emacs and restarted emacs. It writes now as
> "p.17",
> so without s
Nicolas Goaziou writes:
> Hello,
>
> Marius Hofert writes:
>
>> Is there also a way to get "\"? [there is a slight but sometimes
>> important difference].
>
> Do you mean "\ "?
yes.
>
>
> Not out of the box, but you can add your own entities in
> `org-entities-user'.
>
> For example, you can
Hello,
Viktor Rosenfeld wrote:
> I typically use a non-breaking space in this case with C-x 8 .
> This also prevents a linebreak at this position. For this to work I have
> to add the following line in the LaTeX preamble:
>
> \DeclareUnicodeCharacter{00A0}{~}
or use the `utf8x' (see the `x') inpu
Hello,
Marius Hofert writes:
> Is there also a way to get "\"? [there is a slight but sometimes
> important difference].
Do you mean "\ "?
Not out of the box, but you can add your own entities in
`org-entities-user'.
For example, you can have:
(add-to-list 'org-entities-user '(spc "\\ " ni
Dear Nicolas, many thanks for pointing this out.
\nbsp{} leads to ~, which is correct in this case. Is there also a way to get
"\"? [there is a slight but sometimes important difference].
Cheers,
Marius
Nicolas Goaziou writes:
> Hello,
>
> Marius Hofert writes:
>
>> If I create a .org file co
Hello,
Marius Hofert writes:
> If I create a .org file containing this line...
>
> ,[ minimal_example.org ]
> | This is just some text on p. 17. Some more text.
> `
>
> ... and then export it to pdf via C-c C-e p, you can see from the output that
> the space after "p." is too large. In
Hi,
I typically use a non-breaking space in this case with C-x 8 .
This also prevents a linebreak at this position. For this to work I have
to add the following line in the LaTeX preamble:
\DeclareUnicodeCharacter{00A0}{~}
Cheers,
Viktor
Marius Hofert wrote:
> Dear org-mode experts,
>
> If I
Dear org-mode experts,
If I create a .org file containing this line...
,[ minimal_example.org ]
| This is just some text on p. 17. Some more text.
`
... and then export it to pdf via C-c C-e p, you can see from the output that
the space after "p." is too large. In a standard .tex file o