* times new roman, arial and courier fonts
@ 2010-01-23 14:46 Marius
2010-01-23 14:57 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Marius @ 2010-01-23 14:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 306 bytes --]
Hello all,
how to set times new roman as \rm, arial as \ss and courier as \tt?
\usetypescriptfile[type-win]
\usetypescript[times]
\usetypescript[arial]
\usetypescript[courier]
\setupbodyfont[times,10pt]
This code sets just \rm, but \ss and \tt are left as default latin modern
font.
Thank you,
Marius
[-- Attachment #1.2: Type: text/html, Size: 479 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: times new roman, arial and courier fonts
2010-01-23 14:46 times new roman, arial and courier fonts Marius
@ 2010-01-23 14:57 ` Wolfgang Schuster
2010-01-23 19:22 ` Marius
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2010-01-23 14:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 23.01.10 15:46, schrieb Marius:
> Hello all,
>
> how to set times new roman as \rm, arial as \ss and courier as \tt?
When you need only the Times/Arial/Courier look you can use:
\usetypescript[postscript]
\setupbodyfont[postscript]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: times new roman, arial and courier fonts
2010-01-23 14:57 ` Wolfgang Schuster
@ 2010-01-23 19:22 ` Marius
2010-01-24 9:59 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Marius @ 2010-01-23 19:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 781 bytes --]
On Sat, Jan 23, 2010 at 4:57 PM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:
> Am 23.01.10 15:46, schrieb Marius:
>
> Hello all,
>>
>> how to set times new roman as \rm, arial as \ss and courier as \tt?
>>
>
> When you need only the Times/Arial/Courier look you can use:
>
> \usetypescript[postscript]
> \setupbodyfont[postscript]
Thank you for the hint.
The solution to my question is:
\usetypescriptfile[type-win]
\starttypescript [winfonts]
\definetypeface [winfonts] [rm] [serif] [times] [default]
\definetypeface [winfonts] [ss] [sans] [arial] [default]
\definetypeface [winfonts] [tt] [mono] [courier] [default]
\definetypeface [winfonts] [mm] [math] [times] [default]
\stoptypescript
\usetypescript[winfonts]
\setupbodyfont[winfonts,10pt]
[-- Attachment #1.2: Type: text/html, Size: 1341 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: times new roman, arial and courier fonts
2010-01-23 19:22 ` Marius
@ 2010-01-24 9:59 ` Wolfgang Schuster
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2010-01-24 9:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 23.01.10 20:22, schrieb Marius:
> The solution to my question is:
>
> \usetypescriptfile[type-win]
> \starttypescript [winfonts]
> \definetypeface [winfonts] [rm] [serif] [times] [default]
> \definetypeface [winfonts] [ss] [sans] [arial] [default]
> \definetypeface [winfonts] [tt] [mono] [courier] [default]
> \definetypeface [winfonts] [mm] [math] [times] [default]
> \stoptypescript
> \usetypescript[winfonts]
> \setupbodyfont[winfonts,10pt]
There is another way to do this in MkIV.
\definetypeface[winfonts][rm][specserif][Times New Roman][default]
\definetypeface[winfonts][ss][specsans] [Arial] [default]
\definetypeface[winfonts][tt][specsmono][Courier] [default]
\definetypeface[winfonts][mm][math] [times] [default]
\setupbodyfont[winfonts]
The third argument is one of the three keywords specserif, specsans or
specmono and the fourth is the familyname of the font. You could use
spaces and uppercase letters in the familyname because ConTeXt takes
care of this and removes them itself in the definition, this system is
build on top of the new spec-Interface for fonts.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.0.1264330801.10026.ntg-context@ntg.nl>]
end of thread, other threads:[~2010-01-24 17:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-23 14:46 times new roman, arial and courier fonts Marius
2010-01-23 14:57 ` Wolfgang Schuster
2010-01-23 19:22 ` Marius
2010-01-24 9:59 ` Wolfgang Schuster
[not found] <mailman.0.1264330801.10026.ntg-context@ntg.nl>
2010-01-24 14:32 ` Vyatcheslav Yatskovsky
2010-01-24 17:06 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).