From: Stroller <lin...@my...> - 2006-11-04 20:18:31
|
On 4 Nov 2006, at 16:31, Dr Eberhard Lisse wrote: > Take the \pounds out everywhere and let me know if it otherwise works. Sorry, I didn't explain clearly. I did a number of "minimal case" test documents and - at least on the invoices I have tried - this bracketing works perfectly: >> \begin{tabularx}{\textwidth}{lXrlr} >> Part & Description & Price & Quantity & Amount \\ >> <%foreach number%> >> <%number%> & >> <%description%> & >> \ifthenelse{\lengthtest{<%qty%>pt>1pt}}{\pounds <%sellprice%>} >> {} & >> \ifthenelse{\lengthtest{<%qty%>pt>1pt}}{x <%qty%>}{} & >> \pounds <%linetotal%> \\ % end of table row >> <%end number%> >> \end{tabularx} Stroller. |