TeX Live comes with a helpful fragment package, subscript, the copyright notice of which runs as follows:
% Copyright 1999 Robin Fairbairns
%
% this fragment is distributed under the conditions of the LaTeX
% Project Public Licence -- see lppl.txt in the LaTeX distribution
%
% this fragment provides a command \textsubscript, which is
% shamelessly copied from the command \textsuperscript that's part of
% LaTeX
%
% the fragment may be used as a package in its own right, if so
% needed.
I may be wrong but LaTeX used not to have a \textsubscript analogous to standard \textsuperscript. But now the following document compiles under pdftex from TeX Live 2016:
\documentclass{article}
\begin{document}
x\textsubscript{1}
\end{document}
However, upon compilation, the log file doesn't mention the subscript package. Nor does pdftex complain if \usepackage{subscript}, but, strangely enough, it does complain if \newcommand\textsubscript[1]{}. What is going on here? Has \textsubscript become a standard LaTeX command? Can I just stop requesting subscript from now on?
\textsubscripthas been added (along with other stuff previously covered by thefixltx2epackage) to the kernel in the 2015/01/01 release. – cgnieder Dec 18 '16 at 12:53\textsubscriptcommand had been added tofixltx2ein 2005. – egreg Dec 18 '16 at 13:29