 |
|
List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] p-hat and x-bar
| [MUG] p-hat and x-bar |
|
Author: Sam Richardson
Posted: Thu, 09 May 2002 20:30:59 -0400
|
>> From: "Sam Richardson" "sam_richardson"
Am trying to write statistics materials and would like to be able to use
the characters p-hat and x-bar in both my text and my math statements.
Can anyone tell me how to create/import those symbols into Maple?
Thanks,
Sam Richardson
Mathematics Department
Northfiel Mount Hermon School
Northfield, MA 01360-1120
|
| [MUG] Re: p-hat and x-bar |
|
Author: Maple User Group
Posted: Wed, 15 May 2002 11:26:58 -0400
|
>> From: Maple User Group "maple_gr"
| >> From: "Sam Richardson" "sam_richardson"
|
| Am trying to write statistics materials and would like to be able to use
| the characters p-hat and x-bar in both my text and my math statements.
| Can anyone tell me how to create/import those symbols into Maple?
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Tue, 14 May 2002 11:10:31 +0200
From: Maerivoet Roland "roland.maerivoet"
To: "maple-list"
Subject: p-hat and x-bar
Hello,
x-bar can be constructed via conjugate(x); as to p-hat,
I' m curious myself...
--
Met vriendelijke groeten - Best Regards
Roland Maerivoet
Hogeschool Gent
Departement Bedrijfskunde Aalst
Keizersplein, 19
B9300 Aalst
Belgium
tel: +32053212321
fax: +32053710934
http://docent.hogent.be/~roma754
http://users.pandora.be/roland.maerivoet
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
From: Alec Mihailovs "amihailo"
To: "maple-list"
Subject: p-hat and x-bar
Date: Tue, 14 May 2002 23:52:09 -0400
Step by step instructions for Windows PC and for UNIX.
Step 1 (Only for Windows). Download and install cygwin from
http://cygwin.org .
Step 2. Download t1utils-1.26.tar.gz from CTAN; for instance, from
ftp://ftp.tex.ac.uk/tex-archive/fonts/utilities/t1utils/ ; unpack,
configure, make and install it in /usr/local (that means C:\cygwin\usr\local
on
Windows) or any other suitable place.
Step 3. Download mkt1font from CTAN; for instance, from
ftp://ftp.tex.ac.uk/tex-archive/fonts/utilities/accfonts/
and put it in /usr/local/bin in Windows, or other place on UNIX (chmod +x it
on UNIX).
Step 4. Put fonts that you want to change (adding p-hat and x-bar) in your
working directory (~, for instance) and add there the file defining your
changes.
For instance, file px.def containing 2 lines:
244 p circumflex
245 x macron
See more details in the Readme file of the mkt1font distribution. For
example,
one might want to change Times Roman and Courier fonts. In that case, using
URW distribution (from CTAN, for instance, or from many TeX distributions),
for
instance, the files might be utmb8a.afm, utmb8a.pfb, utmi8a.afm, utmi8a.pfb,
utmr8a.afm, utmr8a.pfb, utmr8a.afm, utmr8a.pfb for Times and ucrr8a.afm,
ucrr8a.pfb and others from texmf/fonts/afm/urw/courier and
texmf/fonts/type1/urw/courier for Courier.
Step 5. Run mkt1font on each of these fonts as follows (without typing $:-)
$ mkt1font -n Times_Phat_r -d px.def -a utmr8a.afm -f utmr8a.pfb
Times_Phat_r in this example is the name of the new font containing p-hat
instead of o-hat and x-bar instead of o-tilde. O-hat and o-tilde were
located
on places 244 and 245 in the original font.
That will produce files Times_Phat_r.afm and Times_Phat_r.pfb. Similarly for
other fonts.
Step 6 (Windows only). For Windows,
we need *.pfm (and, maybe, *.inf) files as well. To make them from *.pfb
files,
one can use a shareware converter CrossFont, available for downloading from
http://www.asy.com/sharecf.htm . Download it, install, start Crossfnt.exe,
set
field 'Convert from' to PC Type1 Printer Font, and check PC Printer Font
Metric
(PFM) and Font Information File (INF) below. Change Output folder at the
bottom
to the folder where the new fonts are located. Then go to File-Add Files,
add
the created pfb files, select one at a time for the unregistered version,
and push the button "Convert selected files". That will produce *.pfm and
*.inf
files.
Step 7 (Windows only). Install fonts using either Control Panel-Fonts, or
Adobe Type Manager.
Step 8 (Windows only). Change the keyboard to US-International (using dead
keys).
In more detail, go to Control Panel, Keyboard. Click on the Language tab.
Select
English (United States), click Properties and change the keyboard to the
United States (International).
Step 9. Start Maple, click Format-Styles. In the Styles window select
Normal.
Click Modify, then Font (at the bottom), and change it to Times_Phat, click
OK.
Similarly, select Maple Input, click Modify, then Font, and change it to
Courier_Phat
or whatever you named it. Similarly for 2D Math (Times_Phat) and other
fields.
Step 10. Test how it is working. Typing ^o in the Maple input must produce
p-hat.
Typing ~o must produce x-bar. Similarly in the text mode. Output also must
show
p-hat and x-bar.
Best wishes,
Alec Mihailovs
http://webpages.shepherd.edu/amihailo/
|
Previous by date: [MUG] Re: plot after assume, Maple User Group
Next by date: [MUG] Re: Reading the Date from a txt File, Maple User Group
Previous thread: [MUG] eigenvect for real nonsymmetric matrix,
Next thread: [MUG] Reading the Date from a txt File, Juan Navarro
|
|
|