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}$
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityUsually \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.
\shortstack{?\\$\subset$}