RE: [ROOT] Problem with #int & #sum in Latex

From: Michael Groys (mihael@lep1.tau.ac.il)
Date: Tue Mar 04 2003 - 14:55:54 MET


I don't understand how the generated postscript file
can be different in Linux & Windows.
	Michael

-----Original Message-----
From: Olivier Couet [mailto:Olivier.Couet@cern.ch] 
Sent: 04 March 2003 14:56
To: Michael Groys
Cc: roottalk@pcroot.cern.ch
Subject: RE: [ROOT] Problem with #int & #sum in Latex



 That seems to be an old problem on windows. I see it even with the 
latest version of root using the new TTF facility. I use this macro:

{
   gROOT->Reset();
   TCanvas *c1 = new TCanvas("c1","test",600,700);
   TLatex l;
   l.SetTextAlign(12);
   l.SetTextSize(0.1);
   l.DrawLatex(0.1,0.7,"#int^{x}_{0}");
}

 I do not know yet what is wrong. If you try to move the text you can
see 
that the bounding box (now drawn with the latest version) is around 0
and 
X only whereas on Linux it is around the whole text. So something is
wrong 
with the Latex Text Extend computation on Windows. 

 Olivier


On Tue, 4 Mar 2003, Michael Groys wrote:

> Yes,
> I also see the same results on screen.
> The case of WYSIWYG, but you don't like it.
> And you are right on Linux machine I get right results
> but not on Windows.
> 	Michael
> 
> -----Original Message-----
> From: Olivier Couet [mailto:Olivier.Couet@cern.ch] 
> Sent: 04 March 2003 13:22
> To: Michael Groys
> Cc: roottalk@pcroot.cern.ch
> Subject: Re: [ROOT] Problem with #int & #sum in Latex
> 
> 
> Hi,
> 
> I am using ROOT 3.05/02 on a Linux RH machine and latex.C gives me the

> right result (see attachement). Do you see the problem on the screen
too
> ?
> 
>  Cheers,       Olivier
> 
> 
> On Tue, 4 Mar 2003, Michael Groys wrote:
> 
> > Dear All
> > I'm using VC6.0 binaries of root 3.03
> > and I get badly placed boundaries
> > for integrals (#int) or sums (#sum) in latex expressions.
> > For example - I attached the output of "latex.C"
> > script from tutorials.
> > Thanks in advance,
> > 	Michael.
> > 
> > 
> 
> 

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                                    
E-Mail: Olivier.Couet@cern.ch                      Phone: +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/              Fax:   +41 22 7677155



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET