emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to get \circ symbol in odt export?
@ 2012-01-12 15:30 Eric S Fraga
  2012-01-12 15:40 ` Eric S Fraga
  0 siblings, 1 reply; 9+ messages in thread
From: Eric S Fraga @ 2012-01-12 15:30 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I usually export to PDF via LaTeX.  One of the symbols I use a lot is
the degree symbol (as in degrees C) and typically do this with a
latex-ism:

  ^{\circ}C

This doesn't export well to ODT.  Can anybody suggest what I can use
that would?  Using "^{o}C" works but doesn't look very nice (lower case
o is not a circle, more of an oval).

Not a critical issue but I *am* curious!

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.106.gc835)

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

* Re: how to get \circ symbol in odt export?
  2012-01-12 15:30 how to get \circ symbol in odt export? Eric S Fraga
@ 2012-01-12 15:40 ` Eric S Fraga
  2012-01-12 16:09   ` Carson Chittom
  0 siblings, 1 reply; 9+ messages in thread
From: Eric S Fraga @ 2012-01-12 15:40 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Hi,
>
> I usually export to PDF via LaTeX.  One of the symbols I use a lot is
> the degree symbol (as in degrees C) and typically do this with a
> latex-ism:
>
>   ^{\circ}C
>
> This doesn't export well to ODT.  Can anybody suggest what I can use
> that would?  Using "^{o}C" works but doesn't look very nice (lower case
> o is not a circle, more of an oval).
>
> Not a critical issue but I *am* curious!
>
> Thanks,
> eric

I've answered my own question: simply resort to UTF characters!
Replacing ^{\circ} with the DEGREE SIGN unicode character (°) does the
trick for both latex/pdf and odt exports!  *And* looks good in the org
buffer as well.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.106.gc835)

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

* Re: how to get \circ symbol in odt export?
  2012-01-12 15:40 ` Eric S Fraga
@ 2012-01-12 16:09   ` Carson Chittom
  2012-01-12 16:22     ` Eric S Fraga
  0 siblings, 1 reply; 9+ messages in thread
From: Carson Chittom @ 2012-01-12 16:09 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> Hi,
>>
>> I usually export to PDF via LaTeX.  One of the symbols I use a lot is
>> the degree symbol (as in degrees C) and typically do this with a
>> latex-ism:
>>
>>   ^{\circ}C
>>
>> This doesn't export well to ODT.  Can anybody suggest what I can use
>> that would?  Using "^{o}C" works but doesn't look very nice (lower case
>> o is not a circle, more of an oval).
>>
>> Not a critical issue but I *am* curious!
>>
>> Thanks,
>> eric
>
> I've answered my own question: simply resort to UTF characters!
> Replacing ^{\circ} with the DEGREE SIGN unicode character (°) does the
> trick for both latex/pdf and odt exports!  *And* looks good in the org
> buffer as well.

For the sake of completeness, I'll mention that Scott Pakin's
Comprehensive LaTeX Symbol List[1] lists several packages which include
\degree or something similar.

[1] http://www.ctan.org/tex-archive/info/symbols/comprehensive/

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

* Re: how to get \circ symbol in odt export?
  2012-01-12 16:09   ` Carson Chittom
@ 2012-01-12 16:22     ` Eric S Fraga
  2012-01-12 18:06       ` Christian Moe
  0 siblings, 1 reply; 9+ messages in thread
From: Eric S Fraga @ 2012-01-12 16:22 UTC (permalink / raw)
  To: Carson Chittom; +Cc: emacs-orgmode

Carson Chittom <carson@wistly.net> writes:

> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>>
>>> Hi,
>>>
>>> I usually export to PDF via LaTeX.  One of the symbols I use a lot is
>>> the degree symbol (as in degrees C) and typically do this with a
>>> latex-ism:
>>>
>>>   ^{\circ}C
>>>
>>> This doesn't export well to ODT.  Can anybody suggest what I can use
>>> that would?  Using "^{o}C" works but doesn't look very nice (lower case
>>> o is not a circle, more of an oval).
>>>
>>> Not a critical issue but I *am* curious!
>>>
>>> Thanks,
>>> eric
>>
>> I've answered my own question: simply resort to UTF characters!
>> Replacing ^{\circ} with the DEGREE SIGN unicode character (°) does the
>> trick for both latex/pdf and odt exports!  *And* looks good in the org
>> buffer as well.
>
> For the sake of completeness, I'll mention that Scott Pakin's
> Comprehensive LaTeX Symbol List[1] lists several packages which include
> \degree or something similar.
>
> [1] http://www.ctan.org/tex-archive/info/symbols/comprehensive/

Thanks Carsten; this is a useful link indeed for latex users!

I'm not sure if any of these symbols, in general, export well to ODT?
At least the UTF solution seems to work in my specific case!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.106.gc835)

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

* Re: how to get \circ symbol in odt export?
  2012-01-12 16:22     ` Eric S Fraga
@ 2012-01-12 18:06       ` Christian Moe
  2012-01-12 19:02         ` Carson Chittom
  2012-01-12 19:49         ` Eric S Fraga
  0 siblings, 2 replies; 9+ messages in thread
From: Christian Moe @ 2012-01-12 18:06 UTC (permalink / raw)
  To: emacs-orgmode

On 1/12/12 5:22 PM, Eric S Fraga wrote:
> I'm not sure if any of these symbols, in general, export well to ODT?
> At least the UTF solution seems to work in my specific case!


Hi,

I prefer utf-8 myself, but should it be impractical for any reason,
Org's built-in \deg entity is another possibility.

Terminate with {} before non-space character, e.g.:

   Global mean temperature rose 0.74 \deg{}C over 1906--2005.

See the manual, 11.7.1 for pretty inline display.

Yours,
Christian

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

* Re: how to get \circ symbol in odt export?
  2012-01-12 18:06       ` Christian Moe
@ 2012-01-12 19:02         ` Carson Chittom
  2012-01-12 19:49         ` Eric S Fraga
  1 sibling, 0 replies; 9+ messages in thread
From: Carson Chittom @ 2012-01-12 19:02 UTC (permalink / raw)
  To: emacs-orgmode

Christian Moe <mail@christianmoe.com> writes:

> I prefer utf-8 myself, but should it be impractical for any reason,
> Org's built-in \deg entity is another possibility.
>
> Terminate with {} before non-space character, e.g.:
>
>   Global mean temperature rose 0.74 \deg{}C over 1906--2005.
>
> See the manual, 11.7.1 for pretty inline display.

Oh, hey, neat!  (I'm definitely going to have to back over the manual.)

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

* Re: how to get \circ symbol in odt export?
  2012-01-12 18:06       ` Christian Moe
  2012-01-12 19:02         ` Carson Chittom
@ 2012-01-12 19:49         ` Eric S Fraga
  2012-01-12 20:39           ` Christian Moe
  1 sibling, 1 reply; 9+ messages in thread
From: Eric S Fraga @ 2012-01-12 19:49 UTC (permalink / raw)
  To: mail; +Cc: emacs-orgmode

Christian Moe <mail@christianmoe.com> writes:

> On 1/12/12 5:22 PM, Eric S Fraga wrote:
>> I'm not sure if any of these symbols, in general, export well to ODT?
>> At least the UTF solution seems to work in my specific case!
>
>
> Hi,
>
> I prefer utf-8 myself, but should it be impractical for any reason,
> Org's built-in \deg entity is another possibility.

Thanks.  \deg works well.  

Is there a list for symbols that will translate properly in ODT export,
akin to the org-entities variable?  That variable knows about latex,
ascii, html, ... but not ODT!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.117.ga7389)

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

* Re: how to get \circ symbol in odt export?
  2012-01-12 19:49         ` Eric S Fraga
@ 2012-01-12 20:39           ` Christian Moe
  2012-01-12 22:55             ` Eric S Fraga
  0 siblings, 1 reply; 9+ messages in thread
From: Christian Moe @ 2012-01-12 20:39 UTC (permalink / raw)
  To: emacs-orgmode

On 1/12/12 8:49 PM, Eric S Fraga wrote:
> Is there a list for symbols that will translate properly in ODT export,
> akin to the org-entities variable?  That variable knows about latex,
> ascii, html, ... but not ODT!

Not to worry, org-entities and ODT both speak utf-8.

Yours,
Christian

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

* Re: how to get \circ symbol in odt export?
  2012-01-12 20:39           ` Christian Moe
@ 2012-01-12 22:55             ` Eric S Fraga
  0 siblings, 0 replies; 9+ messages in thread
From: Eric S Fraga @ 2012-01-12 22:55 UTC (permalink / raw)
  To: mail; +Cc: emacs-orgmode

Christian Moe <mail@christianmoe.com> writes:

> On 1/12/12 8:49 PM, Eric S Fraga wrote:
>> Is there a list for symbols that will translate properly in ODT export,
>> akin to the org-entities variable?  That variable knows about latex,
>> ascii, html, ... but not ODT!
>
> Not to worry, org-entities and ODT both speak utf-8.
>
> Yours,
> Christian

Excellent.  Thanks.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.117.ga7389)

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

end of thread, other threads:[~2012-01-12 22:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 15:30 how to get \circ symbol in odt export? Eric S Fraga
2012-01-12 15:40 ` Eric S Fraga
2012-01-12 16:09   ` Carson Chittom
2012-01-12 16:22     ` Eric S Fraga
2012-01-12 18:06       ` Christian Moe
2012-01-12 19:02         ` Carson Chittom
2012-01-12 19:49         ` Eric S Fraga
2012-01-12 20:39           ` Christian Moe
2012-01-12 22:55             ` Eric S Fraga

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