Dear LyXians,

Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help.

I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading.

Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font).

I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module.

I know that documentation for this is coming soon but I'd like to learn as soon as possible.

Many thanks

~Nick

Reply via email to