Escaping underscores can't be turned off

Author: siphosenkosindhlovuCreated Oct 13, 2025Updated Oct 13, 2025
Labelstriage

Environment

If you used latexify in your own environment, fill at least the following items. Feel free to add other items if you think they are useful.

  • OS: Windows 11
  • Python: 3.13
  • Package manager: uv 0.7.13
  • Latexify version: 0.4.4

Description

Identifiers with subscripts will escape the underscore instead of displaying the subscript

Reproduction

Use any identifier with a subscript such p_y etc.

Expected behavior

It should render p_y instead of p_y