* italic smallcaps
@ 2012-11-28 8:58 Andreas Mang
2012-11-28 9:00 ` Hans Hagen
2012-11-28 9:06 ` Wolfgang Schuster
0 siblings, 2 replies; 5+ messages in thread
From: Andreas Mang @ 2012-11-28 8:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: italic smallcaps
2012-11-28 8:58 italic smallcaps Andreas Mang
@ 2012-11-28 9:00 ` Hans Hagen
2012-11-28 9:06 ` Wolfgang Schuster
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2012-11-28 9:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: italic smallcaps
2012-11-28 8:58 italic smallcaps Andreas Mang
2012-11-28 9:00 ` Hans Hagen
@ 2012-11-28 9:06 ` Wolfgang Schuster
2012-11-28 10:18 ` Sietse Brouwer
1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2012-11-28 9:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 28.11.2012 um 09:58 schrieb Andreas Mang <mang@imt.uni-luebeck.de>:
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: italic smallcaps
2012-11-28 9:06 ` Wolfgang Schuster
@ 2012-11-28 10:18 ` Sietse Brouwer
2012-11-28 10:32 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Sietse Brouwer @ 2012-11-28 10:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
\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
<wolfgang.schuster@gmail.com> wrote:
>
> Am 28.11.2012 um 09:58 schrieb Andreas Mang <mang@imt.uni-luebeck.de>:
>
>> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: italic smallcaps
2012-11-28 10:18 ` Sietse Brouwer
@ 2012-11-28 10:32 ` Wolfgang Schuster
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-11-28 10:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 28.11.2012 um 11:18 schrieb Sietse Brouwer <sbbrouwer@gmail.com>:
> \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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-28 10:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28 8:58 italic smallcaps Andreas Mang
2012-11-28 9:00 ` Hans Hagen
2012-11-28 9:06 ` Wolfgang Schuster
2012-11-28 10:18 ` Sietse Brouwer
2012-11-28 10:32 ` 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).