On 25-3-2010 2:55, Yan Zhou wrote:
Dear all,
I am thinking about moving from LaTeX to ConTeXt. But there is one thing make this particularly difficult. That is the microtype LaTeX package. More specifically I have the following questions (assuming I will use MKIV and luatex)
1. I understand that ConTeXt can do margin kerning and font expansion, but is there a way to setup a configuration file for each font set. Like the mt-foo.cfg file for font family foo when using microtype in latex.
you can define additional sets indeed an dpass the defined set as value to the protrusion and expansion features
2. Is there a way to do letterspace in ConTeXt. I understand there is a command called \stretched. But what I want is the feature like the tracking option in microtype package, which can automatically letterspace all small caps. Moreover is there a way to define new sets of fonts for letterspace. For example I defined a new font shape called \capshape, which use case tags of OpenType, and I want to use letterspace this shape with certain amount all the time because I am not satisfied with the space provided by the cpsp tag of OpenType.
i have no clue what microtype does (nor time to look into it) but you can just define a command that switches the font and enables intercharacter spacing, something \definecharacterkerning[mykerning] \setupcharacterkerning[mykerning][\c!factor=.125] \def\MySc {\groupedcommand {\sc\setcharacterkerning[mykerning]} {}} Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------