diff --git a/kvittomall/logo.pdf b/kvittomall/logo.pdf new file mode 100644 index 0000000000000000000000000000000000000000..49922dfbf915b0f5c1d04f1f2aaf4065fe7f3e98 Binary files /dev/null and b/kvittomall/logo.pdf differ diff --git a/kvittomall/mall.tex b/kvittomall/mall.tex new file mode 100644 index 0000000000000000000000000000000000000000..f3ddeb36a967dec2cd4c1bf6af2aa3c510fc038b --- /dev/null +++ b/kvittomall/mall.tex @@ -0,0 +1,97 @@ +\documentclass[a4paper]{article} + +\def\bCHKa{def} + +\def\VDEFAULT{~} + +\usepackage{parskip} +\usepackage{geometry} +\usepackage{graphicx} +\usepackage{hyperref} +\usepackage{amssymb} + +%\usepackage{lua-visual-debug} + +\def\omrg{15mm} + +\pagenumbering{gobble} +%\geometry{right = 15mm, left = 15mm, top = 15mm, bottom = 2cm} +\geometry{inner=0mm, right=0mm, left=0mm} +\geometry{top=\omrg, bottom=2cm} +\geometry{rmargin=\omrg, lmargin=\omrg} + +\newcommand{\fline}[2]{#1~\vspace{2pt}\par~\textit{#2}~\vspace{2pt}\hrule{}\vspace{2pt}\par{}} +\newcommand{\mscline}[1]{\par\vspace{7mm}\smash{\quad \textit{#1}}\vspace{3mm}\hrule} +\renewcommand{\familydefault}{\ttdefault} + +\newcommand{\dfval}[2]{\ifcsname #1\endcsname\else\expandafter\def\csname #1\endcsname{#2}\fi} +\newcommand{\tern}[3]{\ifcsname #1\endcsname #2\else #3\fi} + +\newcommand{\checke}{$\square{}$\hspace{1pt}} +\newcommand{\checkf}{$\square{}$\hspace{1pt}\llap{{$\checkmark$}}} + +\dfval{VDATE}{\VDEFAULT} +\dfval{VDESC}{\VDEFAULT} +\dfval{VNAME}{\VDEFAULT} +\dfval{VTSUM}{\VDEFAULT} + +\dfval{VFLDA}{\VDEFAULT} +\dfval{VFLDB}{\VDEFAULT} +\dfval{VFLDC}{\VDEFAULT} +\dfval{VFLDD}{\VDEFAULT} +\dfval{VFLDE}{\VDEFAULT} +\dfval{VFLDF}{\VDEFAULT} + +\begin{document}% +\begin{minipage}[t][.99\textheight][t]{85mm}% +\vspace{-\topskip}\centering +\framebox[85mm]{\parbox[t][\textheight][t]{75mm}{\vspace{1cm}{\large{} +Fäst kvittot i rutan.\par{}~\par{}% +Kvitton som är hela A4 häftas bakom mallen.\par{}~\par{}% +Endast ett kvitto per mall.}\vfill{}}}\hfill{} +\end{minipage}\hfill{}% +\begin{minipage}[t][.99\textheight][t]{.5\textwidth}% +\vspace{-\topskip} +{\huge \textbf{Kvittomall}}\hfill{} +\includegraphics[width=3cm]{logo.pdf}% +\vspace{5mm}\hrule\vspace{2pt} +\fline{Datum på kvittot:}{\VDATE} +\fline{Beskrivning:}{\VDESC} +\fline{Namn:}{\VNAME} +\fline{Belopp (SEK):}{\VTSUM}\vspace{2pt} +{\small Avrunda uppåt till hela kronor vid utlägg privat.} + +\vspace{5mm} + +{\large{}% +\hfill{}\begin{tabular}{l c} +Utlägg privat & \tern{BCHKA}{\checkf}{\checke}\\ +Pengar ur kassa & \tern{BCHKB}{\checkf}{\checke} \\ +Faktura & \tern{BCHKD}{\checkf}{\checke}\\ +Pantretur & \tern{BCHKC}{\checkf}{\checke}\\ +\end{tabular}\hfill{}}\vspace{5mm} + +{\LARGE Övrigt} + +{\small Ange bank samt clearning- \& kontonummer vid utlägg privat.}% +\mscline{\VFLDA} +\mscline{\VFLDB} +\mscline{\VFLDC} +\mscline{\VFLDD} +\mscline{\VFLDE} +\mscline{\VFLDF} + +\vspace{10mm} + +\quad{}\dotfill{}Kassörens anteckningar\dotfill{}\quad{} + +\vfill + +\ifdefined\USEQR +\hfill +\includegraphics[width=3cm]{qr.eps} +\fi + +\end{minipage}%\hfill{} + +\end{document}