我正在使用Interact
Taylor and Francis 期刊的乳胶样式模板 -可在此处获得我正在为其准备文件的期刊有两部分摘要,其中第二部分可以是项目符号列表。
\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
您可以使用 来做到这一点enumitem
,将列表的leftmargin
和分别设置为和,如.cls 文件代码 l.36 所写: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}