scrlttr2 の refline を完全に削除します

scrlttr2 の refline を完全に削除します

のような KOMA 変数を使用したいのですが、をドキュメントに表示したくありmyrefません( を別の場所に置くつもりなので)。 しかし、は効果がないようです。 refline を完全に消すにはどうしたらよいでしょうか?reflinemyrefrefline=false

MWE (refline が消えない場合):

\documentclass{scrlttr2}
\usepackage[british]{babel}
\setkomavar{myref}{letterone}
%\KOMAoptions{refline=false} %%This does NOT WORK
\begin{document}

\begin{letter}{Mrs Mabel Canary\\24 The Street\\Some Village\\
Some Town\\Noshire\\AB1 2YZ}
  \opening{Dear Mrs~Canary}

  This is an imaginary letter.

  This is the second paragraph of the letter.

  \closing{Yours sincerely}

  \ps PS: this is a postscript.

  \encl{Photocopy of something interesting\\
   Photocopy of something rather dull}

  \cc{Prof Important Person\\
   Dr Bor Ing}
\end{letter}

\end{document}

答え1

\removereffields日付を除くすべてのフィールドを参照行から削除するには、次のように使用します。

\documentclass{scrlttr2}
\usepackage[british]{babel}
\setkomavar{myref}{letterone}
\removereffields% <- added

\begin{document}

\begin{letter}{Mrs Mabel Canary\\24 The Street\\Some Village\\
Some Town\\Noshire\\AB1 2YZ}
  \opening{Dear Mrs~Canary}

  This is an imaginary letter.

  This is the second paragraph of the letter.

  \closing{Yours sincerely}

  \ps PS: this is a postscript.

  \encl{Photocopy of something interesting\\
   Photocopy of something rather dull}

  \cc{Prof Important Person\\
   Dr Bor Ing}
\end{letter}

\end{document}

ここに画像の説明を入力してください

関連情報