我正在尝试制作乳胶班级文件,我想要做的是将摘要和关键词分成两列,如下例所示。我需要帮助修改班级文件看起来像这样......
类文件;
\ProvidesClass{surjtemplate}
\NeedsTeXFormat{LaTeX2e}
\PassOptionsToClass{a4paper,10pt,twocolumn}{article}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass{article}
\renewenvironment{abstract}{
\normalfont
\list{}{
\labelwidth0pt
\leftmargin0pt \rightmargin\leftmargin
\listparindent\parindent \itemindent0pt
\parsep0pt
\let\fullwidthdisplay\relax}
\item[\hskip\labelsep\bfseries\abstractname\enspace --] \small}{\endlist}
\newcommand{\keywordsname}{Keywords}
\newenvironment{keywords}{
\normalfont
\list{}{
\labelwidth0pt
\leftmargin0pt \rightmargin\leftmargin
\listparindent\parindent \itemindent0pt
\parsep0pt
\let\fullwidthdisplay\relax}
\item[\hskip\labelsep\bfseries\keywordsname:] \small}{\endlist}
\makeatletter
\makeatother
\endinput
tex 文件;
\documentclass{surjtemplate}
\usepackage{lipsum}
\begin{document}
\title{The Title of the paper}
\author{Author Name}
\maketitle
\begin{abstract}
\lipsum[10]
\end{abstract}
\begin{keywords}
Production, Executable, Architecture
\end{keywords}
\section{Introduction}
\label{section:introduction}
\lipsum[4-10]
\end{document}