我正在使用 scrartcl 文档类和 scrletter 包撰写求职信。这是我的 MWE:
\documentclass{scrartcl}
\usepackage{scrletter}
\usepackage{lipsum}
\usepackage{natbib}
\usepackage{csquotes}
\usepackage{hyperref,todonotes,longtable}
\hypersetup{pdfborder = {0 0 0}}
\definecolor{webbrown}{rgb}{.6,0,0}
\definecolor{webblue}{rgb}{0,0,0.75}
\hypersetup{pdfpagemode=UseNone, breaklinks=true, colorlinks=true, anchorcolor= webbrown, citecolor= webblue, filecolor= webbrown, linkcolor= webblue, menucolor= webbrown, urlcolor= webbrown, citebordercolor= 1 0 0, menubordercolor=1 0 0, urlbordercolor=1 0 0, runbordercolor=1 0 0}
\begin{document}
\date{}
%\setkomavar{fromname}{Name of Sender}
%\setkomavar{fromaddress}{Address of Sender}
\begin{letter}{December 14, 2021\\To:\\X\\Y\\Role X,Y\\Company}
\opening{Dear X, Dear Y,}
The first citation
\closing{Yours sincerely,}
\bibliographystyle{rfs}
\bibliography{references}
\end{letter}
\end{document}
我使用 scrartcl 是因为我想将文件“references”中包含的参考书目集成到 tex 中。一切正常,但编译后的文档在各节之间包含一些“-”行,我真的不想要它们。我该如何删除它们?我也尝试在 Overleaf 而不是 TexWorks 中使用,但结果相同。
答案1
使用该选项foldmarks=false
可以删除信件的所有折叠标记。
梅威瑟:
\documentclass{scrartcl}
\usepackage[foldmarks=false]{scrletter} % <=============================
\usepackage{lipsum}
\usepackage{natbib}
\usepackage{csquotes}
\usepackage{hyperref,todonotes,longtable}
\hypersetup{pdfborder = {0 0 0}}
\definecolor{webbrown}{rgb}{.6,0,0}
\definecolor{webblue}{rgb}{0,0,0.75}
\hypersetup{pdfpagemode=UseNone, breaklinks=true, colorlinks=true, anchorcolor= webbrown, citecolor= webblue, filecolor= webbrown, linkcolor= webblue, menucolor= webbrown, urlcolor= webbrown, citebordercolor= 1 0 0, menubordercolor=1 0 0, urlbordercolor=1 0 0, runbordercolor=1 0 0}
\begin{document}
\date{}
%\setkomavar{fromname}{Name of Sender}
%\setkomavar{fromaddress}{Address of Sender}
\begin{letter}{December 14, 2021\\To:\\X\\Y\\Role X,Y\\Company}
\opening{Dear X, Dear Y,}
The first citation
\closing{Yours sincerely,}
\bibliographystyle{rfs}
\bibliography{references}
\end{letter}
\end{document}
结果: