更优雅的下标

更优雅的下标

我需要一个建议来为上标和下标编写一个新命令。问题首先出现在双棋子或括号外的爪子上

这样写确实很难看:

\documentclass{article}
\usepackage{amsmath}
\usepackage{scalerel}
\begin{document}

\begin{itemize}         
       \item  $\bar{\epsilon}_{_{,t}}$

       \item $\rho_{_{0}}$ 

        \item $+2\nu(\overline{e'_{ij}u'_{i}})_{,j}$
 I would need a solution similar to this, I made several attempts but without success:
         \item $\bar{\epsilon}_{\scalebox{.9}{$\scriptscriptstyle ,t$}}$


    \end{document}

谢谢

在此处输入图片描述

答案1

您可能只想提供一个空的上标。

\documentclass{article}
\usepackage{amsmath}

\newcommand{\ds}[1]{_{_{#1}}}

\begin{document}

\begin{itemize}

\item Smaller subscripts

$\bar{\epsilon}\ds{,t}$

$\rho\ds{0}$

$+2\nu(\overline{e'_{ij}u'_{i}})\ds{,j}$

\item Normal subscripts

$\bar{\epsilon}_{,t}$

$\rho_{0}$

$+2\nu(\overline{e'_{ij}u'_{i}})_{,j}$

\item Lowered subscripts

$\bar{\epsilon}^{}_{,t}$

$\rho^{}_{0}$

$+2\nu(\overline{e'_{ij}u'_{i}})^{}_{,j}$

\end{itemize}

\end{document}

在此处输入图片描述

相关内容