73 lines
2.0 KiB
TeX
73 lines
2.0 KiB
TeX
<?lsmb# This is a comment block; it's ignored by the template engine.
|
|
|
|
Version: 1.1
|
|
Date: 2022-07-22
|
|
File: timecard.tex
|
|
Set: demo
|
|
|
|
Template version numbers are explicitly not aligned across templates or
|
|
releases. No explicit versioning was applied before 2021-01-04.
|
|
|
|
Version Changes
|
|
1.1 Merged xelatex targetting templates with those targetting pdflatex
|
|
|
|
-?>
|
|
<?lsmb FILTER latex { format="$FORMAT($PROCESSOR)" };
|
|
# Uncomment the next line to overrule the value from System > Defaults;
|
|
# The value should be without the 'paper' suffix. E.g. "a4" for "a4paper"
|
|
# SETTINGS.papersize = "<your-format>";
|
|
INCLUDE "preamble.tex"; -?>
|
|
|
|
\begin{document}
|
|
|
|
\pagestyle{myheadings}
|
|
\thispagestyle{empty}
|
|
|
|
\ifpdftex
|
|
%% (pdf)latex
|
|
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
|
|
\fi
|
|
|
|
<?lsmb INCLUDE letterhead ?>
|
|
|
|
\centerline{\textbf{\MakeUppercase{<?lsmb text('Time Card') ?>}}}
|
|
|
|
\vspace*{0.5cm}
|
|
|
|
\begin{tabular}[t]{ll}
|
|
\textbf{<?lsmb text('Employee') ?>} & <?lsmb employee ?> \\
|
|
\textbf{<?lsmb text('ID') ?>} & <?lsmb employee_id ?> \\
|
|
\end{tabular}
|
|
\hfill
|
|
\begin{tabular}[t]{ll}
|
|
\textbf{<?lsmb text('Card ID') ?>} & <?lsmb id ?> \\
|
|
\textbf{<?lsmb text('Date') ?>} & <?lsmb transdate ?> \\
|
|
\textbf{<?lsmb text('In') ?>} & <?lsmb checkedin ?> \\
|
|
\textbf{<?lsmb text('Out') ?>} & <?lsmb checkedout ?> \\
|
|
\textbf{<?lsmb text('Hours') ?>} & <?lsmb qty ?> \\
|
|
\end{tabular}
|
|
|
|
\vspace{1cm}
|
|
|
|
\begin{tabular}[b]{ll}
|
|
\textbf{<?lsmb text('Job/Project #') ?>} & <?lsmb projectnumber ?> \\
|
|
\textbf{<?lsmb text('Description') ?>} & <?lsmb projectdescription ?> \\
|
|
\textbf{<?lsmb text('Labor/Service Code') ?>} & <?lsmb partnumber ?> \\
|
|
\textbf{<?lsmb text('Description') ?>} & <?lsmb description ?> \\
|
|
\end{tabular}
|
|
\hfill
|
|
\begin{tabular}[b]{lr}
|
|
\textbf{<?lsmb text('Rate') ?>} & <?lsmb sellprice ?> \\
|
|
\textbf{<?lsmb text('Total') ?>} & <?lsmb total ?> \\
|
|
\end{tabular}
|
|
|
|
\vspace{0.3cm}
|
|
|
|
<?lsmb FOREACH P IN notes.split('\n\n+') ?>
|
|
<?lsmb P ?>\medskip
|
|
|
|
<?lsmb END ?>
|
|
|
|
\end{document}
|
|
<?lsmb END -?>
|