ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Using comma character inside chemical
Date: Sun, 01 Apr 2012 16:04:59 +0200	[thread overview]
Message-ID: <4F78608B.7030506@gyza.cz> (raw)
In-Reply-To: <4F7858F4.1040008@wxs.nl>

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
___________________________________________________________________________________


      reply	other threads:[~2012-04-01 14:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-01 13:15 Jaroslav Hajtmar
2012-04-01 13:32 ` Hans Hagen
2012-04-01 14:04   ` Jaroslav Hajtmar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F78608B.7030506@gyza.cz \
    --to=hajtmar@gyza.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).