2

Recently I've started to use the acmart template to write a paper for a conference, but I need to write the abstract in two languages and apparently the template don't allow to write two abstracts, but I'm not sure about that.

I need to do something like that:

Two abstracts in different languages.

I've already tried the following solution, but it didn't worked in the template: Abstracts in different languages on the same page

1
  • 1
    Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – BambOo
    Oct 25, 2018 at 15:35

1 Answer 1

1

The acmart stores the contents placed within the abstract environment as-is. Therefore, it's possible to place multiple abstracts within a single abstract environment:

enter image description here

\documentclass{acmart}

\usepackage{lipsum} % Just for this example

\title{A title}
\author{An author}

\begin{document}

\begin{abstract}
  \setlength{\parindent}{0pt}% Remove paragraph indentation
  \textbf{Abstract A}\par
  \lipsum*[1] % First abstract
  \par
  \medskip % Add a small space between the two abstracts
  \textbf{Abstract B}\par
  \lipsum*[2] % Second abstract
\end{abstract}

\maketitle

\end{document}

If you wish to add keywords, you can add them to the abstract environment using the same setup as would usually be the case for the journal:

enter image description here

\documentclass{acmart}

\usepackage{lipsum} % Just for this example

\title{A title}
\author{An author}

\begin{document}

\begin{abstract}
  \setlength{\parindent}{0pt}% Remove paragraph indentation
  \textbf{Abstract A}\par
  \lipsum*[1] % First abstract
  \par
  \medskip
  % Keywords associated with first abstract
  {\small Additional Key Words and Phrases: one, two, three, four, five, six\par}
  \medskip % Add a small space between the two abstracts
  \textbf{Abstract B}\par
  \lipsum*[2] % Second abstract
  \par
  \medskip
  % Keywords associated with second abstract
  {\small Keywords: seven, eight, nine, ten, eleven, twelve\par}
\end{abstract}

\maketitle

\hypersetup{% Manually insert keywords you would use
  pdfkeywords = {one, two, three, four, five, six, seven, eight, nine, ten, eleven, twelve}
}

\end{document}

Since you're not specifying any \keywords, you can update the PDF properties (done automatically by the \documentclass when you use \keywords) using \hypersetup{pdfkeywords = {...}}.

enter image description here

The prefix for the keywords depends on the \documentclass options you pass to acmart. In the above case, I used Additional Key Words and Phrases for the first and Keywords for the second. Change this to suit your needs.

1
  • Thanks, It helped a lot, I only had to make some changes in the code of the template, but your answer was the most part of the solution to my problem. Oct 29, 2018 at 4:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.