Discrete.get_tex_names#

Discrete.get_tex_names()[source]#

Return tex_names of exported flags.

TODO: Fix the bug described in the warning below.

Returns:
list

A list of tex_names for all exported flags.

Warning

If underscore _ appears in both flag tex_name and self.tex_name (for example, when this discrete is within a block), the exported tex_name will become invalid for SymPy. Variable name substitution will fail.