Hi John,

Thanks a lot for your answer.

John Kitchin <[email protected]> writes:
> I suppose $^{foo}$ will do what you want. you may need some additional
> \mathrm command if you do not want math fonts.
>
> or maybe try \textsuperscript{foo}
>
> (untested)
>

These both work (you are right about the math font).  But obviously only
in LaTeX.

I did not say explicitly but I'd prefer a
more backend-agnostic solution.

Best,
Andreas


>
> Andreas Leha writes:
>
>> Hi all,
>>
>> quick question: What is the syntax of superscripts without a 'base
>> character'?
>>
>> I tried to use ^{foo} and {}^{foo} which both do not produce what I
>> expect in the latex export.
>>
>> \nbsp^{foo} comes close.
>>
>> Best,
>> Andreas
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu


Reply via email to