Meer, Hans van der <mailto:h.vanderm...@uva.nl>
25. Mai 2016 um 09:44

I implemented it by redefining \tt:
\definecharacterkerning[tight][factor=-.075]
\let\oldtt=\tt
\def\tt{\setcharacterkerning[tight]\oldtt}

However, I find this a bit of a kludge. But opinions may differ, of course. Can this be done in a more general way? For example by setting some font feature?
\definefontfeature[condensed][extend=0.9]

\definefontfamily[normaltt][tt][Latin Modern Mono][designsize=auto,features=none] \definefontfamily[narrowtt][tt][Latin Modern Mono][designsize=auto,features=condensed]

\starttext

\start
  \switchtobodyfont[normaltt]
  \input ward
\stop

\start
  \switchtobodyfont[narrowtt]
  \input ward
\stop

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

Reply via email to