ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "N. Lindenhayn" <mehl@lindenhayn.com>
To: ntg-context@ntg.nl
Subject: LuaTeX + microtype: Small Caps vs. Letter Spacing
Date: Tue, 14 Jun 2011 21:52:02 +0200	[thread overview]
Message-ID: <4DF7BBE2.7050504@lindenhayn.com> (raw)
In-Reply-To: <mailman.1523.1308061714.4231.ntg-context@ntg.nl>

Hi everyone,

I'm happy to see that by now almost all of microtype's features are 
available in Lua, almost like in the old days. There's one thing that 
seems a bit strange, though:

While I have no trouble applying letter spacing using \textls or 
\lsstyle to regular, italic, or bold text, I can't get it to work on 
small caps. What's even stranger: while this problem occurs with all 
fonts I've tried, it does /not/ occur when I don't specify a font at 
all. Consider the example below. The only way to get the correct output, 
with spaced small caps, is to deactivate the \setmainfont line -- which 
obviously isn't what you'd want :)

Any hints are appreciated; chances are I just have to add a thing here 
or there.

best
Nils.

\documentclass{scrartcl}
\usepackage{fontspec,microtype}
\setmainfont{Minion Pro}%or TeX Gyre Termes, or Latin Modern Roman...
\begin{document}
stealing sheep\par
\textls{stealing sheep}\par
\textsc{stealing sheep}\par
\textls{\textit{stealing sheep}}\par
\textls{\textbf{stealing sheep}}\par
\textls{\textsc{stealing sheep}}
\end{document}
___________________________________________________________________________________
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:[~2011-06-14 19:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1523.1308061714.4231.ntg-context@ntg.nl>
2011-06-14 19:52 ` N. Lindenhayn [this message]
2011-06-15  7:33   ` Hans Hagen
2011-06-15  8:59     ` Ulrike Fischer
2011-06-15  9:48       ` Hans Hagen
2011-06-15 10:51         ` Ulrike Fischer
2011-06-15 11:31           ` Hans Hagen
2011-06-15 17:12             ` N. Lindenhayn
2011-06-15 17:33               ` 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=4DF7BBE2.7050504@lindenhayn.com \
    --to=mehl@lindenhayn.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).