Just a quick addition to Henri’s answer : You can also define your own align definition, see https://www.mail-archive.com/ntg-context@ntg.nl/msg100832.html
That will probably make your life a bit easier.
Best,
Denis
Von: ntg-context
Hello list,
here and there on the Net there are slightly different ways to activate the microtypography functionality in a ConTeXt document.
My question is: what is the most correct and clean way to do it?
I do not claim that this is the cleanest way. Probably it's better to define a separate font feature for microtypography rather than overwriting the default set, but this definitely works: \definefontfeature[default][default] [protrusion=quality, expansion=quality] \setupbodyfont[modern] % or whatever \setupalign[hz,hanging] Unfortunately the global alignment settings do not propagate into certain structures. For example itemizations, captions, and bibliographies just reset it and need special treatment: \setupitemize[each][align={hz,hanging}] \setupbtxlist[align={hz,hanging,tolerant}] \setupcaption[figure][align={justified,hz,hanging}] I think captions are not justified by default, so that might or might not matter to you. Bibliographies are usually full or names and academic words that do not hyphenate well, so adding tolerant relaxes that a little bit. Cheers, Henri
Thanks in advance Tommaso _____________________________________________________________________ ______________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nlmailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net _____________________________________________________________________ ______________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nlmailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________