Hello,
hope I can say this questin clearly. Thank you in advance!
I want to type 'N' exactly above the 'x' sign, and '1' exactly below the 'x' sign.
I tried the following code, the problem is that 'N' is towards the upper right corner of 'x' and '1' is towards the lower right corner of 'x'.
$\times_{1}^{N_1}\{0, 1\}$
I know I can use \limits if I want to sub- or super- script exactly below or above the sum sign, but it is in trouble for just a \times sign.
Tanks
Math & Science ⇒ how to lay the supscript exactly on the top of the symbol
how to lay the supscript exactly on the top of the symbol
Last edited by gcheer3 on Tue Nov 30, 2010 3:22 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
how to lay the supscript exactly on the top of the symbol
Use a combination of \overset and \underset which are provided by amsmath
Code: Select all
\documentclass[a4paper,11pt]{article}
\usepackage{amsmath}
\begin{document}
\[
\overset{N}{\underset{1}{\times}} \{0,1\}
\]
\end{document}
how to lay the supscript exactly on the top of the symbol
With amsmath you could also use:
The "\displaystyle" part would not be necessary in displayed math:
Code: Select all
$\displaystyle\mathop{\times}_{1}^{N_1}\{0, 1\}$
Code: Select all
\[
\mathop{\times}_{1}^{N_1}\{0, 1\}
\]