Thanks Christopher, i have tried what you asked me but this didn't solve the
problem. To me it was the right thing to do, but it looks like it is because
my font is defined as a typeface collection that it does not work.
I have tried \switchtotypeface instead as Willie said and this works fine.
Dirar BOUGATEF wrote:
\definebodyfont[MyFont][karat]
\starttext
\switchtobodyfont[MyFont]
\stoptext
I believe \definebodyfont[MyFont][karat] should be
\definefontsynonym[MyFont][karat], which should allow
\switchtobodyfont[MyFont], but you may also be looking for
\definefont[MyFont][karat], whi
Hi Dirar,
What you have is apparently different already defined typefaces.
So use switchtoypeface to change from karat to opulent.
Then switchtobodyfont[karat,12pt] or whatever.
You can not use the command definebodyfont in the way you do. For
details for this command please refer to the manual mf
Hi Willy,
What i need is to have a synonym for the font Dirar you defined, how do i
have to proceed? I have tried the following: (Am gonna use my fonts names as
i started the subject with)
\starttypescript [karat]
\definetypeface [karat] [ss] [sans] [karat] [default] [encoding=texnansi]
\stopty
Hi Dirar,
I is not enough to give the commands which typescripts/files to use, you
must setup first a bodyfont and then switch to other fonts
Dirar BOUGATEF wrote:
i have tried this, and leads to:
bodyfont : unknown variant MyFont
\usetypescriptfile[karat-type]
\usetypescript[karat]
\usetyp
i have tried this, and leads to:
bodyfont : unknown variant MyFont
\usetypescriptfile[karat-type]
\usetypescript[karat]
\usetypescriptfile[opulent-type]
\usetypescript[opulent]
\usetypescript [sans][karat][map,name]
\definefont[MyFont][karat]
\starttext
\switchtobodyfont[karat]
Madame, Monsie
Dirar BOUGATEF wrote:
I have tried style={\switchtobodyfont[karat]} and it works. Now how to
switch to a different size without going through:
you can do things like:
\usetypescript [sans][karat][map,name]
to load the appropriate defs
\definefont[MyPartFont][SansBold at 24pt]
\setuphead[part][styl
I have tried style={\switchtobodyfont[karat]} and it works. Now how to
switch to a different size without going through:
\setupbodyfont[karat]
\definefont[MyPartFont][SansBold at 24pt]
\setuphead[part][style=\MyPartFont]
The problem i see here is that i have to go through \setupbodyfont[karat]
a
Dirar BOUGATEF wrote:
Hi all,
I am working to setup styles in heads with the typeface karat, that i
define as follows:
\starttypescript [karat]
\definetypeface [karat] [ss] [sans] [karat] [default] [encoding=texnansi]
\stoptypescript
Here is my head definition:
\setuphead[part]
[align=
Hi all,
I am working to setup styles in heads with the typeface karat, that i define
as follows:
\starttypescript [karat]
\definetypeface [karat] [ss] [sans] [karat] [default] [encoding=texnansi]
\stoptypescript
Here is my head definition:
\setuphead[part]
[align=left,
10 matches
Mail list logo