我可以通过调整来移动日期位置vspace
,如下所示:
#+LATEX_HEADER: \setkomavar{date}{\flushleft\vspace{-\baselineskip}\today\par
但是,无论我选择哪个值,日期仍然不会移动到接收器上方。我只关心垂直位置。我该怎么做?
答案1
如果只有date
:refline
\documentclass[refline=dateleft]{scrlttr2}
% visualize the position of address and refline
\LoadLetterOption{visualize}
\showfields{address,refline}
\setplength{refvpos}{\useplength{toaddrvpos}}
\addtoplength[-2]{refvpos}{\baselineskip}
\addtoplength{refaftervskip}{\useplength{toaddrheight}}
\addtoplength[2]{refaftervskip}{\baselineskip}
\begin{document}
\begin{letter}{Recipient}
\opening{Hello,}
some Text
\end{letter}
\end{document}