<?lsmb#   This is a comment block; it's ignored by the template engine.

   Version:  1.1
   Date:     2022-07-22
   File:     check_multiple.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)" } ?>
\documentclass{scrartcl}
\usepackage{iftex}
\ifpdftex
  %% (pdf)latex
  \usepackage[T1]{fontenc}
  \usepackage[utf8]{inputenc}
\else
  \usepackage{fontspec}
\fi
\usepackage{tabularx}
\usepackage{graphicx}
\usepackage[<?lsmb SETTINGS.papersize ?>paper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}

<?lsmb PROCESS check_base ?>

\begin{document}

\pagestyle{myheadings}
\thispagestyle{empty}

\ifpdftex
  %% (pdf)latex
  \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
\fi

<?lsmb FOR check = checks ?>
<?lsmb name = check.name ?>
<?lsmb INCLUDE check_single
        source = check.source
        control_code = check.control_code
        text_amount = check.text_amount
        decimal = check.decimal
        amount = check.amount
        legal_name = check.legal_name
        street1 = check.street1
        street2 = check.street2
        city = check.city
        state = check.state
        mail_code = check.mail_code
        country = check.country
        memo = check.memo
        invoices = check.invoices
?>
\clearpage
<?lsmb END # FOR check ?>
\end{document}
<?lsmb END # FILTER latex { format="$FORMAT($PROCESSOR)" } -?>
