From: Marei Peischl (peiTeX) Date: Wed, 27 Nov 2019 12:54:28 +0000 (+0100) Subject: fix ifkomavar linebreaks X-Git-Tag: release-3.5.6.1~311 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=86c65e3f071cd5849b8d8dfc4d0467b9db1a5de3;p=kivitendo-erp.git fix ifkomavar linebreaks --- diff --git a/kiviletter.sty b/kiviletter.sty index 66cd99151..b02b9ba65 100644 --- a/kiviletter.sty +++ b/kiviletter.sty @@ -264,7 +264,7 @@ align=bl, } \bool_gset_false:N \g_kivi_restore_geometry_bool } -\ExplSyntaxOff +%\ExplSyntaxOff \if@kivi@infobox \newkomavar{locationtitle} @@ -274,19 +274,19 @@ align=bl, \LARGE \usekomavar{locationtitle} \end{flushright} - + \par \medskip \begin{tabularx}{\linewidth}{@{}l<{:}>{\raggedright\arraybackslash}X@{}} \datum&\usekomavar{date}\\ \kundennummer&\usekomavar{customer}\\ - \ansprechpartner&\usekomavar{fromname}\\ - \ifkomavarempty{fromphone}{}{\textTelefon&\usekomavar{fromphone}\\} - \ifkomavarempty{fromemail}{}{\textEmail&\usekomavar{fromemail}\\} + \ansprechpartner&\usekomavar{fromname} + \ifkomavarempty{fromphone}{}{\\\textTelefon&\usekomavar{fromphone}} + \ifkomavarempty{fromemail}{}{\\\textEmail&\usekomavar{fromemail}} \end{tabularx} } \removereffields -\ExplSyntaxOn +%\ExplSyntaxOn \AtBeginLetter{ \ifkomavarempty{title}{}{ \exp_args:Nno\setkomavar{locationtitle}{\scr@title@var}