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 ___________________________________________________________________________________