ROOT
Version master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
▼
graf2d
►
asimage
►
cocoa
►
fitsio
►
gpad
►
gpadv7
▼
graf
▼
doc
▼
macros
►
accents.C
►
alignment.C
►
bars.C
►
fractions.C
►
greekletters.C
►
itbold.C
►
kerning.C
►
legend1.C
►
legend2.C
►
legend3.C
►
mathsymbols.C
►
polyline.C
►
roots.C
►
slash.C
►
splitline.C
►
style.C
►
subsupscript.C
►
subsupscript2.C
►
inc
►
src
►
gviz
►
postscript
►
quartz
►
win32gdk
►
x11
►
x11ttf
►
graf3d
►
gui
►
hist
►
io
►
main
►
master
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
accents.C
Go to the documentation of this file.
1
TCanvas
*
accents
()
2
{
3
TCanvas
*S =
new
TCanvas
(
"script"
,
"accents"
,400,250);
4
5
TLatex
Tl
;
6
Tl
.SetTextSize(0.09);
7
Tl
.SetTextAlign(12);
8
TLatex
Tt
;
9
Tt
.SetTextSize(0.09);
10
Tt
.SetTextFont(82);
11
Tt
.SetTextAlign(12);
12
13
// Draw First Column
14
float
y
,
x1
,
x2
;
15
float
step = 0.25;
16
y
= 0.85;
x1
= 0.02;
x2
=
x1
+0.3;
17
18
Tt
.DrawText(
x1
,
y
,
"#hat"
) ;
Tl
.DrawLatex(
x2
,
y
,
"#hat{a}"
);
19
y
-= step ;
Tt
.DrawText(
x1
,
y
,
"#check"
) ;
Tl
.DrawLatex(
x2
,
y
,
"#check{a}"
);
20
y
-= step ;
Tt
.DrawText(
x1
,
y
,
"#acute"
) ;
Tl
.DrawLatex(
x2
,
y
,
"#acute{a}"
);
21
y
-= step ;
Tt
.DrawText(
x1
,
y
,
"#grave"
) ;
Tl
.DrawLatex(
x2
,
y
,
"#grave{a}"
);
22
23
24
// Draw Second Column
25
y
= 0.85;
x1
= 0.52;
x2
=
x1
+0.3;
26
Tt
.DrawText(
x1
,
y
,
"#dot"
) ;
Tl
.DrawLatex(
x2
,
y
,
"#dot{a}"
);
27
y
-= step ;
Tt
.DrawText(
x1
,
y
,
"#ddot"
) ;
Tl
.DrawLatex(
x2
,
y
,
"#ddot{a}"
);
28
y
-= step ;
Tt
.DrawText(
x1
,
y
,
"#tilde"
) ;
Tl
.DrawLatex(
x2
,
y
,
"#tilde{a} "
);
29
30
return
S;
31
}
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
x2
Option_t Option_t TPoint TPoint const char x2
Definition
TGWin32VirtualXProxy.cxx:70
x1
Option_t Option_t TPoint TPoint const char x1
Definition
TGWin32VirtualXProxy.cxx:70
accents
TCanvas * accents()
Definition
accents.C:1
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TCanvas
The Canvas class.
Definition
TCanvas.h:23
TLatex
To draw Mathematical Formula.
Definition
TLatex.h:18
y
Double_t y[n]
Definition
legend1.C:17
graf2d
graf
doc
macros
accents.C
ROOT master - Reference Guide Generated on Sun Mar 30 2025 15:55:28 (GVA Time) using Doxygen 1.10.0