How I do TYPE a superscript letter or number in Apple MAIL?

How I do TYPE a superscript letter or number in Apple MAIL? Restarting this question as it wasn't answered before... The question is NOT "how do I insert a symbol into Apple Mail?" or "how do I copy and paste a superscript from another application into Mail?" or "How do I write a superscript on a Mac?" The question, just to be clear, is "How I do TYPE a superscript letter or number in Apple MAIL?"


That means, for illustration, as I'm typing, "this is the 3rd time I'm asking this", I want to type the "rd" as a superscript as I'm typing in the body of the Apple Mail email - not copy and paste icons, not type in another application... how do I type a superscript in Apple Mail while I'm typing (even if I have to highlight and do something after typing.)


That's the question. Sorry for perhaps the "over-emphasis" on what the question is and isn't, but from previous replies when this same question was asked, the suggested "solutions" and answers were all about something else, not the question asked. Just wanted to avoid irrelevant answers by not being specific enough.


Thanks in advance.

Mac Studio, macOS 14.5

Posted on Jun 14, 2024 12:30 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 17, 2024 6:16 AM

Since Apple Mail does not natively support superscript and subscript, I decided to see if I could write an Apple Shortcut that would allow me to select the text for either treatment and apply either of the preceding baseline changes to it in Mail. Preferably retaining its font and color properties. And drive it from a list box offering one a choice of the baseline effect.


What I came up with has this workflow:

  • Copy the text to receive the baseline treatment to the clipboard
  • Press the keyboard shortcut (shift + cmd + B) to launch the Shortcut application
    • Select choice of superscript or subscript
  • Click back in the Mail compose window and paste from the clipboard.
  • The selected characters change their baseline retaining font characteristics.


You can click here to receive a prompt asking if you want to install the Apple Shortcut named Set Baseline Text. When you do, there will be no coding or other installation requirements, and the keyboard shortcut should be sufficient to run it. A dialog will appear if the Shortcut is run and there is nothing on the clipboard.


The Shortcut is written in AppleScript/Objective-C and is a port from earlier Shortcuts using Swift to do the same thing. Not everyone has Xcode or the command line tools installed which drove writing the current solution.


Tested: Apple Mail on Sonoma 14.5



15 replies
Question marked as Top-ranking reply

Jun 17, 2024 6:16 AM in response to GMak

Since Apple Mail does not natively support superscript and subscript, I decided to see if I could write an Apple Shortcut that would allow me to select the text for either treatment and apply either of the preceding baseline changes to it in Mail. Preferably retaining its font and color properties. And drive it from a list box offering one a choice of the baseline effect.


What I came up with has this workflow:

  • Copy the text to receive the baseline treatment to the clipboard
  • Press the keyboard shortcut (shift + cmd + B) to launch the Shortcut application
    • Select choice of superscript or subscript
  • Click back in the Mail compose window and paste from the clipboard.
  • The selected characters change their baseline retaining font characteristics.


You can click here to receive a prompt asking if you want to install the Apple Shortcut named Set Baseline Text. When you do, there will be no coding or other installation requirements, and the keyboard shortcut should be sufficient to run it. A dialog will appear if the Shortcut is run and there is nothing on the clipboard.


The Shortcut is written in AppleScript/Objective-C and is a port from earlier Shortcuts using Swift to do the same thing. Not everyone has Xcode or the command line tools installed which drove writing the current solution.


Tested: Apple Mail on Sonoma 14.5



Jun 14, 2024 2:13 PM in response to GMak

You set conditions that don't allow anyone to provide you with the correct answer.


Apple Mail is not a word processing application so it does not provide any built-in means, by its settings or otherwise, to provide Font > Baseline > superscript or subscript text promotions. In its Settings, even Pages will only optionally perform automatic superscript promotion of numeric suffixes, not text strings.

Jun 14, 2024 3:02 PM in response to GMak

GMak wrote:

How I do TYPE a superscript letter or number in Apple MAIL? Restarting this question as it wasn't answered before... The question is NOT "how do I insert a symbol into Apple Mail?" or "how do I copy and paste a superscript from another application into Mail?" or "How do I write a superscript on a Mac?" The question, just to be clear, is "How I do TYPE a superscript letter or number in Apple MAIL?"


You don’t. You do not and cannot get what you want here.


If you wish to alter the constraints, somebody can potentially provide alternatives or alternatives.


For instance, the following alternatives will violate your stated constraints. But they get you sub- and superscripts.


Entering HTML directly would allow access to <sup> and <sub>, and most tools thst can generate PDFs can do what you want in that format. Mail might indirectly accept HTML as message source, at least with some versions.


PDF attachments and Unicode input, as mentioned elsewhere.


The most direct: Thunderbird has subscript and superscript support.




Send your feedback to Apple, too: Product Feedback - Apple



Jun 14, 2024 4:11 PM in response to VikingOSX

My "conditions" are the specific question. The answer is either "You cannot do that in Mail" (which seems to be your answer if I read it correctly) or "Here's how you do it: (Hold this-or-that and hold that or-or-this while typing the letter and it will produce a superscript.")


Not to put too fine a point on it, but I'm not "setting conditions," I'm asking a simple question - "how do you do this" which I'd hoped to get an answer to and not "I thinks" or statements on how to do something else which is not answering my question.


Further, it isn't logical to automatically assume that Mail will do just some formatting of text - bold, underline, cross-out, italics - but not others.


So, I can surmise by your answer that, even though I can hit "CMD+i" and CMD+b" and "CMD+u" for italics, bold, underline, and grab the menu item for strike-through, it is not possible in Apple Mail to do the same for super- (or sub-) scripting. (Of course, I can obviously import any text or graphic or image or emoji or bitmoji or whatever and paste it.) That then is the answer to my question, and thank you for providing the definitive answer to it.

Jun 14, 2024 8:12 PM in response to GMak

I just opened Apple Mail on my computer. I entered m² and sent it to myself at a Gmail account. I received it with no problem. I made the ² using the Character Viewer in Mac OS which I then had copied and pasted to a Text Edit document where I store many characters I may use semi-frequently.

The ² isn't a superscript 2, it is a character in its own right just like an emoji.


½ ⅓ ⅔ ¼ ¾ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅐ ⅛ ⅜ ⅝ ⅞ ⅑ ⅒


μ ℃ ℉


For ° there is a keyboard 'shortcut'; option+shift+8.


I did all of those in TextEdit, but I see that Mail does indeed have in the Edit menu > Emoji&Symbols so if you didn't mind spending some time hunting you could get it from that menu too.


I didn't look for "rd" There's a couple of hundred characters in that menu item and I only look for the ones I needed and saved them.


As others have noted, Mail isn't a powerful word processor. If you need to do something like that then you are better off using software that does what you want and then saving it as a PDF or whatever.


If you want to type it in Mail then unless it is in something the keyboard can do with modifier Keys (look unders Keyboard Viewer) then your answer is "No, you can't do that in Mail."

Jun 15, 2024 12:49 PM in response to VikingOSX

Thanks for that explanation. It is the absolute requirement of any valid question, however, that it be phrased so as to allow a correct and appropriate answer, so that the responder trying to answer the question understands what is being asked and how to answer it - and how not to answer it. If a question is phrased such as to invite a response of speculation, suggestion, opinion, digression or conjecture, then speculation, suggestion, opinion, digression or conjecture is an appropriate response. However, if a question requires specificity, then speculation, suggestion, opinion, digression or conjecture is not a correct response and a waste of time and effort. The mantra we all were told by every teacher (and from the official advice of the College Board), both in my day and my kids' day and still today, is that the key to answering questions correctly is to "Read the question fully and answer only the question that was asked." (It not only gives you points for the right answer, but also avoids wasting a lot of time and effort.) That's not just advice for 11th graders taking the SAT...


Thanks again for your response. I can now stop wasting my time trying to figure out how to do something in Mail that can't be done. Appreciate it.

Jun 14, 2024 1:09 PM in response to GMak

You probably have to go to the edit menu item and find one in Emoji & Symbols.


I keep a TextEdit file of my most frequently used ones and copy and paste from there unless you can find a keyboard combination for what you want.


How to use emoji, accents, and symbols on your Mac - "Press Control–Command–Space bar. The Character Viewer pop-up window appears"

Use emoji and symbols on Mac - Apple Support



Jun 15, 2024 1:45 PM in response to GMak

Unicode characters --> ʳᵈ

Again, a copy and paste solution. I guess it depends upon how desperate you are. I don't know if you could set it up as a keyboard shortcut, of maybe find some third party utility that would let you do that. You don't provide any context in which you are trying to do this. There's times when I write a whole document that needs special characters. What I do is set up a unique string such as zzz for where I want the character, then later do a global search and replace with teh actual desired string.


Jun 15, 2024 2:10 PM in response to Limnos

Actually it looks like you can "type" in the characters, but it is not easy. I spent 15 minutes researching this and the solution appears to be very complicated, but would meet your strict criteria. It depends upon how much work you wish to do. You basically end up adding a unicode keyboard to your keyboard's mapping and then change mappings when you need to enter unicode. Yeah, cumbersome, but you insisted you only wanted to type. Some people remap some other key combination to do the keyboard layout swapping. Another person has the whole thing as an Automator workflow. The stumbling point is the hex code for the letters you want are 5 and 6 characters long, so the standard unicode apparently won't accept that (limit 4). I stopped researching at that point. You can probably find some way to do it. Me, I'd just do my global search and replace trick.

Jun 15, 2024 2:53 PM in response to Limnos

Thanks for the ol' college try. It looks like it's "possible but not practical." So, the number of times I'd need to do it, it's not worth it. As I said previously, if there was simply a way of some combination of keys CMD+SHFT+??+Letter or something, that would be great. Apparently then there isn't, and that definitive answer is what I was looking for - not necessarily hoping for but what I was looking for: a definitive answer.


Thank you - and thank you all for your time and answers! Much obliged.

Jun 15, 2024 5:57 PM in response to Limnos

Limnos wrote:

The stumbling point is the hex code for the letters you want are 5 and 6 characters long, so the standard unicode apparently won't accept that (limit 4). .

Those characters with longer hex codes can be input by typing two 4 (utf 16) digit codes in a row. For example, U+1f600 is typed with the Unicode Hex layout by holding down Option and typing D83DDE00.


But unicode superscript letters are often unsuitable for use in text in any case because of poor font support.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How I do TYPE a superscript letter or number in Apple MAIL?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.