软件包 acmart 不显示作者姓名

软件包 acmart 不显示作者姓名

使用 ACM 的 acmart 包时,我的名字没有打印出来。这是我的代码

%File: formatting-instruction.tex
\documentclass[sigconf]{acmart}
\setcopyright{acmcopyright}
\copyrightyear{2021}
\acmYear{2021}
\acmDOI{10.1145/1122445.1122456}

\usepackage{authblk}
\usepackage{upgreek}
\usepackage{pgfplots}
\usepackage{filecontents}

\usepackage{siunitx}
\usepackage{subcaption}

\usepackage{tikz}
\usepackage[section]{placeins}

\pgfplotsset{compat=newest} % Allows to place the legend below plot
\usepgfplotslibrary{units} % Allows to enter the units nicely

\usepackage{graphicx}
\DeclareRobustCommand{\bbone}{\text{\usefont{U}{bbold}{m}{n}1}}

\DeclareMathOperator{\EX}{\mathbb{E}}% expected value






\usepackage{times}
\usepackage{helvet}
\bibliography{Research_Paper}
\usepackage{courier}
\usepackage{amsmath}
\frenchspacing
\setlength{\pdfpagewidth}{8.5in}
\setlength{\pdfpageheight}{11in}
\author{ABC}
\email{[email protected]}

\affiliation{%
  \institution{Institution}
  \streetaddress{Address}
  \city{City}
  \state{State}
  \country{USA}
  \postcode{51234}
}
\setcounter{secnumdepth}{0}  
\title{Stuff researchers do in their busy time}
\begin{document}
\maketitle
\begin{abstract}
\begin{quote}
Stuff
\end{quote}
\end{abstract}

 Why doesn't my name print?
\end{document}

答案1

ACM 委托 Boris Veytsman 为其出版物制作 LaTeX 文档类,据我所知,ACM 已正式批准该任务。

例如,您不应在课程中使用字体包,这样论文的外观才会统一。如果您不喜欢课程使用的字体,请不要使用acmart;如果您因为要提交论文而必须使用它,请遵守编辑不更改字体的要求。

该类有多种排版作者及其所属机构的功能。该authblck包是不是与其兼容,不应加载。

其他小注释。quote环境不应在摘要中使用,摘要必须放在之前\maketitle

这是您文档的编辑版本,其中某些软件包已被注释掉,以便更加清晰。请删除这些行。

\documentclass[sigconf]{acmart}

% Packages
%\usepackage{authblk} % NOT with acmart
\usepackage{upgreek}
\usepackage{pgfplots}
\usepgfplotslibrary{units} % Allows to enter the units nicely
%\usepackage{filecontents} % OBSOLETE
\usepackage{siunitx}
\usepackage{subcaption}
\usepackage{tikz}
\usepackage[section]{placeins} % dubious
\usepackage{graphicx}
%\usepackage{times} % NOT with acmart
%\usepackage{helvet} % NOT with acmart
%\usepackage{courier} % NOT with acmart
\usepackage{amsmath}

% settings
\pgfplotsset{compat=newest} % Allows to place the legend below plot
%\setlength{\pdfpagewidth}{8.5in} % NOT with acmart
%\setlength{\pdfpageheight}{11in}  % NOT with acmart
\frenchspacing

% personal commands
\DeclareRobustCommand{\bbone}{\text{\usefont{U}{bbold}{m}{n}1}}
\DeclareMathOperator{\EX}{\mathbb{E}}% expected value

% metadata
\bibliography{Research_Paper}

\setcopyright{acmcopyright}
\copyrightyear{2021}
\acmYear{2021}
\acmDOI{10.1145/1122445.1122456}

\author{ABC}
\email{[email protected]}

\affiliation{%
  \institution{Institution}
  \streetaddress{Address}
  \city{City}
  \state{State}
  \country{USA}
  \postcode{51234}
}
\title{Stuff researchers do in their busy time}

\begin{document}

\begin{abstract}
Stuff
\end{abstract}

\maketitle

Why doesn't my name print?

\end{document}

在此处输入图片描述

相关内容