Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1898644
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:47:28+00:00 2026-05-17T06:47:28+00:00

This is not quite a programming question, but it’s about a programming environment, so

  • 0

This is not quite a programming question, but it’s about a programming environment, so hopefully not too out of place. I need to be able to write chemical formulas in Mathematica text (this is specifically about text, not input/code). Something like: H3O+. But Mathematica can’t seem to do this. If you use the normal sub/superscript functions, or hit Cntl-_ or Cntl-6, it puts you in “math mode” even when you are in text, and so the letters become italic, and it puts a space between the 3 and the O. Like this: H3 O+. Ugly, especially with longer chemicals.

Other things in Mathematica work like normal word processors — you can style fonts as italic, bold, big, small, colored — but the subscript and superscript functions common in word processors seems to be missing.

Am I missing something? I hope so…

thanks,
Rob

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T06:47:29+00:00Added an answer on May 17, 2026 at 6:47 am

    You could use a trick similar to that used in LaTeX for printing subscripts on the left. That is place the subscript on an object with no width.

    To enter math mode type Cntl-( and to exit type Cntl-) .

    Attach the sub and superscripts to ⋮null⋮ or ⋮ ⋮ or ⋮- ⋮ (where ⋮ = escape)

    Here’s how it displays – compared to some expressions in mathmode:
    the chemical formula for hydronium is HSubscript[[Null], 3]O[Null]^+

    I’ve placed the Cell Expression in a gist for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I guess this is not quite a programming question, but it is bothering me
I have read this question but it's not quite what I was looking for.
I'm not asking about WHEN to link different programming langauges. This is quite a
This isnt quite a programming question, but for my CS class next semester, we're
Not quite sure how to word this question. I am wondering if there is
I'm not quite sure how to go about styling this particular bit of php:
Ok, I'm not quite sure how to go about this. Here's the scenario. 1)
A question about C++ programming. Can you do in C++ something like this: Lecture
Firstly, this is just an Object Oriented Programming question and does not apply to
I'm not quite understanding how this works. Passing parameters from my entity objects works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.