# Scale only upright font in superscript math mode

Is there a way to scale only the upright font (used in operators like sin, log) in superscript math mode?

I'm using Baskerville MT Pro as text font, with XeTeX and mathspec, and MathTime Pro 2 as math font, but, in superscript math mode, Baskerville becomes too small, compared to MathTime Pro 2.

Note:

I do not want to scale Baskerville completely, i.e. not only the upright in math superscript, or scale MT Pro.

Image:

Thank you.

• Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Jun 17 '14 at 3:08
• My impression is that you want to scale the MathTime fonts down, rather than the converse. – egreg Jun 17 '14 at 10:40
• No, I do not. I think MT Pro superscript font size is ideal for reading, so I only want to scale Baskerville in superscript math mode (please note: only in superscript math mode). – user149844 Jun 17 '14 at 15:00

Redefine the math font size:

\documentclass[11pt]{article}
\usepackage{unicode-math}
\setmathfont{XITS Math}
\makeatletter
\DeclareMathSizes{\@xipt}{11}{9}{8}%% Definition for 11pt
%  display -- text -- script -- scriptscript
\makeatother
\begin{document}

$\int\frac{e^{\arcsin(\arccos x)}}{\sqrt{1-x^2}} \mathrm{d}x$