From 4e7ac069b9d79146c3d39a8514bbdbf81f51118e Mon Sep 17 00:00:00 2001 From: Denis Maier Date: Wed, 11 Dec 2019 17:28:11 +0100 Subject: ConTeXt template: Adjustments to title formatting (#5949) Added `\setupinterlinespace` to `title`, `subtitle`, `date` and `author` elements. Otherwise longer titles that run over multiple lines will look squashed as `\tfd` etc. won't adapt the line spacing to the font size. --- data/templates/default.context | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'data/templates/default.context') diff --git a/data/templates/default.context b/data/templates/default.context index b8886d963..5e67eaa67 100644 --- a/data/templates/default.context +++ b/data/templates/default.context @@ -133,18 +133,18 @@ $endfor$ \starttext $if(title)$ \startalignment[middle] - {\tfd $title$} + {\tfd\setupinterlinespace $title$} $if(subtitle)$ \smallskip - {\tfa $subtitle$} + {\tfa\setupinterlinespace $subtitle$} $endif$ $if(author)$ \smallskip - {\tfa $for(author)$$author$$sep$\crlf $endfor$} + {\tfa\setupinterlinespace $for(author)$$author$$sep$\crlf $endfor$} $endif$ $if(date)$ \smallskip - {\tfa $date$} + {\tfa\setupinterlinespace $date$} $endif$ \bigskip \stopalignment -- cgit v1.2.3