Without using full math-mode, does anyone know how to use the mhchem package with non-integer atomic subscripts.

Consider the following:



    %Doesn't Work.

The Second Formula I am seeking effectively:

  • 1
    \ce{Fe_{97.5}C_{2.5}} works
    – Leeser
    Commented Jun 13, 2013 at 7:56
  • @Leeser Sorry, I didn't see your comment while posting my answer. If you want to post it as an answer, I'll delete mine. Commented Jun 13, 2013 at 8:00
  • @karlkoeller Thanks for your generosity...I probably need the kudos more than you !!!! I will post as an answer
    – Leeser
    Commented Jun 13, 2013 at 8:42
  • @ Leeser, you've beaten me for a minute, so the answer is yours:-) Commented Jun 13, 2013 at 8:45

1 Answer 1


You can simply place the non-integer part inside curly brackets


As @karlkoeller mentioned in a similar answer (now deleted), the . is a special character inside \ce

  • Just to mention: the special character is there for specifying adducts in chemical formulae
    – cgnieder
    Commented Jun 13, 2013 at 11:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .