Skip to content
Snippets Groups Projects
Commit b79ef560 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[verein.git] Try to make Internetmarke

parent f1c1ed0f
No related branches found
No related tags found
No related merge requests found
% Teckids e.V. - Allgemeine Vorlage % Teckids e.V. - Allgemeine Vorlage
%- %-
% Copyright © 2013 % Copyright © 2013, 2015
% Dominik George <nik@naturalnet.de> % Dominik George <dominik.george@teckids.org>
% %
% Copyright © 2014, 2015 % Copyright © 2014, 2015
% Thorsten “mirabilos” Glaser <thorsten.glaser@teckids.org> % Thorsten “mirabilos” Glaser <thorsten.glaser@teckids.org>
...@@ -27,6 +27,9 @@ ...@@ -27,6 +27,9 @@
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{teckids} \ProvidesPackage{teckids}
\RequirePackage{picins}
\RequirePackage{intcalc}
\RequirePackage[utf8]{inputenc} \RequirePackage[utf8]{inputenc}
\RequirePackage[pdftex]{graphics} \RequirePackage[pdftex]{graphics}
\RequirePackage{ngerman} \RequirePackage{ngerman}
...@@ -237,3 +240,20 @@ ...@@ -237,3 +240,20 @@
literate={0}{\0}1{0\ }{\0\ }2, literate={0}{\0}1{0\ }{\0\ }2,
} }
} }
\newcount\stamps
\stamps=0
\newcommand{\briefmarke}[1]{
\newcount\stampoff
\stampoff=\intcalcAdd(#1}{\stamps}
\newcount\page
\page=\intcalcAdd{\intcalcMod{\stampoff}{32}}{1}
\stampoff=\intcalcSub{\stampoff}{\intcalcMul{\page}{32}}
\newcount\row
\row=\intcalcMod{\stampoff}{4}
\stampoff=\intcalcSub{\stampoff}{\intcalcMul{\row}{4}}
\newcount\col
\col=\stampoff
\parpic[r]{\includegraphics[trim=\intcalcAdd{25}{\intcalcMul{\col}{40}}mm \intcalcSub{259}{\intcalcMul{33}{\row}}mm \intcalcSub{177}{\intcalcAdd{25}{\intcalcMul{\col}{40}}mm \intcalcAdd{25}{\intcalcMul{40}{\row}}mm,crop]{\page}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment