ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Degree sign
@ 2012-11-23 14:17 Marcin Borkowski
  2012-11-23 14:22 ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: Marcin Borkowski @ 2012-11-23 14:17 UTC (permalink / raw)
  To: ConTeXt mailing list

Hi all,

is there a "canonical" way to obtain a degree sign?  I'd best like it
to work in both text and math mode, and not use UTF-8 but some TeX-y
\command (like \degree or so).

Best

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Degree sign
  2012-11-23 14:17 Degree sign Marcin Borkowski
@ 2012-11-23 14:22 ` Mojca Miklavec
  2012-11-23 14:35   ` Marcin Borkowski
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2012-11-23 14:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Nov 23, 2012 at 3:17 PM, Marcin Borkowski wrote:
> Hi all,
>
> is there a "canonical" way to obtain a degree sign?  I'd best like it
> to work in both text and math mode, and not use UTF-8 but some TeX-y
> \command (like \degree or so).

\textdegree (see char-def.lua for example)

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Degree sign
  2012-11-23 14:22 ` Mojca Miklavec
@ 2012-11-23 14:35   ` Marcin Borkowski
  2012-11-23 14:43     ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: Marcin Borkowski @ 2012-11-23 14:35 UTC (permalink / raw)
  To: ntg-context

Dnia 2012-11-23, o godz. 15:22:14
Mojca Miklavec <mojca.miklavec.lists@gmail.com> napisał(a):

> On Fri, Nov 23, 2012 at 3:17 PM, Marcin Borkowski wrote:
> > Hi all,
> >
> > is there a "canonical" way to obtain a degree sign?  I'd best like
> > it to work in both text and math mode, and not use UTF-8 but some
> > TeX-y \command (like \degree or so).
> 
> \textdegree (see char-def.lua for example)

Thanks!

You might want to put this here:
http://tex.stackexchange.com/questions/22086/macro-for-degree-symbol to
keep up with Aditya's tradition of providing ConTeXt answers to LaTeX
questions;).

> Mojca

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Degree sign
  2012-11-23 14:35   ` Marcin Borkowski
@ 2012-11-23 14:43     ` Mojca Miklavec
  2012-11-23 14:51       ` Marcin Borkowski
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2012-11-23 14:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Nov 23, 2012 at 3:35 PM, Marcin Borkowski wrote:
> Dnia 2012-11-23, o godz. 15:22:14 Mojca Miklavec napisał(a):
>> On Fri, Nov 23, 2012 at 3:17 PM, Marcin Borkowski wrote:
>> > Hi all,
>> >
>> > is there a "canonical" way to obtain a degree sign?  I'd best like
>> > it to work in both text and math mode, and not use UTF-8 but some
>> > TeX-y \command (like \degree or so).
>>
>> \textdegree (see char-def.lua for example)
>
> Thanks!
>
> You might want to put this here:
> http://tex.stackexchange.com/questions/22086/macro-for-degree-symbol to
> keep up with Aditya's tradition of providing ConTeXt answers to LaTeX
> questions;).

With something like:
    "If you switch to ConTeXt, \textdegree will work in both text and
math mode."
? ;) ;) ;)

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Degree sign
  2012-11-23 14:43     ` Mojca Miklavec
@ 2012-11-23 14:51       ` Marcin Borkowski
  0 siblings, 0 replies; 5+ messages in thread
From: Marcin Borkowski @ 2012-11-23 14:51 UTC (permalink / raw)
  To: ntg-context

Dnia 2012-11-23, o godz. 15:43:56
Mojca Miklavec <mojca.miklavec.lists@gmail.com> napisał(a):

> On Fri, Nov 23, 2012 at 3:35 PM, Marcin Borkowski wrote:
> > Dnia 2012-11-23, o godz. 15:22:14 Mojca Miklavec napisał(a):
> >> On Fri, Nov 23, 2012 at 3:17 PM, Marcin Borkowski wrote:
> >> > Hi all,
> >> >
> >> > is there a "canonical" way to obtain a degree sign?  I'd best
> >> > like it to work in both text and math mode, and not use UTF-8
> >> > but some TeX-y \command (like \degree or so).
> >>
> >> \textdegree (see char-def.lua for example)
> >
> > Thanks!
> >
> > You might want to put this here:
> > http://tex.stackexchange.com/questions/22086/macro-for-degree-symbol
> > to keep up with Aditya's tradition of providing ConTeXt answers to
> > LaTeX questions;).
> 
> With something like:
>     "If you switch to ConTeXt, \textdegree will work in both text and
> math mode."
> ? ;) ;) ;)

Well... kinda... yes. ;P

You might want to look here for inspiration:

http://tex.stackexchange.com/users/323/aditya?tab=answers

(Clarification: joking aside, I guess that Aditya's habit of giving
ConTeXt answers to LaTeX questions on TeX.SE is really great, since
it allows to spread the word about ConTeXt, and also may help ConTeXt
users.)

> Mojca

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2012-11-23 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-23 14:17 Degree sign Marcin Borkowski
2012-11-23 14:22 ` Mojca Miklavec
2012-11-23 14:35   ` Marcin Borkowski
2012-11-23 14:43     ` Mojca Miklavec
2012-11-23 14:51       ` Marcin Borkowski

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 NNTP newsgroup(s).