# How to type arrows for restriction and induction of representation?

I'm writing an article for representation theory and I want to type downward arrow for restriction and upward arrow for induction. The $\downarrow$ and $\uparrow$ give arrows that aren't right next to the letters. E.g.

I want the arrows to be right next to the letters, for example

Does anyone know which command I should use? Thanks!

• You can always reduce the space: \!, etc.
– user156344
Apr 13 '19 at 17:21
• welcome to tex.se! show us, how you obtain the first image of math expression in your question. Apr 13 '19 at 17:23

Surround \downarrow by {...}.

\documentclass{article}
\usepackage{amsmath,amssymb}

\begin{document}
$X{\downarrow}^G_H(h)=X(h)$
\end{document}


\downarrow is a relation symbol, putting it within {...} make it be treated as it belongs to the "ordinary" class.

As suggested by egreg, the same result can be achieved more elegantly using \mathord:

\documentclass{article}
\usepackage{amsmath,amssymb}
\newcommand{\restr}{\mathord\downarrow}
\newcommand{\ind}{\mathord\uparrow}

\begin{document}
$X\restr^G_H(h)=X(h)$

and

$X\ind^G_H(h)=X(h)$
\end{document}
