On 4 Nov 2006, at 13:10, Stroller wrote:
> On 4 Nov 2006, at 06:39, Dr Eberhard Lisse wrote:
>> ...so try this fragment:
>>
>> \usepackage{ifthen}
>> \usepackage{numprint}
>>
>> \begin{tabularx}{\textwidth}{lXrlr}
>> Part & Description & Price & & Amount \\
>> <%foreach number%>
>> <%number%> &
>> <%description%> &
>> % \ifthenelse{\lengthtest{<%qty%>pt>1pt}}{\pounds <%sellprice%>}
>> {}}}}&
> \ifthenelse{\lengthtest{<%qty%>pt>1pt}{\pounds <%sellprice%>}{}} &
>> % \ifthenelse{\lengthtest{<%qty%>pt>1pt}}{x <%qty%>}{}}}} &
> \ifthenelse{\lengthtest{<%qty%>pt>1pt}{x <%qty%>}{}} &
>> \pounds <%linetotal%> \\ % end of table row
>> <%end number%>
>> \end{tabularx}
Ooops! My bad.
That bracketing prevents the /pounds from showing on my system. I
_think_ this is right:
\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.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sql-ledger-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sql-ledger-users