[sans] [AlegreyaMedium]
and then use
\switchtobodyfont[AlegreyaMedium]\sl
or
\AlegreyaMedium\sl
which is also more efficient than adding more variants
Hans
% adapted from font-pre.mkxl
\definefontalternative[md]
\definefontalternative[mi]
\definefontalternative[ms]
\definealternativestyle [m
Hi, if I need an additional pair of upright and italic font faces, e.g.
a Medium or Light version, would it make sense to define them like this:
% adapted from font-pre.mkxl
\definefontalternative[md]
\definefontalternative[mi]
\definefontalternative[ms]
\definealternativestyle [medium
t I'm making I would prefer to be able to treat the font
weights as alternatives rather than separate families since I will be switching
often.
One can download the exact set of fonts I am using from
https://fonts.google.com/specimen/Roboto
Here is my code:
\definefontalternative[lf] % lig
Congrats!
While I don’t know what \mi is, it’s apparently protected. Maybe there’s
a hint in the log.
Am 25.05.22 um 19:39 schrieb Stefan Nedeljkovic:
Actually I got lucky just now:
\definefontalternative[md]
\definefontalternative[mc]
Works just fine. Thank you for your suggestion
Actually I got lucky just now:
\definefontalternative[md]
\definefontalternative[mc]
Works just fine. Thank you for your suggestion Henning!
On Wed, May 25, 2022 at 7:35 PM Stefan Nedeljkovic
wrote:
> mtxrun --script fonts --list --all --pattern=Custodia
> iden
he
> > custodiasemibolditalic
> > > won't show up. It shows up regularly when I run mtxrun --script
> > fonts
> > > --list --all --pattern=Custodia
> > >
> > > I'm attaching the output for reference. Any help would b
7;t show up. It shows up regularly when I run mtxrun --script
fonts
> --list --all --pattern=Custodia
>
> I'm attaching the output for reference. Any help would be
appreciated.
>
>
> Sincerely,
>
&g
gt; >
> > I'm attaching the output for reference. Any help would be appreciated.
> >
> >
> > Sincerely,
> >
> > Stefan
> >
> > \definefontalternative[md]
> >
> > \definefontalternative[mi]
> >
> >
> > \starttype
cerely,
Stefan
\definefontalternative[md]
\definefontalternative[mi]
\starttypescript [serif] [custodia]
\definefontsynonym[Serif] [name:custodianormal][features=default]
\definefontsynonym[SerifItalic]
[name:custodianormalitalic][features=default]
\definefontsynonym[SerifMedium] [name:custodiasem
cerely,
Stefan
\definefontalternative[md]
\definefontalternative[mi]
\starttypescript [serif] [custodia]
\definefontsynonym[Serif] [name:custodianormal][features=default]
\definefontsynonym[SerifItalic]
[name:custodianormalitalic][features=default]
\definefontsynonym[SerifMedium] [name:custodiasemibold][f
ular base', i.e., have no danda (the vertical line) next
> to the character. For what it is worth, I have noticed also that I am able
> to 'circumvent' this issue if I write
>
> छ्र + ZWS + Devanagari vowel sign
>
> where ZWS is the zero-width space U+20
nately, this quickly becomes
very untenable in large documents. Since I was new to ConTeXt I did not
venture
to ask earlier on since I had not read much of the documentaion. Now, after
having read quite a bit, I have mustered up the courage to ask here. As a
stop-gap solution, I defined an
7pPA5_WkDdlNLbHdkMjg2dkU/view?usp=sharing
>
> The source:
>
> \definefontalternative[me]
> ...
>
> \starttypescript [serif] [optical] [size]
>
> % design size 8 pt, size range (6 pt, 8.4 pt]
> \definebodyfont [4pt,5pt,6pt,7pt,8pt] [rm]
> [tf=SerifCaption sa 1,
font.
- When using \switchtobodyfont, switches are correct up to 12pt. After
that, it fallback on xits-mathbold
Any help is welcome :-)
The compiled file :
https://drive.google.com/file/d/0Bwo7pPA5_WkDdlNLbHdkMjg2dkU/view?usp=sharing
The source:
\definefontalternative[me]
...
\starttypescript [
r the "regular"
> style-alternative.
>
> I don't know why, but the italic style-alternative do not work. In the
> log, the font is not even loaded... Do you have an idea of what I'm doing
> wrong?
>
> \definefontalternative[me]
> \definefontalternative[m
o you have an idea of what I'm
doing wrong?
\definefontalternative[me]
\definefontalternative[meit]
\definefontalternative[se]
\definefontalternative[seit]
You can also only two letter names for the alternatives because the
\definebodyfont command interprets everything after two letter as
on't know why, but the italic style-alternative do not work. In the
> log, the font is not even loaded... Do you have an idea of what I'm doing
> wrong?
>
> \definefontalternative[me]
> \definefontalternative[meit]
> \definefontalternative[se]
> \definefontalte
Thank you very much for the example. I got it working for the "regular"
style-alternative.
I don't know why, but the italic style-alternative do not work. In the log,
the font is not even loaded... Do you have an idea of what I'm doing wrong?
\definefontalternative[me]
\d
ion is to write your own typescript for the
fonts.
\definefontalternative[sb]
\definefontalternative[si]
\starttypescript [sans] [source-sans]
\definebodyfont [default] [ss]
[tf=Sans sa 1,
it=SansItalic sa 1,
sb=SansMedium sa 1,
si=SansMediumItali
Hello,
I'm trying to use the font Minion Pro for my document. I'm using the
simplefont module but I cannot use the semibold font. I guess I'm missing
some line in the configuration to bind sb to the semibold variant. Here is
a short example of my setup:
\definefon
> > Hello and welcome to the world of ConTeXt!
> >
> > I was in you place about one year ago :)
> >
> > The best way to get started with fonts is probably the simplefonts module.
> I haven't used anything since I started and was able to do everything I wished
> for, so far.
>
> Peter wants to use
Am 11.11.2011 um 11:13 schrieb Christian:
> Hello and welcome to the world of ConTeXt!
>
> I was in you place about one year ago :)
>
> The best way to get started with fonts is probably the simplefonts module. I
> haven't used anything since I started and was able to do everything I wished
>
> somewhere else? I have searched through the revised Fonts chapter of the
> ConTeXt manual but the \definefontalternative macro and the approach
> described here are not documented there.
>
> The approach below works for me if I adapt it to Adobe Garamond Premier
> Pro, but I am atte
ot;
or can I find it somewhere else? I have searched through the revised Fonts
chapter of the ConTeXt manual but the \definefontalternative macro and the
approach described here are not documented there.
The approach below works for me if I adapt it to Adobe Garamond Premier
Pro, but I am attemptin
Stylistic Alternates
\definefontfeature[sups][default][sups=yes] % Superscript
\definefontfeature[subs][default][subs=yes] % Subscript
% small caps wrapper
\def\smcp#1{{\setff{smallcaps}#1}}
\definefontfeature[addfssmcp][mode=node,smcp=yes]
\unexpanded\def\sc{\addfs{addfssmcp}}
%% We n
}
\definefontfeature[addfssmcp][mode=node,smcp=yes]
\unexpanded\def\sc{\addfs{addfssmcp}}
%%%
%%% FONT-STYLES %
%%%%%%%
% \definefontalternative [bl]
% \definefontalternative [bli]
\definefontalternative [bc]
\definefontalternative [bci
ones for defining
> % the semi bold alternatives
>
> \definefontalternative [sb]
> \definefontalternative [si]
>
> \definebodyfont [default] [ss]
> [sb=SansSemiBold sa 1,
>si=SansSemiBoldItalic sa 1]
>
> \starttypescript [sans] [myriadpro]
>\definefontsynonym [MyriadPro
leted all lines except the relevant ones for defining
% the semi bold alternatives
\definefontalternative [sb]
\definefontalternative [si]
\definebodyfont [default] [ss]
[sb=SansSemiBold sa 1,
si=SansSemiBoldItalic sa 1]
\starttypescript [sans] [myriadpro]
\definefontsynon
On 8-12-2010 9:18, Florian Wobbe wrote:
Dear typescript experts,
in an earlier Email I reported, that the font switches did not work in math
mode. E.g.,
$\bf a=\alpha$
$\bi a=\alpha$
did not display bold math. It turned out that this happens when I invoke
\definefontalternative.
Normaly
Dear typescript experts,
in an earlier Email I reported, that the font switches did not work in math
mode. E.g.,
$\bf a=\alpha$
$\bi a=\alpha$
did not display bold math. It turned out that this happens when I invoke
\definefontalternative.
Normaly \bf is defined like this:
*\show\bf
>
tant{SerifSemiBold}
\definesystemconstant{SerifSemiBoldItalic}
\definefontalternative[sbo]
\definefontalternative[sbi]
\definebodyfont [default] [rm]
[tf=Serif sa 1,
bf=SerifBold sa 1,
it=SerifItalic sa 1,
sl=SerifSlanted sa 1,
bi=SerifBoldItalic sa 1,
bs=SerifBoldSlanted sa 1,
sbo=
;\stop' with '\starttext'
and '\stoptext' (otherwise it doesn't work on my sytem).
3. The line '\usetypescriptfile []' should be
included in the test-file. So the test-file will use the typescript file if it
is in the same directory as the test-file.
4.
hough. How can I fix this, short of
>
> \def\me{\definedfont[SerifMedium]}
when the rest if the typescript works the problem lies here:
instead or additionally of \definealternativestyle[medium][\me][] use
\definefontalternative[me]
then the command \me
o reason for not
> extending the model for your particular needs.
Mojca
--
Wolfgang Schuster:
> The last time i did this you needed for MkIV also
>
> \definefontalternative[in]
> \definefontalternative[bd]
>
> but be carefull with the shortcuts, \in is a
dItalic sa 1,
>> bs=SerifBoldSlanted sa 1,
>> sc=SerifCaps sa 1]
>>
>> You could add your
>> in=SerifYourFontVariantName sa 1,
>> bd=SerifYourOtherFontVariantName sa 1,
>>
>
> The last time i did this you needed for MkIV also
>
> \defin
sa 1,
The last time i did this you needed for MkIV also
\definefontalternative[in]
\definefontalternative[bd]
but be carefull with the shortcuts, \in is already used (references).
And then
\definefontsynonym[SerifYourFontVariantName][YourFontName]
It's true that most people don
36 matches
Mail list logo