From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: italic smallcaps
Date: Wed, 28 Nov 2012 10:06:21 +0100 [thread overview]
Message-ID: <52AA706F-8F89-4B8D-8955-9D64ACB0F641@gmail.com> (raw)
In-Reply-To: <EB73BB60-13FE-49D5-808C-FC2ED3837C34@imt.uni-luebeck.de>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-11-28 9:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 8:58 Andreas Mang
2012-11-28 9:00 ` Hans Hagen
2012-11-28 9:06 ` Wolfgang Schuster [this message]
2012-11-28 10:18 ` Sietse Brouwer
2012-11-28 10:32 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52AA706F-8F89-4B8D-8955-9D64ACB0F641@gmail.com \
--to=wolfgang.schuster@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).