emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Non-breaking space
@ 2010-04-29  7:56 Nicolas Girard
  2010-04-29  8:19 ` Rémi Vanicat
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Girard @ 2010-04-29  7:56 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

How can I typeset, for instance, 100 €, in such a way that, once
exported in LaTeX, it gives: 100~€ (with a non-breaking space) ?

Thanks in advance !
Nicolas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Non-breaking space
  2010-04-29  7:56 Non-breaking space Nicolas Girard
@ 2010-04-29  8:19 ` Rémi Vanicat
  2010-04-29 10:11   ` Sébastien Vauban
  0 siblings, 1 reply; 6+ messages in thread
From: Rémi Vanicat @ 2010-04-29  8:19 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Girard <nicolas.girard@nerim.net> writes:

> Hi,
>
> How can I typeset, for instance, 100 €, in such a way that, once
> exported in LaTeX, it gives: 100~€ (with a non-breaking space) ?

You can use the utf-8 non breaking space (on my keyboard it's
compose space space or alt-gr shift space or C-x 8 space)
-- 
Rémi Vanicat

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Non-breaking space
  2010-04-29  8:19 ` Rémi Vanicat
@ 2010-04-29 10:11   ` Sébastien Vauban
  2010-04-30 10:46     ` Chris Gray
  0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Vauban @ 2010-04-29 10:11 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Nicolas and Rémi,

Rémi Vanicat wrote:
> Nicolas Girard <nicolas.girard-T/o0Z7lmwKpeoWH0uzbU5w@public.gmane.org> writes:
>> How can I typeset, for instance, 100 €, in such a way that, once
>> exported in LaTeX, it gives: 100~€ (with a non-breaking space) ?
>
> You can use the utf-8 non breaking space (on my keyboard it's
> compose space space or alt-gr shift space or C-x 8 space)

Or the Non-Breaking SPaces automatically added. See
http://article.gmane.org/gmane.emacs.orgmode/15116 and the code
`my-insert-colon'.

Best regards,
  Seb

-- 
Sébastien Vauban



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Non-breaking space
  2010-04-29 10:11   ` Sébastien Vauban
@ 2010-04-30 10:46     ` Chris Gray
  2014-09-12  8:18       ` Erwan
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Gray @ 2010-04-30 10:46 UTC (permalink / raw)
  To: emacs-orgmode

Sébastien Vauban wrote:

> Hi Nicolas and Rémi,

> Rémi Vanicat wrote:
>> Nicolas Girard <nicolas.girard@nerim.net> writes:
>>> How can I typeset, for instance, 100 €, in such a way that, once
>>> exported in LaTeX, it gives: 100~€ (with a non-breaking space) ?

>> You can use the utf-8 non breaking space (on my keyboard it's
>> compose space space or alt-gr shift space or C-x 8 space)

> Or the Non-Breaking SPaces automatically added. See
> http://article.gmane.org/gmane.emacs.orgmode/15116 and the code
> `my-insert-colon'.

I don't know if it has been mentioned yet, but you can also simply use
\nbsp.

Cheers,
Chris

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Non-breaking space
  2010-04-30 10:46     ` Chris Gray
@ 2014-09-12  8:18       ` Erwan
  2014-09-12 11:04         ` Marcin Borkowski
  0 siblings, 1 reply; 6+ messages in thread
From: Erwan @ 2014-09-12  8:18 UTC (permalink / raw)
  To: emacs-orgmode

My 2 cents:

\newcommand{\sectionref}[1]{Section~\ref{#1}}

and then write 

   \sectionref{bla} 

instead of

  Section~\ref{bla}

and ditto for figure, etc.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Non-breaking space
  2014-09-12  8:18       ` Erwan
@ 2014-09-12 11:04         ` Marcin Borkowski
  0 siblings, 0 replies; 6+ messages in thread
From: Marcin Borkowski @ 2014-09-12 11:04 UTC (permalink / raw)
  To: emacs-orgmode

Dnia 2014-09-12, o godz. 08:18:39
Erwan <jahier@imag.fr> napisał(a):

> My 2 cents:
> 
> \newcommand{\sectionref}[1]{Section~\ref{#1}}
> 
> and then write 
> 
>    \sectionref{bla} 
> 
> instead of
> 
>   Section~\ref{bla}
> 
> and ditto for figure, etc.

My 2 cents:

or just use the cleveref package instead of reinventing the wheel;-),
write

\cref{bla} or \Cref{bla}

and let LaTeX remember whether {bla} is a~section, subsection,
equation, theorem or whatever.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-12 11:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-29  7:56 Non-breaking space Nicolas Girard
2010-04-29  8:19 ` Rémi Vanicat
2010-04-29 10:11   ` Sébastien Vauban
2010-04-30 10:46     ` Chris Gray
2014-09-12  8:18       ` Erwan
2014-09-12 11:04         ` Marcin Borkowski

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).