Skip to main content
Tweeted twitter.com/StackTeX/status/1380762487570718728
added 2 characters in body
Source Link
haDe
  • 33
  • 4

I'm writing an invoice in LaTeX with KOMA-Script and scrlttr2. But the payment information I have put in the footer is too close/gets cut off by the page bottom. The following example should look like this working example from the internet

but instead looks like this my example

the code I'm using is a copy and paste of the example but with everything removed:

\documentclass{scrlttr2}

\setkomavar{frombank}{Account number \\ Bank name\\
some other info}

\setkomavar{firstfoot}{%
\parbox[t]{\textwidth}{\footnotesize
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{People1:}\\
John Doe\\
Jane Doe\\
Info-\#1 \\
Some Stuff
\end{tabular}%
\hfill
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{CEO:}\\
Jane Doe\\[1ex]
\multicolumn{1}{@{}l@{}}{Court:}\\
Somewhere
\end{tabular}%
\ifkomavarempty{frombank}{}{%
\hfill
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\
\usekomavar{frombank}
\end{tabular}%
}}}

\begin{document}
\begin{letter}{Recipient}
\opening{Dear Readers,}

\closing{Sincerely}
\end{letter}
\end{document}

I am very grateful for any help.

Regards, haDe

I'm writing an invoice in LaTeX with KOMA-Script and scrlttr2. But the payment information I have put in the footer is too close/gets cut off by the page bottom. The following example should look like this working example from the internet

but instead looks like this my example

the code I'm using is a copy and paste of the example but with everything removed:


\setkomavar{frombank}{Account number \\ Bank name\\
some other info}

\setkomavar{firstfoot}{%
\parbox[t]{\textwidth}{\footnotesize
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{People1:}\\
John Doe\\
Jane Doe\\
Info-\#1 \\
Some Stuff
\end{tabular}%
\hfill
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{CEO:}\\
Jane Doe\\[1ex]
\multicolumn{1}{@{}l@{}}{Court:}\\
Somewhere
\end{tabular}%
\ifkomavarempty{frombank}{}{%
\hfill
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\
\usekomavar{frombank}
\end{tabular}%
}}}

\begin{document}
\begin{letter}{Recipient}
\opening{Dear Readers,}

\closing{Sincerely}
\end{letter}
\end{document}

I am very grateful for any help.

Regards, haDe

I'm writing an invoice in LaTeX with KOMA-Script and scrlttr2. But the payment information I have put in the footer is too close/gets cut off by the page bottom. The following example should look like this working example from the internet

but instead looks like this my example

the code I'm using is a copy and paste of the example but with everything removed:

\documentclass{scrlttr2}

\setkomavar{frombank}{Account number \\ Bank name\\
some other info}

\setkomavar{firstfoot}{%
\parbox[t]{\textwidth}{\footnotesize
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{People1:}\\
John Doe\\
Jane Doe\\
Info-\#1 \\
Some Stuff
\end{tabular}%
\hfill
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{CEO:}\\
Jane Doe\\[1ex]
\multicolumn{1}{@{}l@{}}{Court:}\\
Somewhere
\end{tabular}%
\ifkomavarempty{frombank}{}{%
\hfill
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\
\usekomavar{frombank}
\end{tabular}%
}}}

\begin{document}
\begin{letter}{Recipient}
\opening{Dear Readers,}

\closing{Sincerely}
\end{letter}
\end{document}

I am very grateful for any help.

Regards, haDe

Source Link
haDe
  • 33
  • 4

Footer in scrlttr2 gets cut by page end

I'm writing an invoice in LaTeX with KOMA-Script and scrlttr2. But the payment information I have put in the footer is too close/gets cut off by the page bottom. The following example should look like this working example from the internet

but instead looks like this my example

the code I'm using is a copy and paste of the example but with everything removed:


\setkomavar{frombank}{Account number \\ Bank name\\
some other info}

\setkomavar{firstfoot}{%
\parbox[t]{\textwidth}{\footnotesize
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{People1:}\\
John Doe\\
Jane Doe\\
Info-\#1 \\
Some Stuff
\end{tabular}%
\hfill
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{CEO:}\\
Jane Doe\\[1ex]
\multicolumn{1}{@{}l@{}}{Court:}\\
Somewhere
\end{tabular}%
\ifkomavarempty{frombank}{}{%
\hfill
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\
\usekomavar{frombank}
\end{tabular}%
}}}

\begin{document}
\begin{letter}{Recipient}
\opening{Dear Readers,}

\closing{Sincerely}
\end{letter}
\end{document}

I am very grateful for any help.

Regards, haDe