t; Hi all,
>> I can't get Kerning working with Noto Serif.
>> My minimal file is:
>>
>> \definefontfeature[oldstylenumber][onum=yes]
>> \definefont[testnoto][file:NotoSerif-Regular*default at 12pt]
>> \starttext
>> Line 1: {VAVAVAVAVAVA 12345}\par
&
Am 06.06.24 um 09:41 schrieb Lutz Haseloff:
Hi all,
I can't get Kerning working with Noto Serif.
My minimal file is:
\definefontfeature[oldstylenumber][onum=yes]
\definefont[testnoto][file:NotoSerif-Regular*default at 12pt]
\starttext
Line 1: {VAVAVAVAVAVA 12345}\par
Line 2: {\
Hi all,
I can't get Kerning working with Noto Serif.
My minimal file is:
\definefontfeature[oldstylenumber][onum=yes]
\definefont[testnoto][file:NotoSerif-Regular*default at 12pt]
\starttext
Line 1: {VAVAVAVAVAVA 12345}\par
Line 2: {\setff{oldstylenumber}VAVAVAVAVAVA 12345}\par
Line 3: {\
On 4/3/2023 9:07 AM, Peter Münster via ntg-context wrote:
Hi,
I'm quite sure, that this worked some time ago with the standard font (LM):
\setff{smallcaps} Normal and \bf bold Small Caps.
(See also https://wiki.contextgarden.net/Bold_small_caps).
But it does not work with the latest Co
Hi,
I'm quite sure, that this worked some time ago with the standard font (LM):
\setff{smallcaps} Normal and \bf bold Small Caps.
(See also https://wiki.contextgarden.net/Bold_small_caps).
But it does not work with the latest ConTeXt version.
How could I get bold small caps with the l
t; \definefontsynonym[Sans] [name:dtldocumentasanstcaps][features=default]
> > \definefontsynonym[SansItalic]
> > [name:dtldocumentasanstcapsitalic][features=default]
> > \stoptypescript
> >
> >
> > How can I define dtl-documenta-sans such that I can do:
> >
&
]
\definefontsynonym[SansItalic]
[name:dtldocumentasanstcapsitalic][features=default]
\stoptypescript
How can I define dtl-documenta-sans such that I can do:
\setupbodyfont[dtl-documenta-sans,rm,10pt]
\starttext
\setff{smallcaps}{Small Caps Hamburgerfons}, \setff{smallcaps}{\it Small
Caps Italic
:
\setupbodyfont[dtl-documenta-sans,rm,10pt]
\starttext
\setff{smallcaps}{Small Caps Hamburgerfons}, \setff{smallcaps}{\it Small
Caps Italic Hamburgerfons},
\stoptext
Sincerely,
Stefan
___
If your question is of
t; > \definetypeface [custodia] [rm] [serif] [custodia]
[default]
> >
> >
> >
> >
> >
> > \usetypescript[custodia][uc]
> >
> >
> [
>> > >
>> > > tf=Serif sa 1,
>> > >
>> > > it=SerifItalic sa 1,
>> > >
>> > > md=SerifMedium sa 1,
>> > >
>> > > mi=SerifMediumItalic sa 1,
>> > >
>> > >
> it=SerifItalic sa 1,
> > >
> > > md=SerifMedium sa 1,
> > >
> > > mi=SerifMediumItalic sa 1,
> > >
> > > bf=SerifBold sa 1,
> > >
> > > bi=SerifBoldItalic sa 1]
> >
tarttext
>
>
> Regular Hamburgerfons,
>
> {\it Italic Hamburgerfons},
>
> {\md Medium Hamburgerfons},
>
> {\mi Medium Italic Hamburgerfons},
>
> {\bf Bold Hamburgerfons},
>
> {\bi Bold Italic Hamburgerfons},\\
>
md=SerifMedium sa 1,
> >
> > mi=SerifMediumItalic sa 1,
> >
> > bf=SerifBold sa 1,
> >
> > bi=SerifBoldItalic sa 1]
> >
> > \stoptypescript
> >
> >
> >
> > \definetypeface [custodia] [rm] [serif] [custodia] [default]
> >
\setupbodyfont[custodia,rm,10pt]
\starttext
Regular Hamburgerfons,
{\it Italic Hamburgerfons},
{\md Medium Hamburgerfons},
{\mi Medium Italic Hamburgerfons},
{\bf Bold Hamburgerfons},
{\bi Bold Italic Hamburgerfons},\\
\setff{smallcaps}{Small Caps Hamburgerfons},
\setff{smallcaps}{\it Sm
ont[custodia,rm,10pt]
\starttext
Regular Hamburgerfons,
{\it Italic Hamburgerfons},
{\md Medium Hamburgerfons},
{\mi Medium Italic Hamburgerfons},
{\bf Bold Hamburgerfons},
{\bi Bold Italic Hamburgerfons},\\
\setff{smallcaps}{Small Caps Hamburgerfons},
\setff{smallcaps}{\it Sm
ttext
\setff{smallcaps} Normal and \bf bold Small Caps.
{\sc Normal and \bf bold Small Caps.}
\stoptext
doesn't produce bold small caps - see the attached files.
So - how to get bold small caps?
at least you need a bold font that has smallcaps ...
how do I get list of fonts which pr
Hello,
I'm trying to typeset some text in bold + smallcaps.
But even the sample on wiki:
http://wiki.contextgarden.net/Bold_small_caps
extended to:
\starttext
\setff{smallcaps} Normal and \bf bold Small Caps.
{\sc Normal and \bf bold Small Caps.}
\stoptext
do
; [nothyphenated,verytolerant,stretch] % hz?
>
> \definefontfeature [nokern] [kern=no,liga=no]
>
> \setff{nokern}
>
> and still I cannot produce anything near as horrible (without adding
> multiple non-breakable spaces and the like)!
Who knows what did the user to «create»
?
\definefontfeature [nokern] [kern=no,liga=no]
\setff{nokern}
and still I cannot produce anything near as horrible (without adding
multiple non-breakable spaces and the like)!
\starttext
\definedfont[Serif] % no kerns and ligatures and ...
\hsize 10cm % kind of columns
o,liga=no]
\setff{nokern}
and still I cannot produce anything near as horrible (without adding
multiple non-breakable spaces and the like)!
Alan
___
If your question is of interest to others as well, please add an entry to
Hi,
The appearance of a gap before the letter T has nothing to do with kerning
per se, but with my use of smallcaps and kerning.
I solved my problem by defining a font feature and applying it with the
\setff command as described on the wiki.
\setuplayout[header=0pt, footer=0pt]
\setupstretched
t sc: {\sc \testAlphabet}\par
Default xx: {\it\setff{smallcaps}\testAlphabet}\par
\switchtobodyfont[Secondary]
Secondary tf: {\tf \testAlphabet}\par
Secondary bf: {\bf \testAlphabet}\par
Secondary it: {\it \testAlphabet}\par
Secondary sl: {\sl \testAlphabet}
{\it\setff{smallcaps}\testAlphabet}\par
\switchtobodyfont[Secondary]
Secondary tf: {\tf \testAlphabet}\par
Secondary bf: {\bf \testAlphabet}\par
Secondary it: {\it \testAlphabet}\par
Secondary sl: {\sl \testAlphabet}\par
Secondary bi: {\bi \testAlphabet}
separate font for the small capitals and the \setff (better use
\feature) has no effect in this case.
For some reason I thought that they did both (supported all the small
cap glyphs as well as released a separate font).
But now I remembered that LM doesn't have bold small caps at all.
But apart
On 5/23/2014 5:55 PM, Mojca Miklavec wrote:
Hi,
I always forget how to use bold or italic small caps (I keep mixing
addff/setff and smcp/+smcp/smallcaps etc.). In ideal world it could be
nice if simply
{\sc Normal and \bf Bold Small Caps} or
{\bf\sc Bold Small Caps}
would work out-of
he small capitals and the \setff (better use
> \feature) has no effect in this case.
For some reason I thought that they did both (supported all the small
cap glyphs as well as released a separate font).
But now I remembered that LM doesn't have bold small caps at all.
But apart from fixing
Am 23.05.2014 um 17:55 schrieb Mojca Miklavec :
> Hi,
>
> I always forget how to use bold or italic small caps (I keep mixing
> addff/setff and smcp/+smcp/smallcaps etc.). In ideal world it could be
> nice if simply
>{\sc Normal and \bf Bold Small Caps} or
>{\
Hi,
I always forget how to use bold or italic small caps (I keep mixing
addff/setff and smcp/+smcp/smallcaps etc.). In ideal world it could be
nice if simply
{\sc Normal and \bf Bold Small Caps} or
{\bf\sc Bold Small Caps}
would work out-of-the-box.
The first hit on the wiki was
http
-8<---cut here---start->8---
> \definefontfamily[mainface][rm][Linux Libertine Initials O][features=tnum]
> \definefontfeature[default][default][tnum=yes]
> \setupbodyfont[mainface]
> \starttext
> \addff{tnum}
> \setff{tnum}
> \feature[+][tnum
Am 21.01.2013 um 12:27 schrieb Zenlima :
> Hi,
>
> thanks! Now it works with the \setff{..} command.
>
>> or otherwise also set up kerns
>
> Sorry, I dont understand what you mean with this. Can you explain it?
When you use
\definefontfeature[smallcapitals][..,..
Hi,
thanks! Now it works with the \setff{..} command.
> or otherwise also set up kerns
Sorry, I dont understand what you mean with this. Can you explain it?
> btw, there is a smallcaps feature predefined.
I thought the \sc is the predefined command for the smallcaps font
feature. Am I
text to show the smallcaps. I
tried an example out of this mailing list:
\definefontfeature[smallcapitals] [smcp=yes]
\definefontfeature[oldstylenumber][onum=yes]
%\setupbodyfont[pagella]
\setupbodyfont [charissil]
\starttext
{VA abc \setff{smallcapitals} VA abc}
{VA abc \addff{smallcapitals} VA
Am 28.11.2012 um 11:18 schrieb Sietse Brouwer :
> \setff{X} enables font feature X in the current scope --- do I
> understand this correctly?
> --Sietse
It enables a predefined set of features which need to define with
\definefontfeature.
There is also a difference between \setff a
\setff{X} enables font feature X in the current scope --- do I
understand this correctly?
--Sietse
On Wed, Nov 28, 2012 at 10:06 AM, Wolfgang Schuster
wrote:
>
> Am 28.11.2012 um 09:58 schrieb Andreas Mang :
>
>> Dear all,
>>
>> is there a simple way to convince c
\italic Something} % no small caps
>
> \stoptext
> minimal example
Latin Modern uses a separate file for the small capitals but when you use a
font which has them in font you can enable them when for all styles when
available.
\setupbodyfont[pagella]
\starttext
{\tf\setff{smallcaps}
e
disabled).
There is another issue on pages 2 and 3: the separation between body and
the dict linenotes is almost non-existent. I'm afraid this may be bug.
BTW, I would like to put the contxt linenote numbers in old style.
\setff{oldn} would be the command, but
\setupnotation[contxt][numbercomm
On Tue, Jul 24, 2012 at 11:21:22PM +0200, Hans Hagen wrote:
> On 24-7-2012 21:29, Shriramana Sharma wrote:
> >On Wed, Jul 25, 2012 at 12:55 AM, Wolfgang Schuster
> > wrote:
> >>\definehighlight[smallcaps][style=\setff{smallcaps}]
> >
> >Hello and thanks for you
On 24-7-2012 21:29, Shriramana Sharma wrote:
On Wed, Jul 25, 2012 at 12:55 AM, Wolfgang Schuster
wrote:
\definehighlight[smallcaps][style=\setff{smallcaps}]
Hello and thanks for your help but even if I copy-paste your example
into TeXWorks and typeset it (remember, I'm using ConTeXT
On Wed, Jul 25, 2012 at 12:55 AM, Wolfgang Schuster
wrote:
> \definehighlight[smallcaps][style=\setff{smallcaps}]
Hello and thanks for your help but even if I copy-paste your example
into TeXWorks and typeset it (remember, I'm using ConTeXT with XeTeX)
I get the error:
Undefined
he text should be left alone.
>
> Can anyone please advise me what to do to get small caps in my current
> font like in LibO and other popular GUI word-processing systems?
\definehighlight[smallcaps][style=\setff{smallcaps}]
\setupbodyfont[pagella]
\starttext
upright {\it italic} {\sc sm
.
>>[...]
>
> \setupbodyfont[calluna] % replace this with your own font which has the
> “sups” feature
>
> \definefontfeature[sups][sups=yes]
>
> \setupnote[footnote][textstyle=\setff{sups},textcommand=]
>
> \starttext
> Note\footnote{Not here, but above.}
> \st
; (http://www.theleagueofmoveabletype.com/sorts-mill-goudy).
>
> How is the proper way to do this?
For oldstyle numerals you can use the “oldstyle” feature:
\setupnote[footnote][textstyle=\setff{oldstyle}]
\starttext
Note\footnote{Not here, but above.}
\stoptext
To use the superscript featur
size=10pt, tnum=yes]
> \starttext
> \addff{tnum}
> \setff{tnum}
> 565656565656X\par
> X
> \stoptext
> --8<---cut here---end--->8---
\usemodule[simplefonts]
\definefontfeature[default][default][tnum=yes]
\setmainfont[Linux
Hi,
How can I enable tabular numerals please?
Test file, that does not work:
--8<---cut here---start->8---
\usemodule[simplefonts]
\setmainfont[LinLibertineIO][size=10pt, tnum=yes]
\starttext
\addff{tnum}
\setff{tnum}
565656565656X\par
X
\st
Thank you for the detailed explanation.
best regards
Jan
Dne Thu, 31 May 2012 12:19:38 +0200 Wolfgang Schuster
napsal(a):
Am 31.05.2012 um 11:46 schrieb Jan Pohanka:
Great, thank you. Anyway what is the purpose of the \setff macro?
In MkIV you have tell which features of a font
Am 31.05.2012 um 11:46 schrieb Jan Pohanka:
>> \definehighlight[filepermission][style=\setff{none}]
>
> Great, thank you. Anyway what is the purpose of the \setff macro?
In MkIV you have tell which features of a font (e.g. ligatures or kerning) have
to enabled, this is done in t
On 31-5-2012 11:46, Jan Pohanka wrote:
\definehighlight[filepermission][style=\setff{none}]
Great, thank you. Anyway what is the purpose of the \setff macro? I have
not found its documentation anywhere. Also why the latex way -{}- does
not work? It is a feature of luatex?
-{}- is a side
\definehighlight[filepermission][style=\setff{none}]
Great, thank you. Anyway what is the purpose of the \setff macro? I have
not found its documentation anywhere. Also why the latex way -{}- does not
work? It is a feature of luatex?
best regards
Jan
--
Tato zpráva byla vytvořena
-}{-}{-}{-} or rwx{}-{}-{}-{}-{}-{}- which works in latex, but in
> context I'm still getting the long dashes. How can I prevent this conversion,
> please?
\definehighlight[filepermission][style=\setff{none}]
\starttext
Verbatim: \type{rwx--}
Highlight: \filepermission{rw
[\s!Serif]
> [\s!features=smallcaps]
> < %definefontsynonym [\s!SerifBoldCaps][\s!SerifBold]
> [\s!features=smallcaps]
> < \stoptypescript
> <
>
> The SerifBoldCaps line is commented out since I get an error at
> processing… and can't figure w
- ---}
{\addff{osf}0123456789 -- ---} \par
{\osf 0123456789 -- ---} \par
{\setff{oldstyle}0123456789 -- ---} \par
{\os 0123456789 -- ---}
\stoptext
Regards
Andreas
___
If your question is of interest to othe
problem with my setup (excerpt) below?
%%---%%
\definecolumnset[body][n=2,distance=2em,balance=yes]
% Use superior figures from the font for footnote marks, instead of \high:
\defineconversion[supnumbers][\setff{sups
s you describe below, which I know is
> buggy since the font lacks generalised frac feature.
>
>>> \starttext
>>> 1/40 {\setff{frac}1/40} \m{\frac{1}{40}}
>>
>> With `{\setff{frac}1/40}` the output is like ¼0. Using `{40}` also does
>> not help.
>
> Loo
demonstrate the
> behavior?
XITS, but you will get output as you describe below, which I know is
buggy since the font lacks generalised frac feature.
> > \starttext
> > 1/40 {\setff{frac}1/40} \m{\frac{1}{40}}
>
> With `{\setff{frac}1/40}` the output is like ¼0. Using `{40}`
Am Montag, den 26.09.2011, 11:01 +0200 schrieb Wolfgang Schuster:
> \definefontfeature[frac][frac=yes,script=latn]
>
> \setupbodyfont[cambria]
Is there a font in Standalone which can be used to demonstrate the
behavior?
> \starttext
> 1/40 {\setff{frac}1/40} \m{\frac{1}{40}}
Wit
write the fraction
>> as “1/40”.
>
> "¼÷10", "0.025".
\definefontfeature[frac][frac=yes,script=latn]
\setupbodyfont[cambria]
\starttext
1/40 {\setff{frac}1/40} \m{\frac{1}{40}}
\stoptext
Wolfgang
> >> \setupitemize[1][style=\bf\setff{smallcaps}]
> >> \setupitemize[3][style=\it]
> >> \setupitemize[4][style=\tfx,color=darkgray]
> >
> > I already tried the "sytle" parameter (option?). But it has no effect
> > :( Does it work for you?
>
Am 07.07.2011 um 18:53 schrieb Christian:
>> \setupitemize[1][style=\bf\setff{smallcaps}]
>> \setupitemize[3][style=\it]
>> \setupitemize[4][style=\tfx,color=darkgray]
>
> I already tried the "sytle" parameter (option?). But it has no effect :(
> Does it w
> > gray)
> >
> > I somehow can't find a way to achieve this, without applying the style
> > in the actual list.
>
> \setupitemize[1][style=\bf\setff{smallcaps}]
> \setupitemize[3][style=\it]
> \setupitemize[4][style=\tfx,color=darkgray]
I already tried the
gray)
>
> I somehow can't find a way to achieve this, without applying the style in
> the actual list.
\setupitemize[1][style=\bf\setff{smallcaps}]
\setupitemize[3][style=\it]
\setupitemize[4][style=\tfx,color=darkgray]
Wolfgang
__
ntage: The default footnote numbers are normal numbers that are
downscaled and raised and therefore are more pale (or thinner, if you
prefer) than the body text.
To use it:
% define the sups feature:
\definefontfeature[sups][sups=yes]
\def\sups{\setff{sups}}
% use it for footnotes:
\setupnot
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
feature[ornm][default][ornm=yes] % Ornaments
\definefontfeature[salt][default][salt=yes] % Stylistic Alternates
\definefontfeature[sups][default][sups=yes] % Superscript
\definefontfeature[subs][default][subs=yes] % Subscript
% small caps wrapper
\def\smcp#1{{\setff{smallcaps}#1}
pedcommand{\setfontfeature{plf}}{}}
>> \def\tlf{\groupedcommand{\setfontfeature{tlf}}{}}
>
> \unexpanded\def\tlf{\groupedcommand{\setfontfeature{tlf}}{}}
>
> or
>
> \definealternativestyle [tlf] [\setff{tlf}] [\setf
mand{\setfontfeature{plf}}{}}
>
> With the newest beta this setup fails. For footnotes one can use
> textcommand=\plf\high, but there is no symcommand for item groups. Asides
> from the old style=\setff{…} behaviour was very convenient, is there a work
> around?
>
> Here is an examp
textcommand=\plf\high, but there is no symcommand for item groups. Asides from
the old style=\setff{…} behaviour was very convenient, is there a work around?
Here is an example.
\definefontfeature[default] [default] [mode=node,onum=yes]
\definefontfeature[plf] [default] [pnum=yes,lnum=yes
Am 12.12.2010 um 16:22 schrieb Marco:
> On 2010-12-12 Wolfgang Schuster wrote:
>
>>> Depending on your answers, I would perhaps request to trigger
>>> \setff{smallcaps} by \sc in the core.
>>
>> Can be a problem because we have font (e.g. Latin Moder
On 2010-12-12 Wolfgang Schuster wrote:
> > Depending on your answers, I would perhaps request to trigger
> > \setff{smallcaps} by \sc in the core.
>
> Can be a problem because we have font (e.g. Latin Modern) where
> smallcaps are still in a separate file.
So the user
Am 12.12.2010 um 00:12 schrieb Peter Münster:
> On Sat, Dec 11 2010, Florian Wobbe wrote:
>
>> {\setff{smallcaps} SmallCaps {\bf BoldCaps}}
>
> Hello,
>
> Thanks! What's the difference between \sc and \setff{smallcaps}?
By default \sc switch to a different font
On Sat, Dec 11 2010, Florian Wobbe wrote:
> {\setff{smallcaps} SmallCaps {\bf BoldCaps}}
Hello,
Thanks! What's the difference between \sc and \setff{smallcaps}?
Could something like "\def\sc{\setff{smallcaps}}" in the preamble harm
in any way?
Depending on your answer
c Test} should give bold small caps...
> \stoptext
Hi, this should work:
\setupbodyfont[pagella]
\starttext
{\setff{smallcaps} SmallCaps {\bf BoldCaps}}
\stoptext
Florian
___
If your question is of interest to
omeone give me an example
> > > >>> typescript that I could modify to fit the Neutraface2 font? My
> > > >>> attempt to make one is attached.
> > > >>>
> > > >>> Greetings,
> > > >>> Chris
> > > >&g
cument.
> > >>> It gives me bold OR smallcaps, but not bold AND smallcaps. Whats wrong
> > >>> here? Can someone give me an example typescript that I could modify to
> > >>> fit the Neutraface2 font? My attempt to make one is attached.
> > >>>
>
n someone give me an example typescript that I could modify to
> >>> fit the Neutraface2 font? My attempt to make one is attached.
> >>>
> >>> Greetings,
> >>> Chris
> >>
> >> Hi Chris,
> >>
> >> it does not work
; I tried various combinations and variations of \bf \sc in my document. It
>>> gives me bold OR smallcaps, but not bold AND smallcaps. Whats wrong here?
>>> Can someone give me an example typescript that I could modify to fit the
>>> Neutraface2 font? My attempt to make one
> gives me bold OR smallcaps, but not bold AND smallcaps. Whats wrong here?
> > Can someone give me an example typescript that I could modify to fit the
> > Neutraface2 font? My attempt to make one is attached.
> >
> > Greetings,
> > Chris
>
> Hi Chris,
>
an example typescript that I could modify to fit the
> Neutraface2 font? My attempt to make one is attached.
>
> Greetings,
> Chris
Hi Chris,
it does not work for pagella either. Did you try \setff{smallcaps} \bf instead?
\usetypescript[pagella]
\setupbodyfont[pagella]
\starttex
Well, and I didn't know about \high - thanks for pointing out. My aim was
actually to make use of the superscript font feature of Antykwa.
Florian
On Sep 24, 2010, at 17:18 , Aditya Mahajan wrote:
> On Fri, 24 Sep 2010, Florian Wobbe wrote:
>
>> 57{\setff{sups}th} or \dat
On Fri, 24 Sep 2010, Florian Wobbe wrote:
57{\setff{sups}th} or \date[][day,$^{\mr th}$,~,month,year]
Don't know about \setff, but using \high{th} is better than going to math
mode.
Aditya
___
If your que
Dear all,
I tried to change the output format of \date so that the day includes the
letter suffixes as superscript.
\definefontfeature[sups][sups=yes,script=latn]
\usetypescript[antykwa-torunska]
\setupbodyfont[antykwa,12pt]
\starttext
\date[][day,{\setff{sups}th},~,month,year
Am 10.09.2010 um 13:42 schrieb Taco Hoekwater:
> On 09/10/2010 01:01 PM, Andreas Harder wrote:
>> Hi all,
>>
>> I've two questions.
>> 1. Is f|*|f still the right way to prevent a ligature?
>> 2. \setff{noligs} don't seem to have effect, while the
On 09/10/2010 01:01 PM, Andreas Harder wrote:
Hi all,
I've two questions.
1. Is f|*|f still the right way to prevent a ligature?
2. \setff{noligs} don't seem to have effect, while the defined font is
working. What is wrong?
Have you tried \addff ?
Best wi
Hi all,
I've two questions.
1. Is f|*|f still the right way to prevent a ligature?
2. \setff{noligs} don't seem to have effect, while the defined font is
working. What is wrong?
\definefontfeature[noligs] [default][liga=no]
\definefont[test][Serif*noligs]
\startTEXpage[offset=1e
Michael Saunders wrote:
In addition, everything involving inferiors, superiors, numerators and
denominators is now broken. For example:
\definefontfeature[in][body][sinf=yes]%inferior
Cs{\setff{in}133}
has no effect.
This depends on whether the font supports the sinf feature. The
default
> > In addition, everything involving inferiors, superiors, numerators and
> > denominators is now broken. For example:
> >
> > \definefontfeature[in][body][sinf=yes]%inferior
> > Cs{\setff{in}133}
> >
> > > has no effect.
> This depends on
Michael Saunders wrote:
In addition, everything involving inferiors, superiors, numerators and
denominators is now broken. For example:
\definefontfeature[in][body][sinf=yes]%inferior
Cs{\setff{in}133}
has no effect.
This depends on whether the font supports the sinf feature. The
default
rs, superiors, numerators and
denominators is now broken. For example:
\definefontfeature[in][body][sinf=yes]%inferior
Cs{\setff{in}133}
has no effect.
> Also, debugging this really needs a complete test input fil
xample, no help!
9. \raisebox?
What is the proper way to raise or lower a bit of text? I just spent
a lot of trial and error to find this:
\inframed[frame=off,offset=.5pt,height=17.3pt]{--}
to raise my en-dashes a little when \setff{ac} (for all caps) didn't
work with one font.
\raisebox{1
f}
that did the job.
9. \raisebox?
What is the proper way to raise or lower a bit of text? I just spent
a lot of trial and error to find this:
\inframed[frame=off,offset=.5pt,height=17.3pt]{--}
to raise my en-dashes a little when \setff{ac} (for all caps) didn't
work with one font.
10. problem
ere's also \setfontfeature and \setff
in principle you can also use this to let fonts adapt to a language /
script and in due time i'll add it as automatism there
(internally in mkiv this
fonts; although you can enable and
> disable features in the running text (dynamicly) .. from the source:
> % \startbuffer
> % \definefontfeature[smallcaps][smallcaps][script=latn]
> % \definefontfeature[oldstyle] [oldstyle] [script=latn]
> %
> % \definedfont[name:cambria at 15pt]
&
rmal,
> textcommand={\switchtobodyfont[GaramondPremUpper]},
> numbercommand={\switchtobodyfont[GaramondPremUpper]}]
Or:
\definefontfeature [sups] [default] [sups=yes]
\setupnote
[footnote]
[command=, % -> numbercommand
textstyle=, % -> textcommand
(dynamicly) .. from the source:
% \startbuffer
% \definefontfeature[smallcaps][smallcaps][script=latn]
% \definefontfeature[oldstyle] [oldstyle] [script=latn]
%
% \definedfont[name:cambria at 15pt]
%
% Hello there {\setff{smallcaps}capped 123 \setff{oldstyle}123!}\blank
% Hello there {\addff{smallc
q.
current set)
\definefontfeature[smallcaps][smallcaps][script=latn]
\definefontfeature[oldstyle] [oldstyle] [script=latn]
\definedfont[name:cambria at 15pt]
Hello there {\setff{smallcaps}capped 123 \setff{oldstyle}123!}\blank
Hello there {\addff{smallcaps}capped 123 \addff{oldstyle}123!}\blank
Hell
libertineo]
>> [features=default]
>> \stoptypescript
>> \starttypescript [linlibertine]
>> \definetypeface [linlibertine] [rm] [serif] [linlibertine] [default]
>> \stoptypescript
>> \definefontfeature[sups][sups=yes]
>> \usetypescript[linlibertine]
>> \setupbody
ine] [default]
\stoptypescript
\definefontfeature[sups][sups=yes]
\usetypescript[linlibertine]
\setupbodyfont[linlibertine]
% \defineconversion[sups][\red\setff{sups}\arabicnumerals]
\definestructureconversionset[sups][][Romannumerals]
\setupnote
[footnote]
[command=\myfootnotecommand
cript
\definefontfeature[sups][sups=yes]
\usetypescript[linlibertine]
\setupbodyfont[linlibertine]
% \defineconversion[sups][\red\setff{sups}\arabicnumerals]
\definestructureconversionset[sups][][Romannumerals]
\setupnote
[footnote]
[command=\myfootnotecommand,
% numberconversionset=sups,
oo old?
ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2008.10.29
indeed ... very ancient esp with respect to otf (also, \setff only work
in mkiv)
-
Hans Hagen | PRAGMA ADE
98 matches
Mail list logo