The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Using Superscripts in Publishing
Replies: 1   Last Post: Nov 20, 2012 2:01 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Loren Shure

Posts: 1,067
Registered: 12/7/04
Re: Using Superscripts in Publishing
Posted: Nov 20, 2012 2:01 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Robert McCarrick" <> wrote in message
> I recently attended a Matlab workshop where the speaker introduced us to
> the publishing capabilities of which I was previously unaware. It's
> really a great feature, but I have one question. Is it possible to use
> superscripts and subscripts in the section titles? I'm a chemist and as
> such would like to put supersripts and subscripts in the documentation for
> the creation of a PDF document.
> Thanks in advance for any help.
> Rob

Hi Rob,

To quote a colleague:

I just tried publishing this:

%% Title $x$
%% Section $x$

It "worked" but the results were pretty unsatisfying. It was OK for PDF, but
pretty bad for HTML.

I tried using the superscript character, like so:

%% Title x²
%% Section x²

This came out great. This won't work for all superscripts, but will for the
most common ones:


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.