The uprightsubs package Upright descriptive subscripts File: README Author: Moritz R. Schäfer DESCRIPTION =========== This package simplifies upright descriptive subscripts in mathematics: E_{!kin} selects \mathrm, while E_{!!cinétique} selects \textnormal for text containing accented letters. Ordinary subscripts retain their usual formatting. Load the package with \usepackage{uprightsubs}. The shorthand becomes active at the start of the document. Subscripts already tokenized in the preamble retain their original meaning. The implementation is based on Enrico Gregorio's (egreg's) answer on TeX Stack Exchange: https://tex.stackexchange.com/a/742891 Thanks to Enrico Gregorio for the original implementation and for his permission to distribute the adapted code under the LaTeX Project Public License (LPPL). Copyright: (C) 2026 Moritz R. Schäfer Licence: LPPL 1.3c or later FILES IN DISTRIBUTION ===================== BASE DISTRIBUTION: README This file. uprightsubs.ins Package installation file. uprightsubs.dtx Package source file. uprightsubs.sty Package style file. It was produced by executing "latex uprightsubs.ins". DOCUMENTATION: uprightsubs.pdf User manual for the uprightsubs package. It was produced by executing: latexmk -lualatex uprightsubs.dtx BASIC INSTALLATION ==================== The minimum requirement to use the package is to have uprightsubs.sty in a directory where TeX can find it. For a basic installation on a TDS-compliant system, move the following files to the following directories: /tex/latex/uprightsubs/ uprightsubs.sty /source/latex/uprightsubs/ uprightsubs.ins uprightsubs.dtx /doc/latex/uprightsubs/ README uprightsubs.pdf