Page LayoutDisplay Name at Top and Bottom of Letter

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
RyDroid
Posts: 8
Joined: Mon Nov 04, 2013 11:44 pm

Display Name at Top and Bottom of Letter

Post by RyDroid »

Hi.

Currently, I have:
adress
email
etc

object

opening
etc
closing

name
I would like that:
name
adress
email
etc

object

opening
etc
closing

name
It is probably really simple, but I have not found the solution.

That is my current code:

Code: Select all

\documentclass[11pt]{lettre}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[francais]{babel}

% pour enlever le trait de pliage
\makeatletter
\newcommand*{\NoRule}{\renewcommand*{\rule@length}{0}}
\makeatother

\begin{document}

  \begin{letter}{
    Recipient\\ % I also would like to comment that line but I apparently can not!
    %Adresse\\
    %Phone
  }
    % pas de trait de pliage
    \NoRule
    \name{My name}
    \address{Street, CP City, Country}
    \lieu{City}
    \telephone{00 00 00 00 00}
    \nofax
    \email{rydroid@latex.help}
    \conc{Object}

    \opening{Madame, Monsieur,}

    etc

    \closing{Cordialement,}
  \end{letter}
\end{document}
How can I do?

Thanks.
Last edited by localghost on Fri Nov 29, 2013 10:36 am, edited 1 time in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

tom
Posts: 73
Joined: Thu Apr 18, 2013 4:02 am

Display Name at Top and Bottom of Letter

Post by tom »

A quick and easy solution is to add the name as part of the address.

Code: Select all

\address{My name\\ Street, CP City, Country}
RyDroid
Posts: 8
Joined: Mon Nov 04, 2013 11:44 pm

Re: Display Name at Top and Bottom of Letter

Post by RyDroid »

For the moment, I have taken this solution.
But, is there a better and more logical way to do?

Thanks.
Post Reply