How can I use shorter minus signs in math subscripts?

by danijar   Last Updated October 19, 2019 23:23 PM - source

How can I automatically replace minus signs in subscripts $x_{y-z}$ with text mode minus signs $x_{y\text{-}z}$ without having to type the longer form every time?

Related Questions

Equal positioning of subscripts in Luatex

Updated September 06, 2017 19:23 PM

Putting a subscript beside \det

Updated March 04, 2016 04:10 AM

Double subscript

Updated April 03, 2017 19:23 PM

Visually Better Mathematic Subscripts

Updated April 18, 2017 23:23 PM