LaTeX forum ⇒ LettersPackage 'lettre': how to hide the 2nd 'Ref #'? Topic is solved

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

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

Postby erwann » Fri Aug 26, 2016 3:00 am

Package 'lettre' has two parameters for 'Ref #', that of the recipient, and that the sender:
\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:
\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 17096 times
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)

Recommended reading 2021:

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 #'?

Postby erwann » Fri Aug 26, 2016 3:37 am

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 17091 times
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)

User avatar
Stefan Kottwitz
Site Admin
Posts: 10068
Joined: Mon Mar 10, 2008 9:44 pm

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

Postby Stefan Kottwitz » Fri Aug 26, 2016 11:58 am

You can fix it by

\let\nrefname\relax


after \begin{letter}.

Stefan
LaTeX.org admin


Return to “Letters”

Who is online

Users browsing this forum: No registered users and 0 guests