# Write above the symbol math “subset”

Like the symbols "bigcup or bigcap" in LateX, I'd like to write above the symbol subset.

I have try to use the displaystyle command, but it doesn't work !

Here is a snippet of my try :

$\boldsymbol{NP} \displaystyle\subset^{?} \boldsymbol{P}$

• You could also use \shortstack{?\\$\subset$} – Steven B. Segletes May 21 '13 at 13:29

Usually \overset is used for that purpose.

\documentclass{article}
\usepackage{amsmath}

\begin{document}
$A\overset{?}{\subset}B$

$A\subset B$
\end{document}


The second formula is just for showing that the spacing for a relation symbol is preserved.

• I use \stackrel for this. Is overset better? – Chris Chudzicki Sep 8 '13 at 1:39
• @ChrisChudzicki: Sorry for the necromancy, but see: tex.stackexchange.com/a/39230/40862 (so according to that answer yes, overset is better, because it takes care of spacing properly, without you having to figure out if something is a relation or a binary operator; if you do know that, the result will probably be the same). – tomasz Nov 6 '16 at 19:40