X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e6da9bfba9b98faf0f3f877004ae4bd899426cbd..4f107f67d17eefaa680fc154e990b22cf8d1d659:/insettings.tex diff --git a/insettings.tex b/insettings.tex index 73e7be7ee..17929142e 100644 --- a/insettings.tex +++ b/insettings.tex @@ -45,15 +45,22 @@ \input{\identpath/ident.tex} \ExplSyntaxOn + +%Setze Briefkopf-logo falls vorhanden +\setkomavar{fromlogo}{\includegraphics[width=.25\linewidth]{\identpath/briefkopf}} + % Währungen/Konten \tl_new:N \g_kivi_currency_tl \str_if_in:NnT \lxcurrency {USD} {\tl_gset:Nn \g_kivi_currency_tl {usd}} \str_if_in:NnT \lxcurrency {CHF} {\tl_gset:Nn \g_kivi_currency_tl {chf}} -\tl_if_empty:NT \g_kivi_currency_tl {\tl_gset:Nn \g_kivi_currency_tl {euro}} -% wenn er es nicht kennt dann text übernehmen. -% Problematisch mit Dateistruktur +\str_if_in:NnT \lxcurrency {EUR} {\tl_gset:Nn \g_kivi_currency_tl {euro}} +\tl_if_empty:NT \g_kivi_currency_tl { + \tl_gset:Nn \g_kivi_currency_tl {default} + \edef \currency {\tl_to_str:N \lxcurrency} +} \input{\identpath/\g_kivi_currency_tl _account.tex} + \ExplSyntaxOff