私は現在論文を執筆中で、たくさんのメール変換を含める必要があります。私は古典論文どのようにフォーマットするかが気になるスタックされたコンバージョンさらに、あなたはどのように対処しますか?メールヘッダー、署名そして改行\\
s: なぜ常に追加する必要があるのですか?
これは現在私が実験している構成です:
\documentclass[
oneside,
openright,
titlepage,
dottedtoc,
numbers=noenddot,
headinclude,
footinclude=true,
cleardoublepage=empty,
abstractoff,
BCOR=5mm,
paper=a4,
fontsize=11pt,
ngerman,
american
]
{scrreprt}
\PassOptionsToPackage{utf8}{inputenc}
\usepackage{inputenc}
\usepackage{blindtext}
\usepackage{framed}
% Vertical line that highlights quotations in an email.
% Use \begin{leftbar} and \end{leftbar} environment.
% Width of the line = 0.4pt
% Space between the line and the text = 10pt
% Requires \usepackage{framed}
\renewenvironment{leftbar}{%
\def\FrameCommand{\vrule width 0.4pt \hspace{10pt}}%
\MakeFramed {\advance\hsize-\width \FrameRestore}}%
{\endMakeFramed}
\usepackage{nicefrac}
\usepackage[english]{babel}
\usepackage[pdfspacing]{classicthesis}
\begin{document}
\selectlanguage{ngerman} % american ngerman
% Disable paragraph indentation.
\setlength{\parindent}{0pt}
\begin{verbatim}
From: [email protected]
Subject: Your inquiry from 20042012
Date: Thu, 3 May 2012 11:34:54 +0200
To: Jane Doe <[email protected]>
\end{verbatim}
Jane Doe wrote:
\begin{leftbar}
\begin{leftbar}
\begin{leftbar}
\begin{leftbar}
There are a couple of questions I like to ask. Please forward them if you cannot do so.
\end{leftbar}
I hope I can answer them after holidays.
\end{leftbar}
I am back from holidays now and will look through your questionaire the next days.
\end{leftbar}
Thank you, Mr. Doe - I am awaiting your answers.
\end{leftbar}
Dear Mrs. Doe,\\
\ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut molestie placerat pharetra. In quam leo, tincidunt ut consequat eget, malesuada sit amet urna. Morbi et interdum arcu. Nullam nisi nunc, ullamcorper vitae pulvinar eu, suscipit ut augue.\\
\ Donec risus mi, accumsan ac interdum id, molestie sed mauris. Suspendisse porttitor luctus justo in ullamcorper. Proin in neque magna. Mauris quis arcu eget enim mattis pharetra vitae a dolor. Nam aliquam consectetur mollis. Ut at sem quis dolor faucibus fringilla. Quisque cursus vehicula odio, vitae placerat ipsum dapibus id.\\
\ Best regards\\
John Doe\\
\ (See attached file: Questions\_Doe.doc)
\begin{verbatim}
_______________________________________________________
Administration New York
John Doe
Mainstr. 3
11111 New York
T: (011) 212-4301
F: (011) 212-954301
M: [email protected]
\end{verbatim}
\begin{leftbar}
My question
I looking forward to reading the answers to my questions:\\
\ 1. Is the world analog or digital?
\end{leftbar}
digital
\begin{leftbar}
2. How long does the world exist?
\end{leftbar}
analog since 1984, digital since 1999
\end{document}
上記の LaTeX の例は次のようになります。
私も見ました同様の質問しかし、私は色を使いたくありません>
。私の設定はこれに触発されていますフランス語への変換この質問。
答え1
あなたの戦略は基本的に良いものです。私はいくつかの変更を提案します。\\
あなたが尋ねた煩わしさを解消するには、\parskip
段落間のスキップを定義するために長さを使用するだけです。その後、\\
段落内で改行が必要な場合のみ が必要になります (ここでの唯一の改行は挨拶文です)。また、環境はleftbar
(Tex コード ソースでは) 構造体ほど読みやすくないことがわかりました。そのため、 という名前のマクロ構造体に置き換えました。また、出力のスペースを節約するために、のように入力時に余分なスペースを自動的に提供し\embed
ないようにしました。\embed
leftbar
もちろん、これらはすべて好みの問題です。読者に情報を明確に伝えることがすべてです。
\documentclass[
oneside,
openright,
titlepage,
dottedtoc,
numbers=noenddot,
headinclude,
footinclude=true,
cleardoublepage=empty,
abstractoff,
BCOR=5mm,
paper=a4,
fontsize=11pt,
ngerman,
american
]
{scrreprt}
\PassOptionsToPackage{utf8}{inputenc}
\usepackage{inputenc}
\usepackage{blindtext}
\usepackage[english]{babel}
\usepackage[pdfspacing]{classicthesis}
\usepackage{scalerel}
\usepackage{calc}
\global\newcounter{embedlevel}
\global\newlength\embedspace
\embedspace=2ex
\setcounter{embedlevel}{1}
\newcommand\embed[1]{%
\stepcounter{embedlevel}%
\stretchrel{\rule{0.2ex}{1ex}}{\hspace{1.8ex}\parbox{%
\textwidth-\value{embedlevel}\embedspace}{%
\rule{0ex}{2ex}#1\rule[-1.3ex]{0ex}{1.3ex}%
}}%
\vspace{.5ex}%
\addtocounter{embedlevel}{-1}%
}
\parskip 1.5ex
\begin{document}
\selectlanguage{ngerman} % american ngerman
% Disable paragraph indentation.
\setlength{\parindent}{0pt}
\begin{verbatim}
From: [email protected]
Subject: Your inquiry from 20042012
Date: Thu, 3 May 2012 11:34:54 +0200
To: Jane Doe <[email protected]>
\end{verbatim}
Jane Doe wrote:
\embed{%
\embed{%
\embed{%
\embed{%
There are a couple of questions I like to ask. Please forward them if
you cannot do so.
}
I hope I can answer them after holidays.
}
I am back from holidays now and will look through your questionaire the next days.
}
Thank you, Mr. Doe - I am awaiting your answers.
}
Dear Mrs. Doe,
Nullam nisi nunc, ullamcorper vitae pulvinar eu, suscipit ut augue.
Donec risus mi. Nam aliquam consectetur mollis. Ut at sem quis dolor
faucibus fringilla. Quisque cursus vehicula odio, vitae placerat ipsum
dapibus id.
Best regards,\\
John Doe
(See attached file: Questions\_Doe.doc)
\begin{verbatim}
_______________________________________________________
Administration New York
John Doe
Mainstr. 3
11111 New York
T: (011) 212-4301
F: (011) 212-954301
M: [email protected]
\end{verbatim}
\embed{%
My question
I looking forward to reading the answers to my questions:
1. Is the world analog or digital?
}
digital
\embed{%
2. How long does the world exist?
}
analog since 1984, digital since 1999
\end{document}