Skip to content

Underscores in hypothesis mess up rendering #2

@ldct

Description

@ldct
import LeanTeXMathlib

example
  (a b c : ℝ)
  (h_a_is_less_than_b : a < b)
  (h_b_is_less_than_c : b < c)
  : a < c := by
  texify
  apply lt_trans h_a_is_less_than_b h_b_is_less_than_c

Renders as:

Image

(I'm not sure if the name h_a_is_less_than_b violates some naming convention, though)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions