From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Small caps?
Date: Tue, 24 Jul 2012 21:25:56 +0200 [thread overview]
Message-ID: <4164D9A2-2E0A-4EE1-961F-1E9FCE3FD8FF@gmail.com> (raw)
In-Reply-To: <CAH-HCWVSX7E7aDvs2E=aOaGE7m3DJLcgvJUEPBk_urwUgMNhQA@mail.gmail.com>
Am 24.07.2012 um 21:11 schrieb Shriramana Sharma:
> Hello. I'm a veritable noob to both TeX and ConTeXT, so please bear
> with my ignorance. I request your kind guidance. (BTW as I use Indic
> scripts a lot, my typesetting engine is XeTeX.)
>
> I want to produce small caps like those I can get in LibreOffice by
> doing Right Click > Character > Font Effects > Effects > Small
> Capitals. Basically the capital letters would be shown in their
> regular size and the small letters would be shown as small size
> capital letters.
>
> Using \sc seems to select a particular font and ignore my current font
> selection. (I am using DejaVu Sans Condensed font.) \kap or \cap seems
> to produce all small caps which is not what I want -- only the small
> letters in the text should be shown as small caps and the capital
> letters in the 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 smallcaps}
upright {\it italic} {\it\setff{smallcaps}smallcaps}
upright {\it italic} {\it\smallcaps{smallcaps}}
\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-07-24 19:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-24 19:11 Shriramana Sharma
2012-07-24 19:25 ` Wolfgang Schuster [this message]
2012-07-24 19:29 ` Shriramana Sharma
2012-07-24 21:21 ` Hans Hagen
2012-07-24 21:52 ` Khaled Hosny
2012-07-24 19:34 ` Marco
2012-07-25 2:33 ` Shriramana Sharma
2012-07-25 3:08 ` Aditya Mahajan
2012-07-25 4:39 ` Shriramana Sharma
2012-07-25 4:59 ` Rogers, Michael K
2012-07-25 5:06 ` Shriramana Sharma
2012-07-25 7:04 ` Marco
2012-07-25 7:43 ` Mojca Miklavec
2012-07-25 13:12 ` Wolfgang Schuster
2012-07-25 12:34 ` Rogers, Michael K
2012-07-25 7:35 ` Hans Hagen
2012-07-25 7:41 ` Mojca Miklavec
2012-07-25 7:53 ` Hans Hagen
2012-07-25 8:16 ` Shriramana Sharma
2012-07-25 8:22 ` luigi scarso
2012-07-25 8:24 ` Hans Hagen
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=4164D9A2-2E0A-4EE1-961F-1E9FCE3FD8FF@gmail.com \
--to=schuster.wolfgang@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).