emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Writing microsecond time unit
@ 2013-07-01  6:46 Xavier Garrido
  2013-07-01  7:07 ` Nick Dokos
  2013-07-01  7:11 ` Thomas Holst
  0 siblings, 2 replies; 4+ messages in thread
From: Xavier Garrido @ 2013-07-01  6:46 UTC (permalink / raw)
  To: emacs-orgmode

Dear Orgers,

I would like to do something very simple such as writing microsecond 
unit but I fail. I try different way (\mu\nbsp s, $\mu$s, \mu s) but 
always get a whitespace between the µ symbol and the second symbol. The 
only working version is $\mu\text{s}$ which gives me a pure LaTeX code 
which is find for LaTeX to pdf export but is quite annoying when I 
export to html. Is there a simple way to use the symbol µ glued to a 's' ?

Thanks in advance,
Xavier

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

* Re: Writing microsecond time unit
  2013-07-01  6:46 Writing microsecond time unit Xavier Garrido
@ 2013-07-01  7:07 ` Nick Dokos
  2013-07-01  7:11 ` Thomas Holst
  1 sibling, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2013-07-01  7:07 UTC (permalink / raw)
  To: emacs-orgmode

Xavier Garrido <xavier.garrido@gmail.com> writes:

> Dear Orgers,
>
> I would like to do something very simple such as writing microsecond
> unit but I fail. I try different way (\mu\nbsp s, $\mu$s, \mu s) but
> always get a whitespace between the µ symbol and the second
> symbol. The only working version is $\mu\text{s}$ which gives me a
> pure LaTeX code which is find for LaTeX to pdf export but is quite
> annoying when I export to html. Is there a simple way to use the
> symbol µ glued to a 's' ?
>

How about

\(\mu s\)

? Should work for both latex and html.

Actually,

\(\mu\text{s}\)

should also work (producing an upright s, rather than the slanted s that
the first example produces - personally I like the first one better).

Not sure if the $ signs are causing problems: imo, it's a better idea
to use the standard latex delimiters

   \( ... \) for inline math
   \[ ... \] for display math

always.

The html output makes use of MathJax but that should be no problem: by
default, the output references the MathJax installation on orgmode.org.
You might want to install on a local web server if you are going to make
heavy use of it.

See

        (info "(org) Math formatting in HTML export")

for more details.
-- 
Nick

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

* Re: Writing microsecond time unit
  2013-07-01  6:46 Writing microsecond time unit Xavier Garrido
  2013-07-01  7:07 ` Nick Dokos
@ 2013-07-01  7:11 ` Thomas Holst
  2013-07-01  7:23   ` Xavier Garrido
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Holst @ 2013-07-01  7:11 UTC (permalink / raw)
  To: Xavier Garrido; +Cc: emacs-orgmode@gnu.org

Hi Xavier,

· Xavier Garrido <xavier.garrido@gmail.com> wrote:
> Dear Orgers,
>
> I would like to do something very simple such as writing microsecond 
> unit but I fail. I try different way (\mu\nbsp s, $\mu$s, \mu s) but 
> always get a whitespace between the µ symbol and the second symbol. The 
> only working version is $\mu\text{s}$ which gives me a pure LaTeX code 
> which is find for LaTeX to pdf export but is quite annoying when I 
> export to html. Is there a simple way to use the symbol µ glued to a 's' ?


what about \mu{}s. It works for HTML:

  &mu;s

and LaTeX:

  $\mu$s

HTH

-- 
Bis neulich ...
  Thomas

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

* Re: Writing microsecond time unit
  2013-07-01  7:11 ` Thomas Holst
@ 2013-07-01  7:23   ` Xavier Garrido
  0 siblings, 0 replies; 4+ messages in thread
From: Xavier Garrido @ 2013-07-01  7:23 UTC (permalink / raw)
  To: Thomas Holst; +Cc: emacs-orgmode@gnu.org

Thanks a lot Thomas, it works like a charm.

Le 01/07/2013 09:11, Thomas Holst a écrit :
> Hi Xavier,
>
> · Xavier Garrido <xavier.garrido@gmail.com> wrote:
>> Dear Orgers,
>>
>> I would like to do something very simple such as writing microsecond
>> unit but I fail. I try different way (\mu\nbsp s, $\mu$s, \mu s) but
>> always get a whitespace between the µ symbol and the second symbol. The
>> only working version is $\mu\text{s}$ which gives me a pure LaTeX code
>> which is find for LaTeX to pdf export but is quite annoying when I
>> export to html. Is there a simple way to use the symbol µ glued to a 's' ?
>
> what about \mu{}s. It works for HTML:
>
>    &mu;s
>
> and LaTeX:
>
>    $\mu$s
>
> HTH
>

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

end of thread, other threads:[~2013-07-01  7:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-01  6:46 Writing microsecond time unit Xavier Garrido
2013-07-01  7:07 ` Nick Dokos
2013-07-01  7:11 ` Thomas Holst
2013-07-01  7:23   ` Xavier Garrido

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).