最近mm会议论文latex遇到的问题
Class acmart Error: No country present for an affiliation. \maketitle
解决方法:
在\documentclass[acmsmall]{acmart}下面,加入下面的代码:
\makeatletter
\def@ACM@checkaffil{% Only warnings <<<<<<<<<<<<<<<<
\if@ACM@instpresent\else
\ClassWarningNoLine{@classname}{No institution present for an affiliation}%
\fi
\if@ACM@citypresent\else
\ClassWarningNoLine{@classname}{No city present for an affiliation}%
\fi
\if@ACM@countrypresent\else
\ClassWarningNoLine{@classname}{No country present for an affiliation}%
\fi
}
\makeatother
解决方式来自 https://tex.stackexchange.com/questions/655620/how-to-make-acmart-stop-complaining-about-missing-country-in-affiliation