Hello,

As you all know text supercripts in LyX are done with a hack by creating a 
mathematical inset and the resulting LateX code is typographically wrong (the 
font is too big and the superscript is too high) as you can see by running 
this snippet of code :

\begin{tabular}{|l|l|}
LyX way  & the 24$^\textrm{th}$ of January \\ 
\LaTeX way & the 24\textsuperscript{th} of January \\ 
LyX way & \textsc{xii}$^\textrm{e}$ siècle \\
\LaTeX way & \textsc{xii}\textsuperscript{e} siècle \\
\end{tabular}


Feeding a LateX file generated by LyX through the oolatex macro of the tex4ht  
package (a promising LateX --> OpenOffice converter) makes the converter go 
berserk at each superscript when it creates a MathML inset in the OpenOffice 
file. 

Could it be possible to get LyX export \textsuperscript{foo} and not $^
\textrm{foo}$ ? 

A bigger wish would be to get a mode for subscript and superscript like in a 
classical wordprocessor and kill the error-prone mathematical inset hack.

Cheers and thanks for LyX who is slowly becoming my main wordprocessor,
Charles de Miramon

Reply via email to