ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \celsius and \inch
@ 2005-12-28 15:58 Peter Münster
  2005-12-28 17:00 ` Taco Hoekwater
  2005-12-28 17:35 ` Hans Hagen
  0 siblings, 2 replies; 9+ messages in thread
From: Peter Münster @ 2005-12-28 15:58 UTC (permalink / raw)


Hello,

a suggestion for \celsius in core-mis.tex:
\def\celsius#1{#1\,\mathematics{^\circ}\kern-0.1emC}

The symbol for \inch is strange: "}". What is \char125 supposed to be,
doesn't it depend on the font encoding?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

* Re: \celsius and \inch
  2005-12-28 15:58 \celsius and \inch Peter Münster
@ 2005-12-28 17:00 ` Taco Hoekwater
  2005-12-28 18:31   ` Hans Hagen
  2005-12-28 18:35   ` Hans Hagen
  2005-12-28 17:35 ` Hans Hagen
  1 sibling, 2 replies; 9+ messages in thread
From: Taco Hoekwater @ 2005-12-28 17:00 UTC (permalink / raw)




Peter Münster wrote:
> Hello,
> 
> a suggestion for \celsius in core-mis.tex:
> \def\celsius#1{#1\,\mathematics{^\circ}\kern-0.1emC}

As is (perhaps) normal for this kind of thing, the "\," depends
on your local typesetting tradition, and the "\kern-0.1em" depends
on the  used font family.

That is not to say yours isn't better then the current one :-)

> The symbol for \inch is strange: "}". What is \char125 supposed to be,
> doesn't it depend on the font encoding?

Yes, it does, so there should be a named character created for it.

IIRC, these symbols are in one of the unicode planes that are not
(completely) supported yet. It would make sense to do a whole
block (partial plane) at the same time then?

Cheers, Taco

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

* Re: \celsius and \inch
  2005-12-28 15:58 \celsius and \inch Peter Münster
  2005-12-28 17:00 ` Taco Hoekwater
@ 2005-12-28 17:35 ` Hans Hagen
  2005-12-28 20:47   ` Peter Münster
  2005-12-29  3:03   ` Mojca Miklavec
  1 sibling, 2 replies; 9+ messages in thread
From: Hans Hagen @ 2005-12-28 17:35 UTC (permalink / raw)


� wrote:

>Hello,
>
>a suggestion for \celsius in core-mis.tex:
>\def\celsius#1{#1\,\mathematics{^\circ}\kern-0.1emC}
>
>The symbol for \inch is strange: "}". What is \char125 supposed to be,
>doesn't it depend on the font encoding?
>
>  
>
indeed ... what \symbolicnameofquotes do you suggest? i never use inches -)

Hans

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

* Re: \celsius and \inch
  2005-12-28 17:00 ` Taco Hoekwater
@ 2005-12-28 18:31   ` Hans Hagen
  2005-12-28 18:35   ` Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2005-12-28 18:31 UTC (permalink / raw)


Taco Hoekwater wrote:

>
>
> Peter M�nster wrote:
>
>> Hello,
>>
>> a suggestion for \celsius in core-mis.tex:
>> \def\celsius#1{#1\,\mathematics{^\circ}\kern-0.1emC}
>
>
> As is (perhaps) normal for this kind of thing, the "\," depends
> on your local typesetting tradition, and the "\kern-0.1em" depends
> on the  used font family.
>
> That is not to say yours isn't better then the current one :-)
>
>> The symbol for \inch is strange: "}". What is \char125 supposed to be,
>> doesn't it depend on the font encoding?
>
>
> Yes, it does, so there should be a named character created for it.
>
> IIRC, these symbols are in one of the unicode planes that are not
> (completely) supported yet. It would make sense to do a whole
> block (partial plane) at the same time then?

indeed

Hans

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

* Re: \celsius and \inch
  2005-12-28 17:00 ` Taco Hoekwater
  2005-12-28 18:31   ` Hans Hagen
@ 2005-12-28 18:35   ` Hans Hagen
  2005-12-28 18:51     ` Taco Hoekwater
  1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2005-12-28 18:35 UTC (permalink / raw)


Taco Hoekwater wrote:

>
>
> Peter M�nster wrote:
>
>> Hello,
>>
>> a suggestion for \celsius in core-mis.tex:
>> \def\celsius#1{#1\,\mathematics{^\circ}\kern-0.1emC}
>
>
> As is (perhaps) normal for this kind of thing, the "\," depends
> on your local typesetting tradition, and the "\kern-0.1em" depends
> on the  used font family.
>
> That is not to say yours isn't better then the current one :-)
>
>> The symbol for \inch is strange: "}". What is \char125 supposed to be,
>> doesn't it depend on the font encoding?
>
>
> Yes, it does, so there should be a named character created for it.
>
> IIRC, these symbols are in one of the unicode planes that are not
> (completely) supported yet. It would make sense to do a whole
> block (partial plane) at the same time then?

i wonder what happens with the symbol when one uses it this way:

\usemodule[unit] 10 \Square \Inch

Hans

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

* Re: \celsius and \inch
  2005-12-28 18:35   ` Hans Hagen
@ 2005-12-28 18:51     ` Taco Hoekwater
  0 siblings, 0 replies; 9+ messages in thread
From: Taco Hoekwater @ 2005-12-28 18:51 UTC (permalink / raw)


Hans Hagen wrote:
> 
> 
> i wonder what happens with the symbol when one uses it this way:
> 
> \usemodule[unit] 10 \Square \Inch

I believe the shortcut forms are only ever used for distances,
never for areas. So a rectangle with sides 2" by 4" has 8in^2
surface area.

Taco

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

* Re: \celsius and \inch
  2005-12-28 17:35 ` Hans Hagen
@ 2005-12-28 20:47   ` Peter Münster
  2005-12-29  3:03   ` Mojca Miklavec
  1 sibling, 0 replies; 9+ messages in thread
From: Peter Münster @ 2005-12-28 20:47 UTC (permalink / raw)


On Wed, 28 Dec 2005, Hans Hagen wrote:

> indeed ... what \symbolicnameofquotes do you suggest? i never use inches -)

Me neither... ;)
Perhaps \doublequote ?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

* Re: \celsius and \inch
  2005-12-28 17:35 ` Hans Hagen
  2005-12-28 20:47   ` Peter Münster
@ 2005-12-29  3:03   ` Mojca Miklavec
  2006-01-04 17:05     ` Adam Lindsay
  1 sibling, 1 reply; 9+ messages in thread
From: Mojca Miklavec @ 2005-12-29  3:03 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 569 bytes --]

Hans Hagen wrote:
> Peter Münster wrote:
> >The symbol for \inch is strange: "}". What is \char125 supposed to be,
> >doesn't it depend on the font encoding?
> >
> indeed ... what \symbolicnameofquotes do you suggest? i never use inches -)

What about Ux2033, double prime? Or - in TeX dialect -
\mathematics{^{\prime\prime}} or simply \mathematics{''} (twice the
apostrophe) unless it already exists in the font under the name
"second" (according to the Adobe Glyph List).
In unicode reference Ux2033 is described as the character used for
inches and seconds.

Mojca

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: \celsius and \inch
  2005-12-29  3:03   ` Mojca Miklavec
@ 2006-01-04 17:05     ` Adam Lindsay
  0 siblings, 0 replies; 9+ messages in thread
From: Adam Lindsay @ 2006-01-04 17:05 UTC (permalink / raw)


Mojca Miklavec wrote:
> Hans Hagen wrote:
> 
>>Peter Münster wrote:
>>
>>>The symbol for \inch is strange: "}". What is \char125 supposed to be,
>>>doesn't it depend on the font encoding?
>>>
>>
>>indeed ... what \symbolicnameofquotes do you suggest? i never use inches -)
> 
> 
> What about Ux2033, double prime? Or - in TeX dialect -

Yes, it's double-prime, not double quotes of a certain direction.

Also, earlier in the thread:
>> \usemodule[unit] 10 \Square \Inch
> 
> 
> I believe the shortcut forms are only ever used for distances,
> never for areas. So a rectangle with sides 2" by 4" has 8in^2
> surface area.

in^2 is possible, but so is "sq. in."
Ick.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
  Lancaster University, InfoLab21        +44(0)1524/510.514
  Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2006-01-04 17:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-28 15:58 \celsius and \inch Peter Münster
2005-12-28 17:00 ` Taco Hoekwater
2005-12-28 18:31   ` Hans Hagen
2005-12-28 18:35   ` Hans Hagen
2005-12-28 18:51     ` Taco Hoekwater
2005-12-28 17:35 ` Hans Hagen
2005-12-28 20:47   ` Peter Münster
2005-12-29  3:03   ` Mojca Miklavec
2006-01-04 17:05     ` Adam Lindsay

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