Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set image as signature #21

Open
ltroj opened this issue Feb 7, 2023 · 1 comment
Open

Set image as signature #21

ltroj opened this issue Feb 7, 2023 · 1 comment

Comments

@ltroj
Copy link

ltroj commented Feb 7, 2023

Is it possible to insert an image (*.png) as a signature using the YAML options?
Or any other workaround?

@vv01f
Copy link

vv01f commented Nov 21, 2024

not as of rn, don't see how to include any tex in the variables directly

trying to implement sth for that may look alike …

change closing in letter.latex:

% OVERRIDES
\closing{%
\usekomavar{closing}
$if(signatureimage)$
\\\includegraphics[scale=1]{$signatureimage$}\\
\usekomavar{signature}
\setkomavar{signature}{}
$endif$
}
$if(ps)$\ps{$ps$}$endif$
$if(encl)$\encl{$encl$}$endif$
% END OVERRIDES

there might be a nicer solution than setting signature to nothing after use.

in YAML:

closing: Mit freundlicen Grüßen,
signature: Erika Musterfrau
signatureimage: signature.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants