
elsarticle.cls
段落間に少し縦方向の間隔を空けたい場合、それは反抗的でしょうか?
そうでない場合、\setlength{\parsep}{12pt}
呼び出しドキュメントのプリアンブルに配置しても機能しないのはなぜですか?
では次のように\parsep
設定されますelsarticle.cls
。
\setlength{\parsep}{0pt plus1pt minus1pt}%
\setlength{\parskip}{0pt plus1pt minus1pt}
これを調査できる mwe を次に示します。
\documentclass[review]{elsarticle}
\usepackage{lineno}
\usepackage{lipsum}
\setlength{\parindent}{12pt} % this works
\setlength{\parsep}{12pt} % this not having an effect
% set frequency of line numbers
\modulolinenumbers[2]
\journal{The Periodical}
% `Elsevier LaTeX' style
\bibliographystyle{plainnat}
\begin{document}
\begin{frontmatter}
% include title and subtitle
\title{The title}
% include authors, addresses, corresponding author
\author{Author}
\begin{abstract}
\end{abstract}
\begin{keyword}
easy, should-know-this, trivial, annoying, probably need help with the plus minus representation of lengths thing, apologies in advance
\end{keyword}
\end{frontmatter}
% select to show line numbers
\linenumbers
\tableofcontents
\newpage
% introduction
\section{Introduction}
\lipsum[2]\\
\lipsum[3-4]
\end{document}
答え1
\parskip
の代わりにを変更すべきだったと思います\parsep
。
クラスを使用する出版物に投稿する場合は、elsarticle
印刷された作品のレイアウトを変更しないのが最善ですが、他の用途の場合は変更してみて、苦情がないか確認してください。