Am 03.12.2010 01:27, schrieb Jeff Kaminsky:
now the zero's are showing.
How can I hide them again?
\usepackage{ifthen}
...
<%foreach number%>
<%runningnumber%> & <%number%> & <%description%> & <%deliverydate%> &
<%qty%> & <%unit%> \ifthenelse{\equal{<%sellprice%>}{0.00}}{}{&
<%sellprice%> & <%discountrate%> & <%linetotal%>} \\
<%end number%>
Now that we speak about LaTeX, another feature: How to add you letter
paper as a background to your templates (thanks to Thomas Brändle for
the tip).
1. save your letter paper as PDF, for example MyCompany.pdf
2. copy the file to your templates folder
3. add to your templates:
\usepackage{eso-pic}
\newcommand\BackgroundPic{
\put(0,0){
\parbox[b][\paperheight]{\paperwidth}{
\vfill
\includegraphics{../<%templates%>/MyCompany.pdf}
}}}
\begin{document}
\AddToShipoutPicture{\BackgroundPic}
MyCompany.pdf it printed in the background, so you can not only add your
company logo, but a watermark behind the text too.
And if you are too lazy (like me) to make such changes to all your
tex-files:
1. copy the commands that you use everywhere to a file preamble.tex. In
my case it's all from:
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
...
to:
...
\begin{document}
\AddToShipoutPicture{\BackgroundPic}
\pagestyle{myheadings}
\thispagestyle{empty}
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
2. delete these commands from your templates
3. add the following line instead:
<%include preamble.tex%>
Regards
Rolf
_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger