0

I want to change the command \textsubscript to \tsub by writing the following line in the preamble:

\renewcommand{\textsubscript}{\tsub}

but, unfortunately, it doesn't work !

1 Answers1

2

Try the following instead of \renewcommand:

\let\tsub\textsubscript
MrD
  • 2,716
  • @ DL6ER ... It works ! , Thank you :) – Muhammad Apr 01 '13 at 14:26
  • But what is the problem with using '\renewcommand' – Muhammad Apr 01 '13 at 14:45
  • 2
    Typing: \renewcommand{\textsubscript}{\tsub} does the following: Take whatever \textsubscript does and throw it away. Let then \tsub be executed when \textsubscript is called. But \tsub might not be defined, so LaTeX don't know what to do and stop. – MrD Apr 01 '13 at 14:54
  • It's always good to know why something fails ;-) You might mark the answer as "accepted", so others will see, that this question is solved, when they have a similar problem and look for a solution. – MrD Apr 01 '13 at 16:39