I am examining a way to adjust the size of nested delimiters automatically.
This gives 'double subscript':
\documentclass[a4paper, 12pt]{article}
\usepackage[english]{babel}
\usepackage{amsmath}
\title{Untitled}
\date{Typeset on \today}
\newcommand{\p}[1]{\mathopen{}\left({#1}_{{}_{}}\,\negthickspace\right)\mathclose{}}
\begin{document}
\maketitle
$$ D_{v_p} = \p{ {\widehat e}_i } $$
\end{document}
Without the _i
, the error vanishes.
How to understand that?