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
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
how to lay the supscript exactly on the top of the symbol
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
Code: Select all
$\displaystyle\mathop{\times}_{1}^{N_1}\{0, 1\}$Code: Select all
\[
\mathop{\times}_{1}^{N_1}\{0, 1\}
\]