I have two command I have created with \newcommand, both work find. One is \mydate{date_variable} the other is \PrintOne{Variable1}{Variable2}. My problem is I can not figure out how I can put them in two of my columns in a tabularx table.
The TeX report is begin called from a program that is not mine so I do not have any way of changing it. I do know the data being passed to it, and can print everything I need, just not in a tabularx :(
\begin{tabularx}{19cm}{C{5mm} L{1.5cm} L{4.5cm} L{5cm} C{1cm} C{1cm} R{1.25cm} R{1.25cm} }\textbf{#} & \textbf{Number} & \textbf{Description} & \textbf{Notes} & \textbf{Qt'y} &\textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ [0.5em]<%foreach number%><%runningnumber%> & <%number%> & <%description%> & <%itemnotes%>& <%qty%> & <%unit%> & <%sellprice%> & <%linetotal%> \<%end number%>\end{tabularx} ` Think this is what you were looking for. As before, yes I need to be able to print %description% only if %itemnotes% is blank, otherwise print %itemnotes%. – Gregory West Jun 06 '15 at 19:08