我怎样才能删除求职信上的下划线?

我怎样才能删除求职信上的下划线?

我在这里关注:

http://www.kindoblue.nl/articles/cover-letter-part3/

\documentclass[standard,a4paper, pagesize,backaddress=plain]{scrlttr2}    
%\usepackage[english]{babel} 
\begin{document}    
\begin{letter}{    
    Title   \\%    
    Company \\%    
    Adress      \\%    
    City, State Zip
}    
\setkomavar{subject}{Cover Letter}    
\opening{Dear Recruiter,}    
My name is John bla bla bla ...    
\closing{Regards}    
\end{letter}    
\end{document}

这是我所拥有的,但是我从 standard.lco 中获取地址并打印出来如下:

姓名、地址、城市、州邮编、美国

但是,它有下划线...我该如何做才能让它像本教程的作者一样?


这是.lco我正在使用的文件:

\ProvidesFile{standard.lco}[%    
    2002/07/09 v0.9a LaTeX2e unsupported letter-class-option]    
%\usepackage[english]{babel}    
\usepackage{fontspec}
\usepackage{fix-cm} 
\usepackage{marvosym}
% ==================================================    
% PERSONAL DATA
% ==================================================
\setkomavar{fromname}{name}
\setkomavar{fromaddress}{address\\city, state zip\\USA}
\setkomavar{fromphone}{phone number}
\setkomavar{fromemail}{email address}
\setkomavar{place}{city}
\setkomavar{signature}{name}
% ==================================================
% FORMATTING
% ==================================================
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{Tahoma}
\setsansfont{Verdana}
\renewcommand{\normalsize}{\fontsize{11}{16}\selectfont}
\newcommand\myname{%
    {\addfontfeature{LetterSpace=15.0}\fontsize{36}{36}\selectfont\scshape \usekomavar{fromname}}
}
\newcommand\mytitle{%
    \fontsize{21}{21}\selectfont\scshape occupation
}
\setkomavar{firsthead}{
    \centering
        \myname\\[5mm]
        \mytitle
}
\setkomavar{firstfoot}{
    \centering
    \addfontfeature{LetterSpace=20.0}\scshape
    {\renewcommand{\\}{\ {\large\textperiodcentered}\ }
    \usekomavar{fromaddress}\\
    {\Large\Letter} \usekomavar{fromemail} \ {\Large\Telefon} \usekomavar{fromphone}
}   
\endinput

当前,我收到以下错误:

Runaway argument?
{ \centering \addfontfeature {LetterSpace=20.0}\scshape {\renewcommand \ETC.
! File ended while scanning use of \@@setkomavar.
<inserted text> 
                \par 
l.3 \begin
          {document}
? 

为什么会出现这个错误?

答案1

添加选项backaddress=plain,如当前文档第 172 页所述:

\documentclass[
  standard,
  a4paper,
  pagesize,
  backaddress=plain,
]{scrlttr2}

(这种输入选项的方式更方便,因为它可以清楚地显示所有选项)。

在此处输入图片描述

该错误是因为您缺少右括号:

\setkomavar{firstfoot}{
    \centering
    \addfontfeature{LetterSpace=20.0}\scshape
    {\renewcommand{\\}{\ {\large\textperiodcentered}\ }}%<----- Here it was missing
    \usekomavar{fromaddress}\\
    {\Large\Letter} \usekomavar{fromemail} \ {\Large\Telefon} \usekomavar{fromphone}
}   

相关内容