New answers tagged superscripts
5
You can do better than six years ago.
I define a generic macro for lowering the subscript as if a superscript is present.
For g, one needs to make it math active and supply a definition for it, with the common \lowercase trick. In order to save the standard math g, we need to copy its math code.
\documentclass{article}
\usepackage{amsmath,xparse}
\...
5
You can force it in one of several ways. One way is to insert a strut of the right height in the subscript, to lower the rest. Another is to insert a phantom superscript.
\documentclass{article}
\usepackage{bm,mathtools}
\begin{document}
\begin{displaymath}
(\bm{^{E}_{I}q})
(\bm{^{E}q_{\rule{0pt}{6pt}I}})
(\bm{^{E}q_{I}^{\vphantom{E}}})
\end{displaymath}
...
answered Jan 11 at 20:03
Steven B. Segletes
195k1010 gold badges261261 silver badges506506 bronze badges
0
I have reduced your long code and I have done a MWE that works correctly to have the first picture.
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}
\usepackage{mathpazo}
\usepackage[all]{xy}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\C}{\mathbb{C}}
\begin{document}
\xymatrix{
(\Z/n\Z)^{\ast} \ar[dr]_{\mod f} \ar[rr]^{\chi} & & \...
0
Here is maybe an easier fix yet - just nest overset in underset, or the other way around, as in:
v_t(j)=\overset{N}{ \underset{i=1}{max}} \hspace{0.1cm} v_{t-1}(i)a_{ij}b_j(o_t)
Top 50 recent answers are included
Related Tags
superscripts × 523subscripts × 191
math-mode × 126
spacing × 34
macros × 30
fonts × 23
amsmath × 18
symbols × 17
footnotes × 17
xetex × 15
brackets × 15
citing × 14
positioning × 14
fontsize × 14
equations × 11
errors × 11
formatting × 11
vertical-alignment × 11
fractions × 11
tables × 10
biblatex × 10
natbib × 10
arrows × 10
math-operators × 10
typography × 9