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

Formal letters, Cover letters, Newsletters
erwann
Posts: 71
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:
  1. \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:
  1. \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 2494 times
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)

erwann
Posts: 71
Joined: Thu Aug 25, 2016 2:24 am

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

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

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

You can fix it by

  1. \let\nrefname\relax


after \begin{letter}.

Stefan
Site admin


Return to “Letters”

Who is online

Users browsing this forum: No registered users and 1 guest