LettersPackage 'lettre': how to hide the 2nd 'Ref #'?

Formal letters, Cover letters, Newsletters
Post Reply
erwann
Posts: 75
Joined: Thu Aug 25, 2016 2:24 am

Package 'lettre': how to hide the 2nd 'Ref #'?

Post by erwann »

Package 'lettre' has two parameters for 'Ref #', that of the recipient, and that the sender:

Code: Select all

\begin{lettre}...\vref{xyz} \nref{abc}...\end{lettre}
I would like to keep the first field, but hide the second field, so I tried this:

Code: Select all

\begin{lettre}...\vref{xyz}...\end{lettre}
, which did not work (see attachment), and \nonref is not allowed. Any suggestion?
Attachments
Screen Shot 2016-08-25 at 8.33.31 PM.png
Screen Shot 2016-08-25 at 8.33.31 PM.png (12.15 KiB) Viewed 44676 times
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
erwann
Posts: 75
Joined: Thu Aug 25, 2016 2:24 am

Re: Package 'lettre': how to hide the 2nd 'Ref #'?

Post by erwann »

PS: it should be \Nref, not \nref, but it doesn't change the outcome.
Attachments
Screen Shot 2016-08-25 at 9.34.20 PM.png
Screen Shot 2016-08-25 at 9.34.20 PM.png (38.4 KiB) Viewed 44671 times
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10266
Joined: Mon Mar 10, 2008 9:44 pm

Package 'lettre': how to hide the 2nd 'Ref #'?

Post by Stefan Kottwitz »

You can fix it by

Code: Select all

\let\nrefname\relax
after \begin{letter}.

Stefan
LaTeX.org admin
Post Reply