7

I am using acmart latex template from this site: http://www.acm.org/publications/proceedings-template

When I compile my files, the Abstract does not appear. I am using \maketitle after the abstract but to no avail. The abstract is there in the example pdf they provide with the template. Can some sty file be an obstruction? Kindly help.

Minimal Code:

\documentclass[sigconf]{acmart}  
\usepackage{etex}  
\reserveinserts{28}  

\usepackage{booktabs} % For formal tables  

\usepackage[utf8]{inputenc}  
%\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}  
\usepackage{graphicx}  
%\usepackage{sty/listings}  
\usepackage{sty/parcolumns}  
\usepackage{float}  
\usepackage{caption}  
\captionsetup{justification=raggedright,singlelinecheck=false}  
\usepackage{multicol}  
\usepackage{color}  
%\usepackage[backend=bibtex]{biblatex}  
%\addbibresource{bibliography.bib}  
\usepackage{amsfonts}  
\usepackage{pict2e}  
\usepackage{tikz-qtree}  
\usepackage{sty/multirow}  
\usepackage[justification=centering]{caption}  
\usepackage{sty/bbding}  
\usepackage{pifont}  
%\usepackage{amsthm}  
\newcommand{\Z}{\mathbb{Z}}  
\newcommand{\N}{\mathbb{N}}  
\newcommand{\svs}[1]{\textcolor{red}{[svs]:#1}}  
%\newenvironment{definition}[1][Definition]{\begin{trivlist}  
%\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}  
%\newenvironment{theorem}[1][Theorem]{\begin{trivlist}  
%\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}  


% Copyright  
\setcopyright{none}  

% DOI  
\acmDOI{10.475/123_4}  

% ISBN  
\acmISBN{123-4567-24-567/08/06}  

%Conference  
\acmConference[ABC'18]{ACM conference}{August 2017}{Melbourne, Australia}   
\acmYear{2017}  
\copyrightyear{2018}  

\acmPrice{15.00}  

\title{This is the title}  
%\titlenote{Produces the permission block, and copyright information}  
\subtitle{}  
%\subtitlenote{The full version of the author's guide is available as  
  %\texttt{acmart.pdf} document}  


\author{Anonymous Authors}  

\begin{document}  

\begin{abstract}  
abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract
\end{abstract}  

%  
% The code below should be generated by the tool at  
% http://dl.acm.org/ccs.cfm  
% Please copy and paste the code instead of the example below.   
%  
\begin{CCSXML}  
<ccs2012>  
<concept>  
<concept_id>10011007.10011074.10011099.10011692</concept_id>  
<concept_desc>Software engineering~Formal software verification</concept_desc>  
<concept_significance>500</concept_significance>  
</concept>  
</ccs2012>  
\end{CCSXML}   

%  
%  Use this command to print the description  
%  
%\printccsdesc  

% We no longer use \terms command  
%\terms{Theory}  

\keywords{Verification; Message Passing Interface; Deadlock Detection}  

\maketitle  

\input{sections/introduction.tex}  


\bibliographystyle{abbrv}  
\bibliography{paper}  

\end{document}  
  • 2
    Welcome to TeX.SX! Can you please add a minimal example of code? – egreg Aug 06 '17 at 08:02
  • When I compile your example code, I get a document showing the abstract. -- I changed the \usepackage{sty/..} to remove the sty folder and removed the \input{sections/introduction.tex} -- Have you included all the acmart files ? what is the error in the compiler log ? – Jaime Aug 30 '17 at 22:12
  • 2
    It's probably not what corresponds to the minimal example presented, but in my case the issue was that I was putting the abstract environment after the \maketitle. Following the sample document you need to put the \title, \authors and \begin{abstract} ... \end{abstract} command after the \begin{document} and before the \maketitle – a3nm May 12 '18 at 19:29

1 Answers1

5

Change this code

\author{Anonymous}
\begin{
\begin{abstract}  
abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract
\end{abstract} 

to

\author{Anonymous}    
\begin{abstract}  
abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract
\end{abstract} 

\begin{document}  
\maketitle

like this,,, i.e outside the {document} I don't know why, but it is working in my case. :)

Prashant
  • 151
  • 1
  • 3
  • Thank you. I don't understand what is going on, because in the sample style file it works properly, but moving my abstract before \begin{document} solved my problem. – user3188445 Aug 15 '19 at 21:46