Re: [NTG-context] italic smallcaps
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 and \addff, with \setff you replace the active feature set (in most cases “default”) with a new set, you can see it in the first line because kerning etc. is disabled after \setff which I haven’t included in my list. In the second line I used \adff which add my new list to the active list and because of this kerning is still active after \addff. \definefontfeature[smallcapitals] [smcp=yes] \definefontfeature[oldstylenumber][onum=yes] \setupbodyfont[pagella] \starttext {VA abc \setff{smallcapitals} VA abc} {VA abc \addff{smallcapitals} VA abc} {12345 \setff{oldstylenumber} 12345} \stoptext 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 ___
Re: [NTG-context] italic smallcaps
\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 context to put small caps in italic? >> >> Thanks. >> Andreas >> >> >> ConTeXt ver: 2012.11.23 17:35 MKIV >> >> minimal example >> \starttext >> >> % this is what I intended to do >> \emph{\smallcaps Something} Something % not italic >> >> % this is what if tried: >> {\it\sc Something} % not italic >> >> {\italic\smallcaps Something} % not italic >> >> {\slanted\smallcaps Something} % not italic >> >> {\smallcaps\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}SmallCaps\par} > {\it\setff{smallcaps}SmallCaps\par} > {\bf\setff{smallcaps}SmallCaps\par} > {\bi\setff{smallcaps}SmallCaps\par} > \stoptext > > 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 > ___ ___ 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 ___
Re: [NTG-context] italic smallcaps
Am 28.11.2012 um 09:58 schrieb Andreas Mang : > Dear all, > > is there a simple way to convince context to put small caps in italic? > > Thanks. > Andreas > > > ConTeXt ver: 2012.11.23 17:35 MKIV > > minimal example > \starttext > > % this is what I intended to do > \emph{\smallcaps Something} Something % not italic > > % this is what if tried: > {\it\sc Something} % not italic > > {\italic\smallcaps Something} % not italic > > {\slanted\smallcaps Something} % not italic > > {\smallcaps\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}SmallCaps\par} {\it\setff{smallcaps}SmallCaps\par} {\bf\setff{smallcaps}SmallCaps\par} {\bi\setff{smallcaps}SmallCaps\par} \stoptext 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 ___
Re: [NTG-context] italic smallcaps
On 11/28/2012 9:58 AM, Andreas Mang wrote: Dear all, is there a simple way to convince context to put small caps in italic? Thanks. Andreas ConTeXt ver: 2012.11.23 17:35 MKIV minimal example \starttext % this is what I intended to do \emph{\smallcaps Something} Something % not italic % this is what if tried: {\it\sc Something} % not italic {\italic\smallcaps Something} % not italic {\slanted\smallcaps Something} % not italic {\smallcaps\italic Something} % no small caps \stoptext minimal example it all depends on the font providing them - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
[NTG-context] italic smallcaps
Dear all, is there a simple way to convince context to put small caps in italic? Thanks. Andreas ConTeXt ver: 2012.11.23 17:35 MKIV minimal example \starttext % this is what I intended to do \emph{\smallcaps Something} Something % not italic % this is what if tried: {\it\sc Something} % not italic {\italic\smallcaps Something} % not italic {\slanted\smallcaps Something} % not italic {\smallcaps\italic Something} % no small caps \stoptext minimal example ___ 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 ___