請求書クラスの変更タブ

請求書クラスの変更タブ

これは以前の質問からのものですが、数量タブに「時間」ではなく「アイテム」と表示されるようにするには、以下のコードをどのように変更すればよいのでしょうか。

\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

答え1

\unitrow次の MWE に示すようにコマンドを使用できます。

ここに画像の説明を入力してください \documentclass{請求書}

\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}

関連情報