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

Support for \bar in MathText

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • < v5-28-00
    • None
    • Graphics
    • None
    • GNU/Linux

    Description

      Hi,

      No idea whether that's a known limitation, but \bar doesn't work with mathtext:

      new TCanvas()
      l = new TLatex(0.4, 0.2, &amp;quot;#bar{p}&amp;quot;);
      l-&amp;gt;Draw();
      m = new TLatex(0.2, 0.2, &amp;quot;\\bar{p}&amp;quot;);
      m-&amp;gt;Draw();

      Could this get fixed, please?

      Cheers, Axel.

      Attachments

        Activity

          People

            couet Olivier Couet
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: