Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 29b14fd023

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
Makefile
README
bon.cls
bon.log
bon_template.svg
icon.png
pizzaproxy_logo.pdf
pizzaproxy_logo.pdf_tex
pizzaproxy_logo.svg
pizzaproxy_logo_sw.pdf
pizzaproxy_logo_sw.pdf_tex
readme.txt
template.aux
template.log
template.pdf
template.prn
template.tex

README

bon.cls provides a quick 'n dirty latex class to design -pretty obvious- bons.

The latex file itself is built like this:

%Start of file
\documentclass{bon}

%Height is calculated by this formula: HEIGHT=(Number of orders+2)*14pt + Head Size[in pt=85.33]+5pt
\usepackage[paperwidth=80mm,paperheight=<HEIGHT>pt,top=2mm, bottom=2mm, left=0mm, right=0mm]{geometry}
\begin{document}
\code{<FOUR DIGIT ORDER CODE>}
\head
\startorder
%For every order, add this adjusted statement
\addorder{<NAME OF THE ORDER>}{<PRICE OF THE ORDER WITHOUT CURRENCY SIGN>}
%After your orders, add the total price summary
\total{<SUM OF ORDER PRICES>}
\finishorder
%if less than 10 orders:
% (10-orders)*12pt
\vspace{96pt}
\end{document}
%End of file

Something went wrong with that request. Please try again.