ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Learning about Kerning
@ 2015-09-14 15:33 Michael Guravage
  2015-09-16  6:52 ` Michael Guravage
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Guravage @ 2015-09-14 15:33 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 420 bytes --]

Hi,

I am trying to use kerning in subject titles. \kernchracters works pretty
good, but as you can see in the attached example, there is a gap before the
Ts in Properties, and again in Praefatio and Praefationis. The \stretched
command yields similar results, vis-à-vis the gaps.

If somebody can enlighten me how to properly use kerning in this situation,
I'd be immeasurably grateful.

Cheers,

Michael

[-- Attachment #1.2: Type: text/html, Size: 609 bytes --]

[-- Attachment #2: kerning.tex --]
[-- Type: application/x-tex, Size: 1160 bytes --]

[-- Attachment #3: kerning.pdf --]
[-- Type: application/pdf, Size: 6450 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Learning about Kerning
  2015-09-14 15:33 Learning about Kerning Michael Guravage
@ 2015-09-16  6:52 ` Michael Guravage
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Guravage @ 2015-09-16  6:52 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1382 bytes --]

Hi,

The appearance of a gap before the letter T has nothing to do with kerning
per se, but with my use of smallcaps and kerning.

I solved my problem by defining a font feature and applying it with the
\setff command as described on the wiki.

\setuplayout[header=0pt, footer=0pt]
\setupstretched[width=6.25cm]

\definefontfeature[smallcapitals] [smcp=yes]

\starttext
  \setuphead[subject][style=\setff{smallcapitals},
textstyle={\kerncharacters[.40]}]
  \startsubject[title={Properties of Blood}]
  \stopsubject


\setuphead[subject][style=\setff{smallcapitals},deeptextcommand={\kerncharacters[.40]}]
  \startsubject[title={Properties of Blood}]
  \stopsubject


\setuphead[subject][style=\setff{smallcapitals},deeptextcommand={\stretched}]
  \startsubject[title={Properties of Blood}]
  \stopsubject

\stoptext



On Mon, Sep 14, 2015 at 5:33 PM, Michael Guravage <guravage@gmail.com>
wrote:

> Hi,
>
> I am trying to use kerning in subject titles. \kernchracters works pretty
> good, but as you can see in the attached example, there is a gap before the
> Ts in Properties, and again in Praefatio and Praefationis. The \stretched
> command yields similar results, vis-à-vis the gaps.
>
> If somebody can enlighten me how to properly use kerning in this
> situation, I'd be immeasurably grateful.
>
> Cheers,
>
> Michael
>
>

[-- Attachment #1.2: Type: text/html, Size: 2207 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-16  6:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-14 15:33 Learning about Kerning Michael Guravage
2015-09-16  6:52 ` Michael Guravage

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).