From 7398e127e6b600054c20deafb3fae075adeafd8f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 30 Nov 2013 15:09:03 +0000 Subject: -card template --- contrib/businesscards/Makefile | 15 + contrib/businesscards/card.pdf | Bin 0 -> 102826 bytes contrib/businesscards/card.tex | 122 ++ contrib/businesscards/fields.tex | 28 + contrib/businesscards/gnunet-logo.pdf | Bin 0 -> 91138 bytes contrib/businesscards/gnunet-logo.svg | 3140 +++++++++++++++++++++++++++++++++ 6 files changed, 3305 insertions(+) create mode 100644 contrib/businesscards/Makefile create mode 100644 contrib/businesscards/card.pdf create mode 100644 contrib/businesscards/card.tex create mode 100644 contrib/businesscards/fields.tex create mode 100644 contrib/businesscards/gnunet-logo.pdf create mode 100644 contrib/businesscards/gnunet-logo.svg (limited to 'contrib') diff --git a/contrib/businesscards/Makefile b/contrib/businesscards/Makefile new file mode 100644 index 000000000..5575de95f --- /dev/null +++ b/contrib/businesscards/Makefile @@ -0,0 +1,15 @@ +FILENAME = card +OPTIONS = --shell-escape + +all: + pdflatex $(OPTIONS) $(FILENAME).tex + pdflatex $(OPTIONS) $(FILENAME).tex + +clean: + rm -fv $(FILENAME).dvi + rm -fv $(FILENAME).ps + rm -fv *.aux + rm -fv $(FILENAME).log + rm -fv $(FILENAME).toc + rm -fv $(FILENAME).bbl + rm -fv $(FILENAME).blg diff --git a/contrib/businesscards/card.pdf b/contrib/businesscards/card.pdf new file mode 100644 index 000000000..b22e5c38e Binary files /dev/null and b/contrib/businesscards/card.pdf differ diff --git a/contrib/businesscards/card.tex b/contrib/businesscards/card.tex new file mode 100644 index 000000000..afc8131af --- /dev/null +++ b/contrib/businesscards/card.tex @@ -0,0 +1,122 @@ +\documentclass[14pt,a4paper,oneside,ngerman]{scrartcl} + +\usepackage{geometry} +\geometry{paperwidth=95mm, paperheight=65mm,left=0mm,right=0mm, top=0mm, bottom=0mm} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{graphicx} +\usepackage{units} +\usepackage{tikz} +\usepackage{pst-barcode} +\usepackage{auto-pst-pdf} +\usetikzlibrary{positioning,shapes,shadows,arrows} + +\input{fields.tex} + +% =============================================================== +% Font type +% =============================================================== +\renewcommand{\rmdefault}{phv} +\renewcommand{\seriesdefault}{m} +\renewcommand{\shapedefault}{n} +% =============================================================== + +\definecolor{MyBlack}{cmyk}{0,0,0,1} % Black + +\setlength\parindent{0pt} + + +\newlength{\width} +\newlength{\height} +\setlength{\width}{85mm} +\setlength{\height}{55mm} + + +\newcommand{\card}[1]{% + \begin{tikzpicture}[font=\tiny] + \draw[-,line width=1pt,MyBlack] (-5mm,0mm) to (-2mm,0mm); + \draw[-,line width=1pt,MyBlack] (0mm,5mm) to (0mm,2mm); + + \draw[-,line width=1pt,MyBlack] [xshift=2mm](\width,0mm) to [xshift=3mm](\width,0mm); + \draw[-,line width=1pt,MyBlack] (\width,5mm) to (\width,2mm); + + \draw[-,line width=1pt,MyBlack] (-5mm,-\height) to (-2mm,-\height); + \draw[-,line width=1pt,MyBlack] [yshift=-2mm](0mm,-\height) to [yshift=-3mm](0mm,-\height); + + \draw[-,line width=1pt,MyBlack] [xshift=2mm](\width,-\height) to [xshift=3mm](\width,-\height); + \draw[-,line width=1pt,MyBlack] [yshift=-2mm](\width,-\height) to [yshift=-3mm](\width,-\height); + + + %\draw[-,line width=1pt,MyBlack] (-5mm,0mm) to (90mm,0mm); + %\draw[-,line width=1pt,MyBlack] (-5mm,-55mm) to (90mm,-55mm); + %\draw[-,line width=1pt,MyBlack] (-0mm,5mm) to (0mm,-60mm); + %\draw[-,line width=1pt,MyBlack] (85mm,5mm) to (85mm,-60mm); + + %\draw[-,line width=0.1mm,MyBlack!50] (44.5mm,0mm) to (44.5mm,-55mm); + + \node at (78mm,-7mm) {\includegraphics[height=7mm]{gnunet-logo.pdf}}; + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-16mm) {\orga}; + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-21.5mm) {\ifthenelse{\equal{#1}{english}}{\departmenten}{\departmentde}}; + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-24.0mm) {\ifthenelse{\equal{#1}{english}}{\subdepartmenten}{\subdepartmentde}}; +% \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-26.5mm) {\ifthenelse{\equal{#1}{english}}{}{und Netzdienste}}; + + + \ifthenelse{\equal{\gpglineone}{}\or\equal{#1}{german}}{% + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-35mm) {\street}; + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-37.5mm) {\city}; + + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-41.5mm) {Tel}; + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-44.0mm) {Fax}; + \node[rectangle,draw=white,minimum height=7pt,text width=30mm,inner sep=0pt] at (65mm,-41.5mm) {\phone}; + \node[rectangle,draw=white,minimum height=7pt,text width=30mm,inner sep=0pt] at (65mm,-44.0mm) {\fax}; + + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-48.0mm) {\email}; + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-50.5mm) {\homepage}; + }% + {% + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-35.0mm) {\email}; + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-37.5mm) {\homepage}; + + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-44.0mm) {GPG Fingerprint:}; + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-46.5mm) {\gpglineone}; + \node[rectangle,draw=white,minimum height=7pt,text width=37.5mm,inner sep=0pt] at (64.25mm,-49.0mm) {\gpglinetwo}; + }% + + + \ifthenelse{\equal{\gns}{}\or\equal{#1}{english}}{% + \node[rectangle,draw=white,minimum height=7pt,text width=41mm,inner sep=0pt] at (24.25mm,-21.0mm) {\ifthenelse{\equal{\prefix}{}}{}{\tiny \prefix}}; + \node[rectangle,draw=white,minimum height=7pt,text width=41mm,inner sep=0pt] at (24.25mm,-24.0mm) {\fontsize{8pt}{8pt}\selectfont \textbf{\name}\ifthenelse{\equal{\suffix}{}}{}{, \tiny \suffix}}; + \node[rectangle,draw=white,minimum height=7pt,text width=41mm,inner sep=0pt] at (24.25mm,-29.0mm) {\ifthenelse{\equal{#1}{english}}{\textit{\jobtitleenglish}}{\textit{\jobtitlegerman}}}; + }% + {% + \node[rectangle,draw=black,line width=1pt,inner sep=0pt] at (12.5mm,-14.75mm) {\begin{pspicture}(17mm,17mm) \psbarcode{\gns}{}{qrcode}\end{pspicture}}; + \node[rectangle,draw=white,minimum height=7pt,text width=41mm,inner sep=0pt] at (24.25mm,-32.0mm) {\ifthenelse{\equal{\prefix}{}}{}{\tiny \prefix}}; + \node[rectangle,draw=white,minimum height=7pt,text width=41mm,inner sep=0pt] at (24.25mm,-35.0mm) {\fontsize{8pt}{8pt}\selectfont \textbf{\name}\ifthenelse{\equal{\suffix}{}}{}{, \tiny \suffix}}; + \node[rectangle,draw=white,minimum height=7pt,text width=41mm,inner sep=0pt] at (24.25mm,-41.5mm) {\ifthenelse{\equal{#1}{english}}{\textit{\jobtitleenglish}}{\textit{\jobtitlegerman}}}; + }% + \end{tikzpicture} +}% + + + + +\begin{document} + + +\begin{figure} + \begin{center} + \card{german} + \end{center} +\end{figure} + +\clearpage + +\begin{figure} + \begin{center} + \card{english} + \end{center} +\end{figure} + + +\end{document} + diff --git a/contrib/businesscards/fields.tex b/contrib/businesscards/fields.tex new file mode 100644 index 000000000..b1c9a1157 --- /dev/null +++ b/contrib/businesscards/fields.tex @@ -0,0 +1,28 @@ +% =============================================================== +% MANDATORY FIELDS +% =============================================================== +\def\name{Wau} +\def\orga{CCC e.V.} +\def\departmenten{Subdivision for Propaganda} +\def\departmentde{Propagandaministerium} +\def\subdepartmenten{Internet division} +\def\subdepartmentde{Internetministerium} +\def\street{Piratenstrasse 1} +\def\city{12345 Berlin} + +\def\phone{+49.123.456.789} +\def\fax{+49.123.456.987} +\def\email{king@ccc.de} +\def\homepage{http://ccc.de/$\sim$wau/} +% =============================================================== + +% =============================================================== +% OPTIONAL FIELDS +% =============================================================== +\def\prefix{Prof. Dr. Dr.} +\def\suffix{PhD} +\def\jobtitlegerman{K\"onig} +\def\jobtitleenglish{King} +\def\gpglineone{FBCF 4AEC E775 DFFC 942D} +\def\gpglinetwo{4ADF F0A1 279D 4961 3020} +\def\gns{gnunet://gns/MYKEY/nick} diff --git a/contrib/businesscards/gnunet-logo.pdf b/contrib/businesscards/gnunet-logo.pdf new file mode 100644 index 000000000..fcc7b10bf Binary files /dev/null and b/contrib/businesscards/gnunet-logo.pdf differ diff --git a/contrib/businesscards/gnunet-logo.svg b/contrib/businesscards/gnunet-logo.svg new file mode 100644 index 000000000..8aff362c6 --- /dev/null +++ b/contrib/businesscards/gnunet-logo.svg @@ -0,0 +1,3140 @@ + + + + + + + + + image/svg+xml + + + + Nicklas Larsson + + + GNUnet logo + 14.7.2005 + + + The GNU Project + + + + + GNUnet + logo + + + http://gnunet.org/ + Official logo of the GNUnet project. Combines the GNU logo with a spider-net. + + + Concept: Christian Muellner +GNU head: GNU + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3