diff --git a/gefahrgutformular/Dangclass2_2.png b/gefahrgutformular/Dangclass2_2.png new file mode 100644 index 0000000000000000000000000000000000000000..d999fa9c2a78d6e5bd39f8f1cf9098331ce7facb Binary files /dev/null and b/gefahrgutformular/Dangclass2_2.png differ diff --git a/gefahrgutformular/Dangclass2_3.png b/gefahrgutformular/Dangclass2_3.png new file mode 100644 index 0000000000000000000000000000000000000000..b40db6f5c8688feeb0e4d78e7de8fbddfd6eeef6 Binary files /dev/null and b/gefahrgutformular/Dangclass2_3.png differ diff --git a/gefahrgutformular/Dangclass3.png b/gefahrgutformular/Dangclass3.png new file mode 100644 index 0000000000000000000000000000000000000000..ff660d1e07ab88e3d057a25da69ce7619be18a52 Binary files /dev/null and b/gefahrgutformular/Dangclass3.png differ diff --git a/gefahrgutformular/Dangclass8.png b/gefahrgutformular/Dangclass8.png new file mode 100644 index 0000000000000000000000000000000000000000..3d1a4c9e7d0586ea783544ba861a0275645ade7e Binary files /dev/null and b/gefahrgutformular/Dangclass8.png differ diff --git a/gefahrgutformular/gefahrgutformular-new-engines.clo b/gefahrgutformular/gefahrgutformular-new-engines.clo new file mode 100644 index 0000000000000000000000000000000000000000..c49558fcf38f8daf55028602a2d6796a8b6ae78b --- /dev/null +++ b/gefahrgutformular/gefahrgutformular-new-engines.clo @@ -0,0 +1,20 @@ +\ProvidesFile{gefahrgutformular-new-engines.clo}% + [Definitionen f. luaLaTeX/XeLaTeX] + +\RequirePackage{fontspec} +\setsansfont[Ligatures=TeX]{TeX Gyre Pagella} +\setmonofont{AnonymousPro-Regular}[% + Extension = .ttf, + BoldFont = AnonymousPro-Bold, + ItalicFont = AnonymousPro-Italic, + BoldItalicFont = AnonymousPro-BoldItalic, + Scale = 1.034 +] +%\setmonofont[Scale=1.05]{Latin Modern Mono} + +\RequirePackage{newunicodechar} +\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239) +\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE' +\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN' + +\endinput diff --git a/gefahrgutformular/gefahrgutformular-old-engines.clo b/gefahrgutformular/gefahrgutformular-old-engines.clo new file mode 100644 index 0000000000000000000000000000000000000000..9d303ad80dac36ff249fd8bab8dc14eeae40a505 --- /dev/null +++ b/gefahrgutformular/gefahrgutformular-old-engines.clo @@ -0,0 +1,16 @@ +\ProvidesFile{gefahrgutformular-old-engines.clo}% + [Definitionen f. pdfLaTeX] + +\RequirePackage[utf8]{inputenc} +\RequirePackage[T1]{fontenc} +\RequirePackage{textcomp} +\RequirePackage{lmodern} +\RequirePackage{tgheros} +\RequirePackage[ttdefault=true,scale=1.034]{AnonymousPro} +%\RequirePackage[scaled=1.05]{zlmtt}% ist lmodern! + +\DeclareUnicodeCharacter{202F}{\,}% 'NARROW NO-BREAK SPACE' +\DeclareUnicodeCharacter{2009}{\,\hspace{0pt}}% 'THIN SPACE' +\DeclareUnicodeCharacter{00AD}{\-}% 'SOFT HYPHEN' + +\endinput diff --git a/gefahrgutformular/gefahrgutformular.cls b/gefahrgutformular/gefahrgutformular.cls new file mode 100644 index 0000000000000000000000000000000000000000..3c398cd79089fb7ee6ad1a808ab3af38087c91cb --- /dev/null +++ b/gefahrgutformular/gefahrgutformular.cls @@ -0,0 +1,72 @@ +\setcounter{errorcontextlines}{100} +\listfiles +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesClass{Gefahrgutformular} + [2019/04/03 v0.1a Gefahrgutformular (RN/PTB)] + +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\ProcessOptions\relax +\PassOptionsToPackage{paper=a4,pagesize}{typearea} + +\LoadClass[% +,fontsize=10pt +]{scrartcl} + +\RequirePackage{ifxetex,ifluatex} + +\newif\ifXeOrLua \XeOrLuafalse +\ifxetex\XeOrLuatrue\else\ifluatex\XeOrLuatrue\fi\fi + +\ifXeOrLua% XeLaTeX oder luaLaTeX + \input{gefahrgutformular-new-engines.clo} +\else + \input{gefahrgutformular-old-engines.clo} +\fi + +\renewcommand*\familydefault{\sfdefault} + +\newcommand*\vl@doc@style@code{616~00~h} + +\RequirePackage{graphicx,eso-pic,pict2e,picture,xcolor,trimspaces} +\RequirePackage[ngerman]{babel} + +\let\vl@tempdima=\@ovxx +\let\vl@tempdimb=\@ovyy +\let\vl@tempdimc=\@ovdx +\let\vl@tempdimd=\@clnwd +\let\vl@tempdime=\@clnht +\let\vl@tempdimf=\@dashdim +\newcommand\vl@tempa{} + +\AddToShipoutPictureBG{% + \frenchspacing + \AtPageLowerLeft{% + \linethickness{0.6bp}% + \put(18mm,23mm){\framebox(174mm,251mm){}}% + \vl@tempdima=145mm % + \vl@tempdimb=255mm % + \vl@tempdimc=12.67mm % + \put(\vl@tempdima,\vl@tempdimb){% + \includegraphics[width=15mm]{Dangclass2_3.png}}% + \advance\vl@tempdima-\vl@tempdimc + \put(\vl@tempdima,\vl@tempdimb){% + \includegraphics[width=15mm]{Dangclass2_2.png}}% + \advance\vl@tempdima 3\vl@tempdimc + \put(\vl@tempdima,\vl@tempdimb){% + \includegraphics[width=15mm]{Dangclass8.png}}% + \advance\vl@tempdima-\vl@tempdimc + \put(\vl@tempdima,\vl@tempdimb){% + \includegraphics[width=15mm]{Dangclass3.png}}% + %------------------------------------------------------------------ + \put(14mm,26mm){\rotatebox[origin=c]{90}{\tiny \vl@doc@style@code}} + }% +} + +\AtBeginDocument{% + \mbox{} \newpage +} + +\emergencystretch=3em % +\pagestyle{empty} + +\endinput diff --git a/gefahrgutformular/test-gefahrgutformular.pdf b/gefahrgutformular/test-gefahrgutformular.pdf new file mode 100644 index 0000000000000000000000000000000000000000..c246c2f3d71ece79bc922e13bc8559264b649197 Binary files /dev/null and b/gefahrgutformular/test-gefahrgutformular.pdf differ diff --git a/gefahrgutformular/test-gefahrgutformular.tex b/gefahrgutformular/test-gefahrgutformular.tex new file mode 100644 index 0000000000000000000000000000000000000000..e9fae4528a5ce6167f5c69b10a2885f8c7cb4d8e --- /dev/null +++ b/gefahrgutformular/test-gefahrgutformular.tex @@ -0,0 +1,5 @@ +\documentclass{gefahrgutformular} + +\begin{document} +\end{document} +%---------------------------