Cambiar la pestaña de clase de factura

Cambiar la pestaña de clase de factura

Esto es de una pregunta anterior, pero me pregunto cómo puedo cambiar el siguiente código para que la pestaña de cantidad diga "artículos" en lugar de "horas".

\documentclass{invoice}

\def \tab {\hspace*{3ex}} 

\begin{document}

\hfil{\Huge\bf Initech Inc.}\hfil 
\bigskip\break % Whitespace
\hrule % Horizontal line

123 Broadway \hfill (000) 111-1111 \\ 
City, State 12345 \hfill [email protected]
\\ \\
{\bf Invoice To:} \\
\tab James Smith \\ % Invoice recipient
\tab Generic Corporation \\ % Recipient's company

{\bf Date:} \\
\tab \today \\ 

\begin{invoiceTable}

\feetype{Consulting Services} 

\hourrow{October 3, 2012}{8}{12} 
\hourrow{October 4, 2012}{6.5}{12}
\hourrow{October 5, 2012}{5.25}{12}
\hourrow{October 10, 2012}{9.75}{20}
\hourrow{October 11, 2012}{5}{12.51}

\feetype{Accounting Services} % Fee category description

Respuesta1

Puede utilizar el \unitrowcomando como se muestra en el siguiente MWE:

ingrese la descripción de la imagen aquí \documentclass{factura}

\def \tab {\hspace*{3ex}} 

\begin{document}

\begin{invoiceTable}

\feetype{Consulting Services} 

\unitrow{October 3, 2012}{8}{12}{items}
\hourrow{October 4, 2012}{6.5}

\end{invoiceTable}
\end{document}

información relacionada