我正在使用来自此站点的 acmart latex 模板:http://www.acm.org/publications/proceedings-template
当我编译文件时,摘要没有出现。我使用\maketitle
摘要后,但无济于事。摘要在他们随模板提供的示例 pdf 中。一些 sty 文件会造成阻碍吗?请帮忙。
最小代码:
\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}
答案1
更改此代码
\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}
到
\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
像这样,,,即在外面{document}
我不知道为什么,但它在我的情况下是有效的。:)