I am tryint to get the same footer on all pages as the first page in scrlttr2. After some googling I came up with this code:
\documentclass{scrlttr2}
\begin{document}
\firstfoot{\footnotesize%
\rule[3pt]{\textwidth}{.4pt} \\
\begin{tabular}[t]{l@{}}%
Super Man\\
Super Straße 30\\
12345 Super Town
\end{tabular}%
\hfill
\begin{tabular}[t]{l@{}}%
Telefon: +49123456789\\
super.man@gmail.com\\
\end{tabular}%
\hfill
\begin{tabular}[t]{l@{}}%
Bankverbindung: \\
IBAN: DEXX XXXX XXXX XXXX XX\\
BIC: XXXXXXXXXXXXX
\end{tabular}%
}%
\addtokomafont{pagefoot}{\normalfont}
\pagestyle{headings}
\nextfoot{\usekomavar{firstfoot}}
\begin{letter}{Addr}
\opening{}
% You have to fill enough text to get to the second page
\closing{}
\end{letter}
\end{document}
You have to fill the comment with lorem ispum or something else to generate a second page!
But I have the following problems:
\pagestyle{headings}
also inserts the headers on the next page. I do not want that!- The footer on the next page is not rendered correctly. It looks like this:
while on the first page it looks like this:
Why?
Best Answer
To remove the header on the next pages use
For the second problem use a
\parbox
insidefirstfoot
Note that firstfoot is a variable too and command
\firstfoot
is depreciated.But the footer will still have a different position and width on the two pages:
Pagestyle
plain
with packagescrlayer-scrpage
I would load package
scrlayer-scrpage
and use a plain page style on all pages.The following examples uses the normal
plain
style. Only the footsepline is a bit shifted upwards.But you can also change the vertical position and the width of the footer to your needs. Here is an example similar to the normal
firstfoot
settings.