Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: Using Superscripts in Publishing
Posted:
Nov 20, 2012 2:01 PM
|
|
"Robert McCarrick" <rob.mccarrick@muohio.edu> wrote in message news:k85mp7$kbc$1@newscl01ah.mathworks.com... > 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:
http://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts#Superscripts_and_subscripts_block
-- Loren http://blogs.mathworks.com/loren/ http://www.mathworks.com/matlabcentral/
|
|
|
|