ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tim Wraight <tim@wraight.net>
To: ntg-context@ntg.nl
Subject: Combining \sc and \em
Date: Thu, 15 Oct 2009 11:03:01 +0100	[thread overview]
Message-ID: <FAE74893-F06C-4875-BB34-D5644561B8B7@wraight.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

Hi,

Under the latest beta (2009.10.02 13:14), it doesn't seem possible to  
access \SerifCapsSlanted by combining the \em and \sc font switches.  
The following test case demonstrates this:

---

\definefont [SlantyCaps][SerifCapsSlanted]
\starttext

{\em Italics works.} \par
{\sc Small caps works.} \par
{\em \sc But how do we combine them?} \par
{\SlantyCaps Except like this?}

\stoptext

---

A project I'm working on has certain words which always appear in  
smallcaps, and I'd like them to be italicised if the context demands  
it (no pun intended).

Greetings from London,
Tim



[-- Attachment #2: main.tex --]
[-- Type: application/octet-stream, Size: 198 bytes --]

\definefont [SlantyCaps][SerifCapsSlanted]
\starttext

{\em Italics works.} \par 
{\sc Small caps works.} \par 
{\em \sc But how do we combine them?} \par 
{\SlantyCaps Except like this?}

\stoptext

[-- Attachment #3: Type: text/plain, Size: 2 bytes --]

  

[-- Attachment #4: main.pdf --]
[-- Type: application/pdf, Size: 11858 bytes --]

[-- Attachment #5: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2009-10-15 10:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 10:03 Tim Wraight [this message]
2009-10-17 15:47 ` Wolfgang Schuster
2009-10-19  9:21   ` Tim Wraight

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=FAE74893-F06C-4875-BB34-D5644561B8B7@wraight.net \
    --to=tim@wraight.net \
    --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).