perkee's blog

I heard you like science. tags
Mar 02
Permalink

Stuff that should have been in LaTeX vol. 1

Sometimes you want to do superscripts in the text environment, be it for exponents, ordinal numbers, or whatever. I like this command, because normal superscript spaces things out in a weird creepy way

\newcommand{\super}[1]
{
	\kern-.2em \textsuperscript{#1} \kern-.2em 
}

Comments (View)
blog comments powered by Disqus