Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-5443 TMathText issues
  3. ROOT-5463

TMathText doesn't render \frac

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 5.34/00, 6.00.00
    • None
    • Graphics
    • None
    • Gentoo 2.2 ~x86

    Description

      Hi,

      TMathText doesn't seem to render fractions.

      This code

      TH1D h;
      h.SetXTitle("\\frac{a}{b}");
      h.Draw();

      produces an axis title ab instead of a fraction, see attached figure.

      I see this in both v5-34-00-patches (8a9712) and master (92f8f5).

      Attachments

        Activity

          People

            couet Olivier Couet
            621b61c5445afea7639b Benjamin Bannier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: