0

I want to align super and subscript in the display and inline equations

It should be:

enter image description here

Now:

enter image description here

There are n-number of occurrences in my manuscript, is there any possibility to achieve by a single move.

MWE:

\documentclass{article}


\begin{document}


$${_{gij}^{bj}\textbf{\textit{R}}}$$

\end{document}
  • 3
    Unrelated: Why is \[...\] preferable to $$...$$? – campa Jan 22 at 8:43
  • 3
    Unrelated 2: why are you using a bold italic R in the text font, not the math font? Probably easier to use the bm package and is \bm{R} command => bold italic math. – daleif Jan 22 at 9:47
4

The \prescript command, from mathtools, has this alignment:

\documentclass{article}
\usepackage{mathtools, bm}

\begin{document}
\[
\prescript{bj}{gij}{\bm{R}}
\]
\end{document} 

enter image description here

| improve this answer | |
  • 1
    I've updated. Thank you for reminding me! – Bernard Jan 22 at 9:57