Document ClassesKOMA - \firstfoot produces no output.

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
verbunk
Posts: 18
Joined: Fri Nov 14, 2008 10:48 pm

KOMA - \firstfoot produces no output.

Post by verbunk »

Hi Guys,

I have a letter that I can absolutely not get the footer to work with. \firsthead works fine ...

Code: Select all

\documentclass{scrlttr2}
\usepackage[english]{babel}

\firstfoot{
  \centering
bla bla bla...}

\begin{document}
\begin{letter}{%
           Company\\%
           Address%
    }
    \setkomavar{subject}{Cover Letter}
    \opening{Dear Recruiter,}
My name is Bob Smith 

\closing{Regards}
\end{letter}
\end{document}
Also, how would I go about defining a \lastfoot? That is, I want this footer on the last page only.

Thanks for any assistance!

-J

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

KOMA - \firstfoot produces no output.

Post by localghost »

Your code works fine for me. Perhaps a matter of outdated packages.

Code: Select all

 *File List*
scrlttr2.cls    2009/07/24 v3.04a KOMA-Script document class (letter)
scrkbase.sty    2009/07/24 v3.04a KOMA-Script package (KOMA-Script-dependent ba
sics and keyval usage)
 scrbase.sty    2009/07/24 v3.04a KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty    2009/03/25 v3.03 KOMA-Script package (loading files)
scrsize12pt.clo    2009/07/24 v3.04a KOMA-Script font size class option (12pt)
typearea.sty    2009/07/24 v3.04a KOMA-Script package (type area)
     DIN.lco    2009/07/24 v3.04a KOMA-Script letter-class-option
   babel.sty    2008/07/06 v3.8l The Babel package
 english.ldf    2005/03/30 v3.3o English support from the babel system
 ***********
Since the command you mentioned isn't predefined, a note to the KOMA Script developer may help.


Best regards
Thorsten
verbunk
Posts: 18
Joined: Fri Nov 14, 2008 10:48 pm

Re: KOMA - \firstfoot produces no output.

Post by verbunk »

Hey LG,

The problem turned out to be scrlttr2 needed the option [letterpaper]. It complains about wanting the a4 option set and I'm not sure if that's true or not. It seems to work though.
verbunk
Posts: 18
Joined: Fri Nov 14, 2008 10:48 pm

Re: KOMA - \firstfoot produces no output.

Post by verbunk »

Related to, http://www.latex-community.org/forum/vi ... =4&p=30732

Every way I try to pass that option fails. I can specify letterpaper in the document class but i think it still isn't calculating the typrarea correctly.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

KOMA - \firstfoot produces no output.

Post by localghost »

This link points to your own post thus is a loop.
verbunk wrote:[...] Every way I try to pass that option fails. I can specify letterpaper in the document class but i think it still isn't calculating the typrarea correctly.
I can't really follow in this point. The specification of paper size is clearly shown in the KOMA Script guide (Section 2.6 - Paper format selection, p. 38ff).

Code: Select all

\documentclass[paper=letter]{scrlttr2}
With this option the type area should constructed correctly.
Post Reply