我喜欢在 latex 中依次输入发件人和收件人,然后输入子内容,最后输入信件正文。无法在页面中设置发件人和收件人。请告诉我如何使用迷你框。
答案1
检查这是否有用:
\documentclass{letter}
\pagestyle{empty}%%In case the page numbers are not necessary
\begin{document}
From\\
abcd\\
cdefg\\
hijkl\\
\vskip 12pt
To\\
xyz\\
12345\\
LKJH\\
\vskip 24pt
Sub: Here goes my subject\\
\vskip 24pt
Dear xyz,\\
Some text here Some text here Some text here
Some text here Some text here Some text here
Some text here Some text here Some text here
Some text here Some text here Some text here
\flushright{Sincerely,}
\flushright{abcd}
\end{document}
另一个具有预定义环境的:
\documentclass{letter}
\pagestyle{empty}%%In case the page numbers are not necessary
\begin{document}
\address{Street \\ City \\ Country}
\begin{letter}{Company name \\ Street\\ City\\ Country}
\opening{Dear abc}
\dots
\closing{Yours Sincerely,}
\ps{P.S. Here goes ps.}
\encl{Enclosures}
\end{letter}
\end{document}