Am 2020-01-11 um 19:51 schrieb Wolfgang Schuster <wolfgang.schuster.li...@gmail.com>: > > Henning Hraban Ramm schrieb am 11.01.2020 um 19:38: >> Thank you very much! >> I tried a \framed to no avail. > > \framed needs a align setting to allow line breaks. > >> And I thought I needed my own command since I also set color and font, but >> style={\MyDefinedFont\WORD} >> actually works. > > Use \setcharactercasing with style keys when you need multiple settings, it's > faster than \WORD because no group check is needed.
Ok. >> My remaining problem in this case is irregular line spacing if there are >> umlauts, will open a new thread. > > Increase the value for the baseline distance, e.g. > > \defineinterlinespace[chapter][line=3.2ex] > > \setuphead[chapter][interlinespace=chapter] > > or > > \setuphead[chapter][style={\setupinterlinespace[line=3.2ex]}] But I need to keep the line spacing, even if accents collide. E.g. \setupbodyfont[rm,20pt] \setupinterlinespace[8mm] \setuplayout[ width=10cm, %grid=yes, % different, but bad either way ] \showgrid \definefont[TitleFont][SansBold at 24pt][8mm] \def\Blindtext{Ein Anfänger der Gitarre habe Eifer. Mönsch ärgere düch nïcht! Über Állen Wípfeln ìst Ŕüh. O Tannenbaum, wie blau sind deine Nadeln.} \starttext \Blindtext \WORD{\Blindtext} {\TitleFont\Blindtext \WORD{\Blindtext}} \stoptext In my actual use case, my usual line spacing is good for the body text, and the slightly bigger section titles should keep it; there would be no visual(!) collision of accents on uppercase characters with the previous line, but ConTeXt increases the line spacing nevertheless. If I activate the grid, I get double line height only in the section titles with umlauts – quite ugly. Can’t I force the line height? Best, Hraban ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________