[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Superscript and subscript in HTML?

From: Rick Frankel
Subject: Re: [O] Superscript and subscript in HTML?
Date: Wed, 28 May 2014 08:50:20 -0400
User-agent: Roundcube Webmail/0.9.0

On 2014-05-28 07:47, Peter Davis wrote:
Is there any markup which will let me get superscripts and subscripts
in HTML export?

It would be great if the HTML exporter recognized ^{...} and _{...} so
the same markup would work for both LaTeX/PDF and for HTML.

It does for me. I believe it always has. Are you sure your options are
set correctly? Also, are you sure that the html source doesn't contain
<sup/> and <sub/> tags that aren't being styled?

Here's a example and the output

,#+OPTIONS: toc:nil
,* Super and subscript
this is a super^{1} script. and a sub_{2} script.

another super^3 and another sub_4

and the results (C-c C-e C-b h H)

<div id="outline-container-sec-1" class="outline-2">
<h2 id="sec-1">Super and subscript</h2>
<div class="outline-text-2" id="text-1">
this is a super<sup>1</sup> script. and a sub<sub>2</sub> script.

another super<sup>3</sup> and another sub<sub>4</sub></p>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]