From 3d9049dad6bacf29ad89d92be3e9b9ac73110f1f Mon Sep 17 00:00:00 2001 From: niepra01 <rolf.niepraschk@ptb.de> Date: Thu, 4 Apr 2019 15:41:48 +0200 Subject: [PATCH] Vorbereitung Base64-Grafik --- gefahrgutformular/gefahrgutformular.cls | 5 ++++- gefahrgutformular/test-gefahrgutformular.pdf | Bin 493857 -> 493857 bytes gefahrgutformular/test-gefahrgutformular.tex | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gefahrgutformular/gefahrgutformular.cls b/gefahrgutformular/gefahrgutformular.cls index fb537bf..309ef3b 100644 --- a/gefahrgutformular/gefahrgutformular.cls +++ b/gefahrgutformular/gefahrgutformular.cls @@ -1,7 +1,7 @@ \setcounter{errorcontextlines}{100} \listfiles \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesClass{Gefahrgutformular} +\ProvidesClass{gefahrgutformular} [2019/04/03 v0.1a Gefahrgutformular (RN/PTB)] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} @@ -61,6 +61,8 @@ \newcommand*\ContactPersonTelephon[1]{\gdef\vl@ContactPersonTelephon{#1}} \newcommand*\vl@SignatureGraphic{} \newcommand*\SignatureGraphic[1]{\gdef\vl@SignatureGraphic{#1}} +\newcommand*\vl@SignatureGraphicBaseLXIV{} +\newcommand*\SignatureGraphicBaseLXIV[1]{\gdef\vl@SignatureGraphicBaseLXIV{#1}} \newcommand*\vl@SenderAddress{} \newcommand*\SenderAddress[1]{\long\gdef\vl@SenderAddress{#1}} \newcommand*\vl@RecipientAddress{} @@ -167,6 +169,7 @@ \put(\vl@tempdimc,-17bp){\makebox(0,0)[c]{% \includegraphics[height=26bp]{\vl@SignatureGraphic}}}% %%% https://ipfs-sec.stackexchange.cloudflare-ipfs.com/tex/A/question/208819.html + %%% https://github.com/csachs/luaimageembed \fi \put(\vl@tempdimc,-45bp){\makebox(0,0)[c]{Unterschrift}}% }% diff --git a/gefahrgutformular/test-gefahrgutformular.pdf b/gefahrgutformular/test-gefahrgutformular.pdf index 8b7c46d9daca05d66347352d93d6248a975b375e..304652c72b2b1292fb2d52e07714a9c0255d51d6 100644 GIT binary patch delta 119 zcmZ2DNp9gJxrP?T7N!>F7M2#)7Pc+y){U&DCWc0a(;XVw<si)M$&Ks_*_@q>jh)>r pjGYZF4NNQ?4V=v#T@77~O&wh=jSP$pjZEznYzQft?%u(E3jmhK9`gVI delta 119 zcmZ2DNp9gJxrP?T7N!>F7M2#)7Pc+y){U$tM&_m#(;XVw<si)M$&Ks_*_>TnOiWzO ooXpHjOkEt^%#ADzO@TZ&OLJ!vQ%6G+V><;KLQ1B)cd*|A0I4k>O8@`> diff --git a/gefahrgutformular/test-gefahrgutformular.tex b/gefahrgutformular/test-gefahrgutformular.tex index 5622c61..fc0d827 100644 --- a/gefahrgutformular/test-gefahrgutformular.tex +++ b/gefahrgutformular/test-gefahrgutformular.tex @@ -9,7 +9,6 @@ \Type{Paket} \ContactPerson{Ute Becker} \ContactPersonTelephon{7467} -\SignatureGraphic{SIG_Ute_Becker.png} \SenderAddress{% PTB\\ AG 7.54\\ @@ -26,6 +25,11 @@ Pfeiffer-vacuum SAS\\ \item 6 Lecks; Druck \SI{1.5}{\bar}; UN 1046; Helium \dots \item 2 Lecks; Druck \SI{1.5}{\bar}; UN 1046; Wasserstoff \dots } +\SignatureGraphic{SIG_Ute_Becker.png} +\SignatureGraphicBaseLXIV{% +iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAAAAABzQ+pjAAAAFElEQVQI12P4z/Cf4f9/BgYGBgYA +IOsD/UqPmwUAAAAASUVORK5CYII= +} \begin{document} \end{document} -- GitLab