* Using comma character inside chemical
@ 2012-04-01 13:15 Jaroslav Hajtmar
2012-04-01 13:32 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Jaroslav Hajtmar @ 2012-04-01 13:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello all,
Is there a way to use comma character or semicolon character inside the
chemical formula?
Comma character is used as a delimiter of individual items in the formula.
When is there command for example \lettertilde, is there something like
"\lettercomma (\charcomma)", "\lettersemicolon (\charcomma)" and others
nonalphanumerics characters (which would be used inside chemical or
mathematical environment)?
Emergency, we can solve as follows:
\unexpanded\def\charcomma{,}
\chemical{0\charcomma5\cdot, etc.}
Is there is a more elegant solution?
Thanx
Jaroslav
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Using comma character inside chemical
2012-04-01 13:15 Using comma character inside chemical Jaroslav Hajtmar
@ 2012-04-01 13:32 ` Hans Hagen
2012-04-01 14:04 ` Jaroslav Hajtmar
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-04-01 13:32 UTC (permalink / raw)
To: hajtmar, mailing list for ConTeXt users
On 1-4-2012 15:15, Jaroslav Hajtmar wrote:
> Hello all,
>
> Is there a way to use comma character or semicolon character inside the
> chemical formula?
> Comma character is used as a delimiter of individual items in the formula.
>
> When is there command for example \lettertilde, is there something like
> "\lettercomma (\charcomma)", "\lettersemicolon (\charcomma)" and others
> nonalphanumerics characters (which would be used inside chemical or
> mathematical environment)?
>
> Emergency, we can solve as follows:
> \unexpanded\def\charcomma{,}
> \chemical{0\charcomma5\cdot, etc.}
>
> Is there is a more elegant solution?
normally
a,b,c,{,},d,e
works in comma separated lists
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Using comma character inside chemical
2012-04-01 13:32 ` Hans Hagen
@ 2012-04-01 14:04 ` Jaroslav Hajtmar
0 siblings, 0 replies; 3+ messages in thread
From: Jaroslav Hajtmar @ 2012-04-01 14:04 UTC (permalink / raw)
Cc: mailing list for ConTeXt users
Thanx Hans.
This is unexpectedly simple solution. :-)
I can not believe it not occurred to me!
Thanks so much.
Jaroslav Hajtmar
Dne 1.4.2012 15:32, Hans Hagen napsal(a):
> On 1-4-2012 15:15, Jaroslav Hajtmar wrote:
>> Hello all,
>>
>> Is there a way to use comma character or semicolon character inside the
>> chemical formula?
>> Comma character is used as a delimiter of individual items in the
>> formula.
>>
>> When is there command for example \lettertilde, is there something like
>> "\lettercomma (\charcomma)", "\lettersemicolon (\charcomma)" and others
>> nonalphanumerics characters (which would be used inside chemical or
>> mathematical environment)?
>>
>> Emergency, we can solve as follows:
>> \unexpanded\def\charcomma{,}
>> \chemical{0\charcomma5\cdot, etc.}
>>
>> Is there is a more elegant solution?
>
> normally
>
> a,b,c,{,},d,e
>
> works in comma separated lists
>
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
>
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2012-04-01 14:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-01 13:15 Using comma character inside chemical Jaroslav Hajtmar
2012-04-01 13:32 ` Hans Hagen
2012-04-01 14:04 ` Jaroslav Hajtmar
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).