1

I am using mathspec, but the superscripts in math mode are a bit cramped. This is a well-known problem, so much so that the package defines a command to add space around characters (the double quote). However, it is labour-intensive and it breaks compatibility with Latex. The same goes for adding spaces manually (using, say, \,).

Is it possible to increase the space between characters and their superscripts automatically, by, say, redefining some parameter in the preamble?

Here's a MWE showing the problem and the two manual solutions:

\documentclass[12pt]{article}
\usepackage{mathspec}
\setmainfont                            {Arno Pro}
\setmathsfont   (Latin,Digits,Greek)    {Arno Pro}

\begin{document}

No space: $ V^1 $.

Double quote: $ {"V}^{"1} $.

Manual space: $ V^{\,1} $.

\end{document}

MWE

  • 1
    I'm afraid that, without a real math Arno font, this is the best one can do. – egreg Jan 27 '14 at 8:37
  • @egreg Frustrating! Thanks though. – Luca B. Feb 2 '14 at 0:41
1

I found a solution which seems to work:

\let\sp^
\catcode`\^=\active
\gdef^#1{\sp{\hspace{0.06em} #1}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.