
私はInteract
-こちらから入手可能私が文書を準備しているジャーナルには 2 部構成の要約があり、2 番目のセクションは箇条書きのリストにすることができます。
\itemize
しかし、環境内で使用しようとするとabstract
、リストの右余白がアブストラクトの残りの部分と一致しません。どうすればこれを修正できますか?
以下に最小限の例を示します。
\documentclass[british]{interact}
\usepackage{lipsum}
\begin{document}
\articletype{RESEARCH ARTICLE}
\title{Article with bullet list inside abstract}
\author{\name{A.N. Other\textsuperscript{a}\thanks{Contact: A.N. Other. Email: [email protected]}}
\affil{\textsuperscript{a} Some University, Somewhere, XX 12345, USA}}
\maketitle
\begin{abstract}
\lipsum[1].\\
\noindent\textbf{Policy Insights}
\begin{itemize}
\item This line is way too long. It should align with the rest of the abstract. But it goes much too far too the right.
\item It would be nice too if the bullets were left-aligned with the abstract.
\end{itemize}
\end{abstract}
\begin{keywords}
Keywords: Latex; Itemize; Lipsum
\end{keywords}
\section{Introduction}
\end{document}
答え1
これは、.cls ファイルのコード l.36 に記述されているように、リストの と をそれぞれ と に設定するenumitem
ことで実行できます。leftmargin
rightmargin
1pc
5pc
\documentclass[british]{interact}
\usepackage{lipsum}
\usepackage{enumitem}
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.3pt}
\begin{document}
\articletype{RESEARCH ARTICLE}
\title{Article with bullet list inside abstract}
\author{\name{A.N. Other\textsuperscript{a}\thanks{Contact: A.N. Other. Email: [email protected]}}
\affil{\textsuperscript{a} Some University, Somewhere, XX 12345, USA}}
\maketitle
\begin{abstract}
\lipsum[1].\\
\noindent\textbf{Policy Insights}
\begin{itemize}[wide, leftmargin = 1pc, rightmargin = 5pc]
\item \lipsum[1].
\item \lipsum[1].
\end{itemize}
\lipsum[2-10]
\end{abstract}
\end {document}