diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-14 20:39:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-14 20:39:18 +0000 |
commit | e1dfc6620923c10a348546ebe7add8e2d8707a6a (patch) | |
tree | 995651c77508faa0596451e71b4c147aae38003e | |
parent | a3ba1abf10468e4cc434f285fabe14ab5fe86158 (diff) |
acmart (14sep20)
git-svn-id: svn://tug.org/texlive/trunk@56343 c570f23f-e606-0410-a88d-b1316a301751
30 files changed, 1125 insertions, 92 deletions
diff --git a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst index 18bf3b82b6c..7bc0b809bcc 100644 --- a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst +++ b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst @@ -1454,7 +1454,12 @@ FUNCTION { format.pages.check.without.articleno } articleno empty.or.unknown eid empty.or.unknown and { pages missing$ - { numpages } + { + numpages empty.or.unknown + {""} + { "\bibinfo{numpages}{" numpages * "}~pages" * } + if$ + } { format.pages } if$ } diff --git a/Master/texmf-dist/doc/latex/acmart/README b/Master/texmf-dist/doc/latex/acmart/README index 1e042b99ff5..17cf74a2039 100644 --- a/Master/texmf-dist/doc/latex/acmart/README +++ b/Master/texmf-dist/doc/latex/acmart/README @@ -268,4 +268,11 @@ Version 1.71 Bug fixes Formats sigchi and sigchi-a are retired Bibliography formatting changes for @inproceedings entries having both series and volume - LuaLaTeX now uses the same OTF fonts as XeTeX
\ No newline at end of file + LuaLaTeX now uses the same OTF fonts as XeLaTeX + +Version 1.72 Bug fixes. Better handling of metadata. + +Version 1.73 Bug fixes + The elements institution, city and country are now obligatory + for affiliations +
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/acmart/acmart.pdf b/Master/texmf-dist/doc/latex/acmart/acmart.pdf Binary files differindex ffb2bf26162..2277d25c20f 100644 --- a/Master/texmf-dist/doc/latex/acmart/acmart.pdf +++ b/Master/texmf-dist/doc/latex/acmart/acmart.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/acmguide.pdf b/Master/texmf-dist/doc/latex/acmart/acmguide.pdf Binary files differindex 63cf9ccaecf..089664bc536 100644 --- a/Master/texmf-dist/doc/latex/acmart/acmguide.pdf +++ b/Master/texmf-dist/doc/latex/acmart/acmguide.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf Binary files differindex 7ab264a9d49..23e6435b0a6 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex index 002e08c66f7..cd4810c935c 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex @@ -95,6 +95,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -135,15 +136,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf Binary files differindex 990a35ad190..815150402a3 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex index 430558dca66..f481a9cec5c 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex @@ -95,6 +95,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -135,15 +136,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.pdf Binary files differnew file mode 100644 index 00000000000..4a79a30f9e0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.tex new file mode 100644 index 00000000000..d329b8d9be4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.tex @@ -0,0 +1,754 @@ +%% +%% This is file `sample-acmsmall-submission.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% samples.dtx (with options: `acmsmall-submission') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from sample-acmsmall-submission.tex. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file samples.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% +%% The first command in your LaTeX source must be the \documentclass command. +\documentclass[acmsmall,screen,review]{acmart} + +%% +%% \BibTeX command to typeset BibTeX logo in the docs +\AtBeginDocument{% + \providecommand\BibTeX{{% + \normalfont B\kern-0.5em{\scshape i\kern-0.25em b}\kern-0.8em\TeX}}} + +%% Rights management information. This information is sent to you +%% when you complete the rights form. These commands have SAMPLE +%% values in them; it is your responsibility as an author to replace +%% the commands and values with those provided to you when you +%% complete the rights form. +\setcopyright{acmcopyright} +\copyrightyear{2018} +\acmYear{2018} +\acmDOI{10.1145/1122445.1122456} + + +%% +%% These commands are for a JOURNAL article. +\acmJournal{JACM} +\acmVolume{37} +\acmNumber{4} +\acmArticle{111} +\acmMonth{8} + +%% +%% Submission ID. +%% Use this when submitting an article to a sponsored event. You'll +%% receive a unique submission ID from the organizers +%% of the event, and this ID should be used as the parameter to this command. +%%\acmSubmissionID{123-A56-BU3} + +%% +%% The majority of ACM publications use numbered citations and +%% references. The command \citestyle{authoryear} switches to the +%% "author year" style. +%% +%% If you are preparing content for an event +%% sponsored by ACM SIGGRAPH, you must use the "author year" style of +%% citations and references. +%% Uncommenting +%% the next command will enable that style. +%%\citestyle{acmauthoryear} + +%% +%% end of the preamble, start of the body of the document source. +\begin{document} + +%% +%% The "title" command has an optional parameter, +%% allowing the author to define a "short title" to be used in page headers. +\title{The Name of the Title is Hope} + +%% +%% The "author" command and its associated commands are used to define +%% the authors and their affiliations. +%% Of note is the shared affiliation of the first two authors, and the +%% "authornote" and "authornotemark" commands +%% used to denote shared contribution to the research. +\author{Ben Trovato} +\authornote{Both authors contributed equally to this research.} +\email{trovato@corporation.com} +\orcid{1234-5678-9012} +\author{G.K.M. Tobin} +\authornotemark[1] +\email{webmaster@marysville-ohio.com} +\affiliation{% + \institution{Institute for Clarity in Documentation} + \streetaddress{P.O. Box 1212} + \city{Dublin} + \state{Ohio} + \country{USA} + \postcode{43017-6221} +} + +\author{Lars Th{\o}rv{\"a}ld} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} +\email{larst@affiliation.org} + +\author{Valerie B\'eranger} +\affiliation{% + \institution{Inria Paris-Rocquencourt} + \city{Rocquencourt} + \country{France} +} + +\author{Aparna Patel} +\affiliation{% + \institution{Rajiv Gandhi University} + \streetaddress{Rono-Hills} + \city{Doimukh} + \state{Arunachal Pradesh} + \country{India}} + +\author{Huifen Chan} +\affiliation{% + \institution{Tsinghua University} + \streetaddress{30 Shuangqing Rd} + \city{Haidian Qu} + \state{Beijing Shi} + \country{China}} + +\author{Charles Palmer} +\affiliation{% + \institution{Palmer Research Laboratories} + \streetaddress{8600 Datapoint Drive} + \city{San Antonio} + \state{Texas} + \country{USA} + \postcode{78229}} +\email{cpalmer@prl.com} + +\author{John Smith} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} +\email{jsmith@affiliation.org} + +\author{Julius P. Kumquat} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} +\email{jpkumquat@consortium.net} + +%% +%% By default, the full list of authors will be used in the page +%% headers. Often, this list is too long, and will overlap +%% other information printed in the page headers. This command allows +%% the author to define a more concise list +%% of authors' names for this purpose. +\renewcommand{\shortauthors}{Trovato and Tobin, et al.} + +%% +%% The abstract is a short summary of the work to be presented in the +%% article. +\begin{abstract} + A clear and well-documented \LaTeX\ document is presented as an + article formatted for publication by ACM in a conference proceedings + or journal publication. Based on the ``acmart'' document class, this + article presents and explains many of the common variations, as well + as many of the formatting elements an author may use in the + preparation of the documentation of their work. +\end{abstract} + +%% +%% The code below is 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>10010520.10010553.10010562</concept_id> + <concept_desc>Computer systems organization~Embedded systems</concept_desc> + <concept_significance>500</concept_significance> + </concept> + <concept> + <concept_id>10010520.10010575.10010755</concept_id> + <concept_desc>Computer systems organization~Redundancy</concept_desc> + <concept_significance>300</concept_significance> + </concept> + <concept> + <concept_id>10010520.10010553.10010554</concept_id> + <concept_desc>Computer systems organization~Robotics</concept_desc> + <concept_significance>100</concept_significance> + </concept> + <concept> + <concept_id>10003033.10003083.10003095</concept_id> + <concept_desc>Networks~Network reliability</concept_desc> + <concept_significance>100</concept_significance> + </concept> +</ccs2012> +\end{CCSXML} + +\ccsdesc[500]{Computer systems organization~Embedded systems} +\ccsdesc[300]{Computer systems organization~Redundancy} +\ccsdesc{Computer systems organization~Robotics} +\ccsdesc[100]{Networks~Network reliability} + +%% +%% Keywords. The author(s) should pick words that accurately describe +%% the work being presented. Separate the keywords with commas. +\keywords{datasets, neural networks, gaze detection, text tagging} + + +%% +%% This command processes the author and affiliation and title +%% information and builds the first part of the formatted document. +\maketitle + +\section{Introduction} +ACM's consolidated article template, introduced in 2017, provides a +consistent \LaTeX\ style for use across ACM publications, and +incorporates accessibility and metadata-extraction functionality +necessary for future Digital Library endeavors. Numerous ACM and +SIG-specific \LaTeX\ templates have been examined, and their unique +features incorporated into this single new template. + +If you are new to publishing with ACM, this document is a valuable +guide to the process of preparing your work for publication. If you +have published with ACM before, this document provides insight and +instruction into more recent changes to the article template. + +The ``\verb|acmart|'' document class can be used to prepare articles +for any ACM publication --- conference or journal, and for any stage +of publication, from review to final ``camera-ready'' copy, to the +author's own version, with {\itshape very} few changes to the source. + +\section{Template Overview} +As noted in the introduction, the ``\verb|acmart|'' document class can +be used to prepare many different kinds of documentation --- a +double-blind initial submission of a full-length technical paper, a +two-page SIGGRAPH Emerging Technologies abstract, a ``camera-ready'' +journal article, a SIGCHI Extended Abstract, and more --- all by +selecting the appropriate {\itshape template style} and {\itshape + template parameters}. + +This document will explain the major features of the document +class. For further information, the {\itshape \LaTeX\ User's Guide} is +available from +\url{https://www.acm.org/publications/proceedings-template}. + +\subsection{Template Styles} + +The primary parameter given to the ``\verb|acmart|'' document class is +the {\itshape template style} which corresponds to the kind of publication +or SIG publishing the work. This parameter is enclosed in square +brackets and is a part of the {\verb|documentclass|} command: +\begin{verbatim} + \documentclass[STYLE]{acmart} +\end{verbatim} + +Journals use one of three template styles. All but three ACM journals +use the {\verb|acmsmall|} template style: +\begin{itemize} +\item {\verb|acmsmall|}: The default journal template style. +\item {\verb|acmlarge|}: Used by JOCCH and TAP. +\item {\verb|acmtog|}: Used by TOG. +\end{itemize} + +The majority of conference proceedings documentation will use the {\verb|acmconf|} template style. +\begin{itemize} +\item {\verb|acmconf|}: The default proceedings template style. +\item{\verb|sigchi|}: Used for SIGCHI conference articles. +\item{\verb|sigchi-a|}: Used for SIGCHI ``Extended Abstract'' articles. +\item{\verb|sigplan|}: Used for SIGPLAN conference articles. +\end{itemize} + +\subsection{Template Parameters} + +In addition to specifying the {\itshape template style} to be used in +formatting your work, there are a number of {\itshape template parameters} +which modify some part of the applied template style. A complete list +of these parameters can be found in the {\itshape \LaTeX\ User's Guide.} + +Frequently-used parameters, or combinations of parameters, include: +\begin{itemize} +\item {\verb|anonymous,review|}: Suitable for a ``double-blind'' + conference submission. Anonymizes the work and includes line + numbers. Use with the \verb|\acmSubmissionID| command to print the + submission's unique ID on each page of the work. +\item{\verb|authorversion|}: Produces a version of the work suitable + for posting by the author. +\item{\verb|screen|}: Produces colored hyperlinks. +\end{itemize} + +This document uses the following string as the first command in the +source file: +\begin{verbatim} +\documentclass[acmsmall,screen,review]{acmart} +\end{verbatim} + +\section{Modifications} + +Modifying the template --- including but not limited to: adjusting +margins, typeface sizes, line spacing, paragraph and list definitions, +and the use of the \verb|\vspace| command to manually adjust the +vertical spacing between elements of your work --- is not allowed. + +{\bfseries Your document will be returned to you for revision if + modifications are discovered.} + +\section{Typefaces} + +The ``\verb|acmart|'' document class requires the use of the +``Libertine'' typeface family. Your \TeX\ installation should include +this set of packages. Please do not substitute other typefaces. The +``\verb|lmodern|'' and ``\verb|ltimes|'' packages should not be used, +as they will override the built-in typeface families. + +\section{Title Information} + +The title of your work should use capital letters appropriately - +\url{https://capitalizemytitle.com/} has useful rules for +capitalization. Use the {\verb|title|} command to define the title of +your work. If your work has a subtitle, define it with the +{\verb|subtitle|} command. Do not insert line breaks in your title. + +If your title is lengthy, you must define a short version to be used +in the page headers, to prevent overlapping text. The \verb|title| +command has a ``short title'' parameter: +\begin{verbatim} + \title[short title]{full title} +\end{verbatim} + +\section{Authors and Affiliations} + +Each author must be defined separately for accurate metadata +identification. Multiple authors may share one affiliation. Authors' +names should not be abbreviated; use full first names wherever +possible. Include authors' e-mail addresses whenever possible. + +Grouping authors' names or e-mail addresses, or providing an ``e-mail +alias,'' as shown below, is not acceptable: +\begin{verbatim} + \author{Brooke Aster, David Mehldau} + \email{dave,judy,steve@university.edu} + \email{firstname.lastname@phillips.org} +\end{verbatim} + +The \verb|authornote| and \verb|authornotemark| commands allow a note +to apply to multiple authors --- for example, if the first two authors +of an article contributed equally to the work. + +If your author list is lengthy, you must define a shortened version of +the list of authors to be used in the page headers, to prevent +overlapping text. The following command should be placed just after +the last \verb|\author{}| definition: +\begin{verbatim} + \renewcommand{\shortauthors}{McCartney, et al.} +\end{verbatim} +Omitting this command will force the use of a concatenated list of all +of the authors' names, which may result in overlapping text in the +page headers. + +The article template's documentation, available at +\url{https://www.acm.org/publications/proceedings-template}, has a +complete explanation of these commands and tips for their effective +use. + +Note that authors' addresses are mandatory for journal articles. + +\section{Rights Information} + +Authors of any work published by ACM will need to complete a rights +form. Depending on the kind of work, and the rights management choice +made by the author, this may be copyright transfer, permission, +license, or an OA (open access) agreement. + +Regardless of the rights management choice, the author will receive a +copy of the completed rights form once it has been submitted. This +form contains \LaTeX\ commands that must be copied into the source +document. When the document source is compiled, these commands and +their parameters add formatted text to several areas of the final +document: +\begin{itemize} +\item the ``ACM Reference Format'' text on the first page. +\item the ``rights management'' text on the first page. +\item the conference information in the page header(s). +\end{itemize} + +Rights information is unique to the work; if you are preparing several +works for an event, make sure to use the correct set of commands with +each of the works. + +The ACM Reference Format text is required for all articles over one +page in length, and is optional for one-page articles (abstracts). + +\section{CCS Concepts and User-Defined Keywords} + +Two elements of the ``acmart'' document class provide powerful +taxonomic tools for you to help readers find your work in an online +search. + +The ACM Computing Classification System --- +\url{https://www.acm.org/publications/class-2012} --- is a set of +classifiers and concepts that describe the computing +discipline. Authors can select entries from this classification +system, via \url{https://dl.acm.org/ccs/ccs.cfm}, and generate the +commands to be included in the \LaTeX\ source. + +User-defined keywords are a comma-separated list of words and phrases +of the authors' choosing, providing a more flexible way of describing +the research being presented. + +CCS concepts and user-defined keywords are required for for all +articles over two pages in length, and are optional for one- and +two-page articles (or abstracts). + +\section{Sectioning Commands} + +Your work should use standard \LaTeX\ sectioning commands: +\verb|section|, \verb|subsection|, \verb|subsubsection|, and +\verb|paragraph|. They should be numbered; do not remove the numbering +from the commands. + +Simulating a sectioning command by setting the first word or words of +a paragraph in boldface or italicized text is {\bfseries not allowed.} + +\section{Tables} + +The ``\verb|acmart|'' document class includes the ``\verb|booktabs|'' +package --- \url{https://ctan.org/pkg/booktabs} --- for preparing +high-quality tables. + +Table captions are placed {\itshape above} the table. + +Because tables cannot be split across pages, the best placement for +them is typically the top of the page nearest their initial cite. To +ensure this proper ``floating'' placement of tables, use the +environment \textbf{table} to enclose the table's contents and the +table caption. The contents of the table itself must go in the +\textbf{tabular} environment, to be aligned properly in rows and +columns, with the desired horizontal and vertical rules. Again, +detailed instructions on \textbf{tabular} material are found in the +\textit{\LaTeX\ User's Guide}. + +Immediately following this sentence is the point at which +Table~\ref{tab:freq} is included in the input file; compare the +placement of the table here with the table in the printed output of +this document. + +\begin{table} + \caption{Frequency of Special Characters} + \label{tab:freq} + \begin{tabular}{ccl} + \toprule + Non-English or Math&Frequency&Comments\\ + \midrule + \O & 1 in 1,000& For Swedish names\\ + $\pi$ & 1 in 5& Common in math\\ + \$ & 4 in 5 & Used in business\\ + $\Psi^2_1$ & 1 in 40,000& Unexplained usage\\ + \bottomrule +\end{tabular} +\end{table} + +To set a wider table, which takes up the whole width of the page's +live area, use the environment \textbf{table*} to enclose the table's +contents and the table caption. As with a single-column table, this +wide table will ``float'' to a location deemed more +desirable. Immediately following this sentence is the point at which +Table~\ref{tab:commands} is included in the input file; again, it is +instructive to compare the placement of the table here with the table +in the printed output of this document. + +\begin{table*} + \caption{Some Typical Commands} + \label{tab:commands} + \begin{tabular}{ccl} + \toprule + Command &A Number & Comments\\ + \midrule + \texttt{{\char'134}author} & 100& Author \\ + \texttt{{\char'134}table}& 300 & For tables\\ + \texttt{{\char'134}table*}& 400& For wider tables\\ + \bottomrule + \end{tabular} +\end{table*} + +Always use midrule to separate table header rows from data rows, and +use it only for this purpose. This enables assistive technologies to +recognise table headers and support their users in navigating tables +more easily. + +\section{Math Equations} +You may want to display math equations in three distinct styles: +inline, numbered or non-numbered display. Each of the three are +discussed in the next sections. + +\subsection{Inline (In-text) Equations} +A formula that appears in the running text is called an inline or +in-text formula. It is produced by the \textbf{math} environment, +which can be invoked with the usual +\texttt{{\char'134}begin\,\ldots{\char'134}end} construction or with +the short form \texttt{\$\,\ldots\$}. You can use any of the symbols +and structures, from $\alpha$ to $\omega$, available in +\LaTeX~\cite{Lamport:LaTeX}; this section will simply show a few +examples of in-text equations in context. Notice how this equation: +\begin{math} + \lim_{n\rightarrow \infty}x=0 +\end{math}, +set here in in-line math style, looks slightly different when +set in display style. (See next section). + +\subsection{Display Equations} +A numbered display equation---one set off by vertical space from the +text and centered horizontally---is produced by the \textbf{equation} +environment. An unnumbered display equation is produced by the +\textbf{displaymath} environment. + +Again, in either environment, you can use any of the symbols and +structures available in \LaTeX\@; this section will just give a couple +of examples of display equations in context. First, consider the +equation, shown as an inline equation above: +\begin{equation} + \lim_{n\rightarrow \infty}x=0 +\end{equation} +Notice how it is formatted somewhat differently in +the \textbf{displaymath} +environment. Now, we'll enter an unnumbered equation: +\begin{displaymath} + \sum_{i=0}^{\infty} x + 1 +\end{displaymath} +and follow it with another numbered equation: +\begin{equation} + \sum_{i=0}^{\infty}x_i=\int_{0}^{\pi+2} f +\end{equation} +just to demonstrate \LaTeX's able handling of numbering. + +\section{Figures} + +The ``\verb|figure|'' environment should be used for figures. One or +more images can be placed within a figure. If your figure contains +third-party material, you must clearly identify it as such, as shown +in the example below. +\begin{figure}[h] + \centering + \includegraphics[width=\linewidth]{sample-franklin} + \caption{1907 Franklin Model D roadster. Photograph by Harris \& + Ewing, Inc. [Public domain], via Wikimedia + Commons. (\url{https://goo.gl/VLCRBB}).} + \Description{A woman and a girl in white dresses sit in an open car.} +\end{figure} + +Your figures should contain a caption which describes the figure to +the reader. + +Figure captions are placed {\itshape below} the figure. + +Every figure should also have a figure description unless it is purely +decorative. These descriptions convey what’s in the image to someone +who cannot see it. They are also used by search engine crawlers for +indexing images, and when images cannot be loaded. + +A figure description must be unformatted plain text less than 2000 +characters long (including spaces). {\bfseries Figure descriptions + should not repeat the figure caption – their purpose is to capture + important information that is not already provided in the caption or + the main text of the paper.} For figures that convey important and +complex new information, a short text description may not be +adequate. More complex alternative descriptions can be placed in an +appendix and referenced in a short figure description. For example, +provide a data table capturing the information in a bar chart, or a +structured list representing a graph. For additional information +regarding how best to write figure descriptions and why doing this is +so important, please see +\url{https://www.acm.org/publications/taps/describing-figures/}. + +\subsection{The ``Teaser Figure''} + +A ``teaser figure'' is an image, or set of images in one figure, that +are placed after all author and affiliation information, and before +the body of the article, spanning the page. If you wish to have such a +figure in your article, place the command immediately before the +\verb|\maketitle| command: +\begin{verbatim} + \begin{teaserfigure} + \includegraphics[width=\textwidth]{sampleteaser} + \caption{figure caption} + \Description{figure description} + \end{teaserfigure} +\end{verbatim} + +\section{Citations and Bibliographies} + +The use of \BibTeX\ for the preparation and formatting of one's +references is strongly recommended. Authors' names should be complete +--- use full first names (``Donald E. Knuth'') not initials +(``D. E. Knuth'') --- and the salient identifying features of a +reference should be included: title, year, volume, number, pages, +article DOI, etc. + +The bibliography is included in your source document with these two +commands, placed just before the \verb|\end{document}| command: +\begin{verbatim} + \bibliographystyle{ACM-Reference-Format} + \bibliography{bibfile} +\end{verbatim} +where ``\verb|bibfile|'' is the name, without the ``\verb|.bib|'' +suffix, of the \BibTeX\ file. + +Citations and references are numbered by default. A small number of +ACM publications have citations and references formatted in the +``author year'' style; for these exceptions, please include this +command in the {\bfseries preamble} (before the command +``\verb|\begin{document}|'') of your \LaTeX\ source: +\begin{verbatim} + \citestyle{acmauthoryear} +\end{verbatim} + + Some examples. A paginated journal article \cite{Abril07}, an + enumerated journal article \cite{Cohen07}, a reference to an entire + issue \cite{JCohen96}, a monograph (whole book) \cite{Kosiur01}, a + monograph/whole book in a series (see 2a in spec. document) + \cite{Harel79}, a divisible-book such as an anthology or compilation + \cite{Editor00} followed by the same example, however we only output + the series if the volume number is given \cite{Editor00a} (so + Editor00a's series should NOT be present since it has no vol. no.), + a chapter in a divisible book \cite{Spector90}, a chapter in a + divisible book in a series \cite{Douglass98}, a multi-volume work as + book \cite{Knuth97}, a couple of articles in a proceedings (of a + conference, symposium, workshop for example) (paginated proceedings + article) \cite{Andler79, Hagerup1993}, a proceedings article with + all possible elements \cite{Smith10}, an example of an enumerated + proceedings article \cite{VanGundy07}, an informally published work + \cite{Harel78}, a couple of preprints \cite{Bornmann2019, + AnzarootPBM14}, a doctoral dissertation \cite{Clarkson85}, a + master's thesis: \cite{anisi03}, an online document / world wide web + resource \cite{Thornburg01, Ablamowicz07, Poker06}, a video game + (Case 1) \cite{Obama08} and (Case 2) \cite{Novak03} and \cite{Lee05} + and (Case 3) a patent \cite{JoeScientist001}, work accepted for + publication \cite{rous08}, 'YYYYb'-test for prolific author + \cite{SaeediMEJ10} and \cite{SaeediJETC10}. Other cites might + contain 'duplicate' DOI and URLs (some SIAM articles) + \cite{Kirschmer:2010:AEI:1958016.1958018}. Boris / Barbara Beeton: + multi-volume works as books \cite{MR781536} and \cite{MR781537}. A + couple of citations with DOIs: + \cite{2004:ITE:1009386.1010128,Kirschmer:2010:AEI:1958016.1958018}. Online + citations: \cite{TUGInstmem, Thornburg01, CTANacmart}. Artifacts: + \cite{R} and \cite{UMassCitations}. + +\section{Acknowledgments} + +Identification of funding sources and other support, and thanks to +individuals and groups that assisted in the research and the +preparation of the work should be included in an acknowledgment +section, which is placed just before the reference section in your +document. + +This section has a special environment: +\begin{verbatim} + \begin{acks} + ... + \end{acks} +\end{verbatim} +so that the information contained therein can be more easily collected +during the article metadata extraction phase, and to ensure +consistency in the spelling of the section heading. + +Authors should not prepare this section as a numbered or unnumbered {\verb|\section|}; please use the ``{\verb|acks|}'' environment. + +\section{Appendices} + +If your work needs an appendix, add it before the +``\verb|\end{document}|'' command at the conclusion of your source +document. + +Start the appendix with the ``\verb|appendix|'' command: +\begin{verbatim} + \appendix +\end{verbatim} +and note that in the appendix, sections are lettered, not +numbered. This document has two appendices, demonstrating the section +and subsection identification method. + +\section{SIGCHI Extended Abstracts} + +The ``\verb|sigchi-a|'' template style (available only in \LaTeX\ and +not in Word) produces a landscape-orientation formatted article, with +a wide left margin. Three environments are available for use with the +``\verb|sigchi-a|'' template style, and produce formatted output in +the margin: +\begin{itemize} +\item {\verb|sidebar|}: Place formatted text in the margin. +\item {\verb|marginfigure|}: Place a figure in the margin. +\item {\verb|margintable|}: Place a table in the margin. +\end{itemize} + +%% +%% The acknowledgments section is defined using the "acks" environment +%% (and NOT an unnumbered section). This ensures the proper +%% identification of the section in the article metadata, and the +%% consistent spelling of the heading. +\begin{acks} +To Robert, for the bagels and explaining CMYK and color spaces. +\end{acks} + +%% +%% The next two lines define the bibliography style to be used, and +%% the bibliography file. +\bibliographystyle{ACM-Reference-Format} +\bibliography{sample-base} + +%% +%% If your work has an appendix, this is the place to put it. +\appendix + +\section{Research Methods} + +\subsection{Part One} + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi +malesuada, quam in pulvinar varius, metus nunc fermentum urna, id +sollicitudin purus odio sit amet enim. Aliquam ullamcorper eu ipsum +vel mollis. Curabitur quis dictum nisl. Phasellus vel semper risus, et +lacinia dolor. Integer ultricies commodo sem nec semper. + +\subsection{Part Two} + +Etiam commodo feugiat nisl pulvinar pellentesque. Etiam auctor sodales +ligula, non varius nibh pulvinar semper. Suspendisse nec lectus non +ipsum convallis congue hendrerit vitae sapien. Donec at laoreet +eros. Vivamus non purus placerat, scelerisque diam eu, cursus +ante. Etiam aliquam tortor auctor efficitur mattis. + +\section{Online Resources} + +Nam id fermentum dui. Suspendisse sagittis tortor a nulla mollis, in +pulvinar ex pretium. Sed interdum orci quis metus euismod, et sagittis +enim maximus. Vestibulum gravida massa ut felis suscipit +congue. Quisque mattis elit a risus ultrices commodo venenatis eget +dui. Etiam sagittis eleifend elementum. + +Nam interdum magna at lectus dignissim, ac dignissim lorem +rhoncus. Maecenas eu arcu ac neque placerat aliquam. Nunc pulvinar +massa et mattis lacinia. + +\end{document} +\endinput +%% +%% End of file `sample-acmsmall-submission.tex'. diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf Binary files differindex a60476aa63b..999f18a8258 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex index dc863ba1aa5..c4b51ca5409 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex @@ -95,6 +95,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -135,15 +136,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf Binary files differindex e082644d0fb..9db12266a6d 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex index 7e44ccb8112..6a78c285e7f 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex @@ -93,6 +93,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -133,15 +134,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf Binary files differindex 237c7cd7b27..13d9f8c29db 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex index f32624b8103..3aceb580e5f 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex @@ -95,6 +95,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -135,15 +136,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.pdf Binary files differindex 8c840fa6b90..66626b757c9 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.tex index 2e233e2fd99..cf7b1f5d1d4 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.tex @@ -95,6 +95,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -135,15 +136,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf Binary files differindex afb1134fa3d..d38eacec64a 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex index 8d29ff3ea1e..66245195fb3 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex @@ -22,7 +22,7 @@ %% in the same archive or directory.) %% %% The first command in your LaTeX source must be the \documentclass command. -\documentclass[manuscript,screen]{acmart} +\documentclass[manuscript,screen,review]{acmart} %% %% \BibTeX command to typeset BibTeX logo in the docs @@ -95,6 +95,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -135,15 +136,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% @@ -290,7 +299,7 @@ Frequently-used parameters, or combinations of parameters, include: This document uses the following string as the first command in the source file: \begin{verbatim} -\documentclass[manuscript,screen]{acmart} +\documentclass[manuscript,screen,review]{acmart} \end{verbatim} \section{Modifications} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf Binary files differindex 370abe1a405..ac225b5f821 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex index 14311a7ccbb..ee43c11d7ce 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex @@ -95,6 +95,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -135,15 +136,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf Binary files differindex a59f68989c9..3fb61763076 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex index 0e8b94af11c..dbbbb4181db 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex @@ -95,6 +95,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -135,15 +136,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf Binary files differindex b133ccef1c0..c41474733ad 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex index 63f3ae9cf2b..3c7f22e05b7 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex @@ -95,6 +95,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -135,15 +136,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% diff --git a/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx b/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx index ed8e0af0da3..d826fd4e4a5 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx +++ b/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx @@ -1,8 +1,9 @@ -%<*manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> +%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> %% %% The first command in your LaTeX source must be the \documentclass command. -%<manuscript>\documentclass[manuscript,screen]{acmart} +%<manuscript>\documentclass[manuscript,screen,review]{acmart} %<acmsmall|acmsmall-conf>\documentclass[acmsmall]{acmart} +%<acmsmall-submission>\documentclass[acmsmall,screen,review]{acmart} %<acmlarge>\documentclass[acmlarge]{acmart} %<acmtog>\documentclass[acmtog]{acmart} %<sigconf>\documentclass[sigconf]{acmart} @@ -28,7 +29,7 @@ \acmYear{2018} \acmDOI{10.1145/1122445.1122456} -%</manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> +%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> %<*manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> %% These commands are for a PROCEEDINGS abstract or paper. \acmConference[Woodstock '18]{Woodstock '18: ACM Symposium on Neural @@ -39,18 +40,18 @@ \acmISBN{978-1-4503-XXXX-X/18/06} %</manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> -%<*acmsmall|acmlarge|acmtog> +%<*acmsmall|acmsmall-submission|acmlarge|acmtog> %% %% These commands are for a JOURNAL article. -%<acmsmall>\acmJournal{JACM} +%<acmsmall|acmsmall-submission>\acmJournal{JACM} %<acmlarge>\acmJournal{POMACS} %<acmtog>\acmJournal{TOG} \acmVolume{37} \acmNumber{4} \acmArticle{111} \acmMonth{8} -%</acmsmall|acmlarge|acmtog> -%<*manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> +%</acmsmall|acmsmall-submission|acmlarge|acmtog> +%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> %% @@ -101,6 +102,7 @@ \streetaddress{P.O. Box 1212} \city{Dublin} \state{Ohio} + \country{USA} \postcode{43017-6221} } @@ -141,15 +143,23 @@ \streetaddress{8600 Datapoint Drive} \city{San Antonio} \state{Texas} + \country{USA} \postcode{78229}} \email{cpalmer@prl.com} \author{John Smith} -\affiliation{\institution{The Th{\o}rv{\"a}ld Group}} +\affiliation{% + \institution{The Th{\o}rv{\"a}ld Group} + \streetaddress{1 Th{\o}rv{\"a}ld Circle} + \city{Hekla} + \country{Iceland}} \email{jsmith@affiliation.org} \author{Julius P. Kumquat} -\affiliation{\institution{The Kumquat Consortium}} +\affiliation{% + \institution{The Kumquat Consortium} + \city{New York} + \country{USA}} \email{jpkumquat@consortium.net} %% @@ -211,7 +221,7 @@ %% the work being presented. Separate the keywords with commas. \keywords{datasets, neural networks, gaze detection, text tagging} -%</manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> +%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> %<*sigconf|authordraft|sigplan|acmsmall-conf> %% A "teaser" image appears between the author and affiliation %% information and the body of the document, and typically spans the @@ -224,7 +234,7 @@ \label{fig:teaser} \end{teaserfigure} %</sigconf|authordraft|sigplan|acmsmall-conf> -%<*manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> +%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> %% %% This command processes the author and affiliation and title @@ -310,8 +320,9 @@ Frequently-used parameters, or combinations of parameters, include: This document uses the following string as the first command in the source file: \begin{verbatim} -%<manuscript>\documentclass[manuscript,screen]{acmart} +%<manuscript>\documentclass[manuscript,screen,review]{acmart} %<acmsmall|acmsmall-conf>\documentclass[acmsmall]{acmart} +%<acmsmall-submission>\documentclass[acmsmall,screen,review]{acmart} %<acmlarge>\documentclass[acmlarge]{acmart} %<acmtog>\documentclass[acmtog]{acmart} %<sigconf>\documentclass[sigconf]{acmart} @@ -775,4 +786,4 @@ rhoncus. Maecenas eu arcu ac neque placerat aliquam. Nunc pulvinar massa et mattis lacinia. \end{document} -%</manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
\ No newline at end of file +%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> diff --git a/Master/texmf-dist/doc/latex/acmart/samples/samples.ins b/Master/texmf-dist/doc/latex/acmart/samples/samples.ins index 2384a5f27d6..64a6513fe48 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/samples.ins +++ b/Master/texmf-dist/doc/latex/acmart/samples/samples.ins @@ -9,6 +9,7 @@ \generate{% \file{sample-manuscript.tex}{\from{samples.dtx}{manuscript}} \file{sample-acmsmall.tex}{\from{samples.dtx}{acmsmall}} + \file{sample-acmsmall-submission.tex}{\from{samples.dtx}{acmsmall-submission}} \file{sample-acmlarge.tex}{\from{samples.dtx}{acmlarge}} \file{sample-acmtog.tex}{\from{samples.dtx}{acmtog}} \file{sample-sigconf.tex}{\from{samples.dtx}{sigconf}} diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx index 36b1cbe6a68..1138db98e94 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.dtx +++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx @@ -117,13 +117,16 @@ % Ben Liblit, % Rholais Lii, % LianTze Lim, +% Kuldeep S. Meel, % Kai Mindermann, % Frank Mittelbach, % Serguei Mokhov, % Ross Moore, % John Owens, % Joel Nider, +% Scott Pakin, % Tobias Pape, +% Henning Pohl, % Philip Quinn, % Mathias Rav, % Andreas Reichinger, @@ -223,6 +226,7 @@ % \item \textsl{geometry}, \url{http://www.ctan.org/pkg/geometry} % \item \textsl{graphics}, \url{http://www.ctan.org/pkg/graphics} % \item \textsl{hyperref}, \url{http://www.ctan.org/pkg/hyperref} +% \item \textsl{hyperxmp}, \url{http://www.ctan.org/pkg/hyperxmp} % \item \textsl{iftex}, \url{http://www.ctan.org/pkg/iftex} % \item \textsl{inconsolata}, \url{http://www.ctan.org/pkg/inconsolata} % \item \textsl{libertine}, \url{http://www.ctan.org/pkg/libertine} @@ -331,6 +335,10 @@ % option. It provides a version suitable for reviewers and % copy editors. % +% Two samples in the |samples| directory, |manuscript| and +% |acmsmall-submission|, show manuscripts formatted for submission to +% ACM. +% % The default for the option |screen| depends on the publication. At % present it is |false| for all publications \emph{but} PACM, since % PACM is now electronic-only. Thus PACM titles~(see @@ -624,7 +632,11 @@ % copy, but they \emph{are} necessary since they are used by the XML % metadata extraction programs. Do \emph{not} put commas or |\\| % between the elements of \cs{affiliation}. They will be provided -% automatically. +% automatically. +% +% The fields \cs{institution}, \cs{city} and \cs{country} are +% mandatory. If they are not provided, the warning is issued. In the +% future ACM might decide to change the warning to the error. % % % An example of the author block: @@ -1671,6 +1683,9 @@ % You should not abuse the command \cs{vspace}: this command may % disturb the typesetting of ACM papers. % +% You should not load |amssymb| package since the package |acmart| +% defines the corresponding symbols itself. +% %\subsection{A note for wizards: \texttt{acmart-preload-hook.tex}} %\label{sec:ug_preload} % @@ -1871,7 +1886,7 @@ \ProvidesFile{acmart.dtx} %</gobble> %<class>\ProvidesClass{acmart} -[2020/04/30 v1.71 Typesetting articles for the Association for Computing Machinery] +[2020/09/13 v1.73 Typesetting articles for the Association for Computing Machinery] % \end{macrocode} % % \changes{v1.00}{2016/04/14}{First released version} @@ -2793,12 +2808,13 @@ % \end{macro} % % -% And now, |hyperref| +% And now, |hyperref| % \changes{v1.28}{2017/01/07}{Got rid of warnings in pdf keywords} % \changes{v1.46}{2017/08/25}{Delayed hypersetup since journal options % may change screen mode} % \changes{v1.55}{2018/10/20}{Now we use purple color for links} -% \changes{v1.58}{2019/26/01}{Suppressed \cs{addtocounter} in pdf subject} +% \changes{v1.58}{2019/26/01}{Suppressed \cs{addtocounter} in pdf +% subject} % \begin{macrocode} \let\@footnotemark@nolink\@footnotemark \let\@footnotetext@nolink\@footnotetext @@ -2841,6 +2857,13 @@ pdfdisplaydoctitle}} % \end{macrocode} % +% And |hyperxmp| +% \changes{v1.72}{2020/06/14}{Added hyperxmp} +% \begin{macrocode} +\RequirePackage{hyperxmp} +% \end{macrocode} +% +% % Bibliography mangling. % \changes{v1.33}{2017/03/23}{Moved \cs{citename} definition for % non-natbib bibliography, so a package may redefine it} @@ -3147,7 +3170,6 @@ % % The code below is by Ross Moore. % \begin{macrocode} -\RequirePackage{iftex} \ifPDFTeX \input{glyphtounicode} \pdfglyphtounicode{f_f}{FB00} @@ -3158,8 +3180,8 @@ \pdfglyphtounicode{f_t}{0066 0074} \pdfglyphtounicode{T_h}{0054 0068} \pdfgentounicode=1 -\fi \RequirePackage{cmap} +\fi % \end{macrocode} % % @@ -3173,7 +3195,7 @@ have the libertine package installed. Please upgrade your TeX}\@ACM@newfontsfalse} \IfFileExists{zi4.sty}{}{\ClassWarning{\@classname}{You do not - have the zi4 package installed. Please upgrade your + have the inconsolata (zi4.sty) package installed. Please upgrade your TeX}\@ACM@newfontsfalse} \IfFileExists{newtxmath.sty}{}{\ClassWarning{\@classname}{You do not have the newtxmath package installed. Please upgrade your @@ -3195,6 +3217,7 @@ % \begin{macrocode} \if@ACM@newfonts \RequirePackage[T1]{fontenc} + \RequirePackage[libertine]{newtxmath} \ifxetex \RequirePackage[tt=false]{libertine} \setmonofont[StylisticSet=3]{inconsolata} @@ -3207,7 +3230,6 @@ \RequirePackage[varqu]{zi4} \fi \fi - \RequirePackage[libertine]{newtxmath} \fi % \end{macrocode} % @@ -3274,6 +3296,8 @@ % to prevent spurious space warnings} % \changes{v1.67}{2020/01/11}{Patching lstlisting and lstlisting* % to prevent spurious space warnings} +% \changes{v1.73}{2020/08/23}{Patching minted and minted* +% to prevent spurious space warnings} % \begin{macrocode} \AtBeginEnvironment{figure}{\@Description@presentfalse \let\@vspace\@vspace@orig @@ -3299,6 +3323,14 @@ \let\@vspacer\@vspacer@orig} \AtBeginEnvironment{lstlisting*}{\let\@vspace\@vspace@orig \let\@vspacer\@vspacer@orig} +\AtBeginEnvironment{minted}{\let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig} +\AtBeginEnvironment{minted*}{\let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig} +\AtBeginEnvironment{listing}{\let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig} +\AtBeginEnvironment{listing*}{\let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig} % \end{macrocode} % @@ -4055,10 +4087,11 @@ % \changes{v1.46}{2017/08/27}{Started counting authors} % \changes{v1.54}{2018/06/23}{Added submission id in anonymous mode} % \changes{v1.57}{2018/12/09}{Added warning if \cs{author} has comma} +% \changes{v1.72}{2020/05/04}{Added \cs{detokenize} (Kuldeep S. Meel)} % Adding an author to the list of authors and addresses % \begin{macrocode} \renewcommand\author[2][]{% - \IfSubStr{#2}{,}{\ClassWarning{\@classname}{Do not put several + \IfSubStr{\detokenize{#2}}{,}{\ClassWarning{\@classname}{Do not put several authors in the same \string\author\space macro!}}{}% \global\advance\num@authors by 1\relax \if@insideauthorgroup\else @@ -5134,6 +5167,10 @@ % \cs{maketitle}} % \changes{v1.64}{2019/08/17}{Added a switch setting to show that % \cs{maketitle} is typeset} +% \changes{v1.72}{2020/06/14}{Do not andify authors for pdf metadata +% (Scott Pakin)} +% \changes{v1.73}{2020/09/07}{Do not check again the presense of +% address fields} % The (in)famous \cs{maketitle}. Note that in |sigchi-a| mode, authors % are \emph{not} in the title box. % @@ -5248,15 +5285,11 @@ \fi \noindent\@keywords}\par\egroup \fi - \andify\authors - \andify\shortauthors - \global\let\authors=\authors - \global\let\shortauthors=\shortauthors - \if@ACM@printacmref - \@mkbibcitation - \fi + \let\metadata@authors=\authors + \nxandlist{, }{, }{, }\metadata@authors + \def\@ACM@checkaffil{}% \hypersetup{% - pdfauthor={\authors}, + pdfauthor={\metadata@authors}, pdftitle={\@title}, pdfsubject={\@concepts}, pdfkeywords={\@keywords}, @@ -5264,6 +5297,13 @@ \csname ver@acmart.cls\endcsname\space and hyperref \csname ver@hyperref.sty\endcsname}}% + \andify\authors + \andify\shortauthors + \global\let\authors=\authors + \global\let\shortauthors=\shortauthors + \if@ACM@printacmref + \@mkbibcitation + \fi \global\@topnum\z@ % this prevents floats from falling % at the top of page 1 \global\@botnum\z@ % we do not want them to be on the bottom either @@ -5577,6 +5617,7 @@ % \begin{macro}{\institution} % \changes{v1.15}{2016/07/03}{Added macro} % \changes{v1.33}{2017/03/28}{Added obeypunctuation code} +% \changes{v1.73}{2020/09/07}{Check the presence in affil} % \begin{macro}{\position} % \changes{v1.15}{2016/07/03}{Added macro} % \changes{v1.33}{2017/03/28}{Added obeypunctuation code} @@ -5592,6 +5633,7 @@ % \changes{v1.15}{2016/07/03}{Added macro} % \changes{v1.33}{2017/03/28}{Added obeypunctuation code} % \changes{v1.40}{2017/06/15}{We now do not print this even in SIG} +% \changes{v1.73}{2020/09/07}{Check the presence in affil} % \begin{macro}{\state} % \changes{v1.15}{2016/07/03}{Added macro} % \changes{v1.33}{2017/03/28}{Added obeypunctuation code} @@ -5606,6 +5648,7 @@ % \changes{v1.40}{2017/05/27}{Fixed bugs with extra spaces} % \changes{v1.43}{2017/07/11}{Added comma before country for journals} % \changes{v1.46}{2017/08/30}{Corrected spacing for institution} +% \changes{v1.73}{2020/09/07}{Check the presence in affil} % Theoretically we can define the macros for \cs{affiliation} inside % the \cs{@mkauthors}-style commands. However, this would lead to a % strange error if an author uses them outside \cs{affiliation}. Of @@ -5615,21 +5658,24 @@ \def\postcode#1{\unskip\ignorespaces} \if@ACM@journal \def\position#1{\unskip\ignorespaces} - \def\institution#1{\unskip~#1\ignorespaces} - \def\city#1{\unskip\ignorespaces} + \def\institution#1{\global\@ACM@instpresenttrue + \unskip~#1\ignorespaces} + \def\city#1{\global\@ACM@citypresenttrue\unskip\ignorespaces} \def\state#1{\unskip\ignorespaces} \newcommand\department[2][0]{\unskip\ignorespaces} - \def\country#1{\if@ACM@affiliation@obeypunctuation\else, \fi#1\ignorespaces} + \def\country#1{\global\@ACM@countrypresenttrue + \if@ACM@affiliation@obeypunctuation\else, \fi#1\ignorespaces} \else \def\position#1{\if@ACM@affiliation@obeypunctuation#1\else#1\par\fi}% - \def\institution#1{\if@ACM@affiliation@obeypunctuation#1\else#1\par\fi}% + \def\institution#1{\global\@ACM@instpresenttrue + \if@ACM@affiliation@obeypunctuation#1\else#1\par\fi}% \newcommand\department[2][0]{\if@ACM@affiliation@obeypunctuation #2\else#2\par\fi}% % \def\streetaddress#1{\if@ACM@affiliation@obeypunctuation#1\else#1\par\fi}% - \let\city\@ACM@addtoaddress + \def\city#1{\global\@ACM@citypresenttrue\@ACM@addtoaddress{#1}}% \let\state\@ACM@addtoaddress % \def\postcode#1{\if@ACM@affiliation@obeypunctuation#1\else\unskip\space#1\fi}% - \let\country\@ACM@addtoaddress + \def\country#1{\global\@ACM@countrypresenttrue\@ACM@addtoaddress{#1}}% \fi % \end{macrocode} % @@ -5738,11 +5784,78 @@ % % \end{macro} % +% \begin{macro}{\if@ACM@instpresent} +% \changes{v1.73}{2020/09/07}{Added macro} +% Whether the given affiliation has institution +% \begin{macrocode} +\newif\if@ACM@instpresent +\@ACM@instpresenttrue +% \end{macrocode} +% +% \end{macro} +% +% +% \begin{macro}{\if@ACM@citypresent} +% \changes{v1.73}{2020/09/07}{Added macro} +% Whether the given affiliation has city +% \begin{macrocode} +\newif\if@ACM@citypresent +\@ACM@citypresenttrue +% \end{macrocode} +% +% \end{macro} +% \begin{macro}{\if@ACM@countrypresent} +% \changes{v1.73}{2020/09/07}{Added macro} +% Whether the given affiliation has country +% \begin{macrocode} +\newif\if@ACM@countrypresent +\@ACM@countrypresenttrue +% \end{macrocode} +% +% \end{macro} +% +% +% \begin{macro}{\@ACM@resetaffil} +% \changes{v1.73}{2020/09/07}{Added macro} +% Reset affiliation flags +% \begin{macrocode} +\def\@ACM@resetaffil{% + \global\@ACM@instpresentfalse + \global\@ACM@citypresentfalse + \global\@ACM@countrypresentfalse +} +% \end{macrocode} +% +% \end{macro} +% +% \begin{macro}{\@ACM@checkaffil} +% \changes{v1.73}{2020/09/07}{Added macro} +% Check affiliation flags +% \begin{macrocode} +\def\@ACM@checkaffil{% + \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 +} +% \end{macrocode} +% +% \end{macro} +% +% +% % % \begin{macro}{\@mkauthors@i} % \changes{v1.18}{2016/07/12}{Now we andify affiliations} % \changes{v1.33}{2017/03/28}{Added obeypunctuation code} % \changes{v1.40}{2017/06/04}{Switched to MakeTextUppercase} +% \changes{v1.73}{2020/09/07}{Check the presence of required elements +% for affiliations} % This version is used in most journal formats. Note that \cs{and} between % authors with the same affiliation becomes \verb*| and |: % \begin{macrocode} @@ -5764,11 +5877,13 @@ \gdef\@currentaffiliations{% \setkeys{@ACM@affiliation@}{obeypunctuation=false}% \setkeys{@ACM@affiliation@}{##1}% - \@affiliationfont##2}% + \@ACM@resetaffil + \@affiliationfont##2\@ACM@checkaffil}% \else \g@addto@macro{\@currentaffiliations}{\and \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \fi \fi \global\let\and\@typeset@author@line}% @@ -5835,6 +5950,8 @@ % \changes{v1.15}{2016/07/04}{New authors system} % \changes{v1.33}{2017/03/28}{Added obeypunctuation code} % \changes{v1.36}{2017/05/12}{Added authorsperrow overrride} +% \changes{v1.73}{2020/09/07}{Check the presence of required elements +% for affiliations} % The |sigconf| version. Here we use a centered design with each % author in a separate box. % \begin{macrocode} @@ -5886,11 +6003,13 @@ \def\affiliation##1##2{\ifx\@currentaffiliation\@empty \gdef\@currentaffiliation{% \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \else \g@addto@macro\@currentaffiliation{\par \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \fi \global\let\and\@typeset@author@bx }% @@ -5910,6 +6029,8 @@ % \begin{macro}{\@mkauthors@iv} % \changes{v1.33}{2017/03/28}{Added obeypunctuation code} % \changes{v1.36}{2017/05/12}{Added authorsperrow overrride} +% \changes{v1.73}{2020/09/07}{Check the presence of required elements +% for affiliations} % The |sigchi-a| version. We put authors in the main text with % no more than 2 authors per line, unless overriden. % \begin{macrocode} @@ -5953,11 +6074,13 @@ \def\affiliation##1##2{\ifx\@currentaffiliation\@empty \gdef\@currentaffiliation{% \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \else \g@addto@macro\@currentaffiliation{\par \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \fi \global\let\and\@typeset@author@bx}% % diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls index 239698b8946..00330f8cf2f 100644 --- a/Master/texmf-dist/tex/latex/acmart/acmart.cls +++ b/Master/texmf-dist/tex/latex/acmart/acmart.cls @@ -37,7 +37,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{acmart} -[2020/04/30 v1.71 Typesetting articles for the Association for Computing Machinery] +[2020/09/13 v1.73 Typesetting articles for the Association for Computing Machinery] \def\@classname{acmart} \InputIfFileExists{acmart-preload-hook.tex}{% \ClassWarning{\@classname}{% @@ -526,6 +526,7 @@ \fi \hypersetup{pdflang={en}, pdfdisplaydoctitle}} +\RequirePackage{hyperxmp} \if@ACM@natbib \let\citeN\cite \let\cite\citep @@ -698,7 +699,6 @@ \flushbottom \or % sigchi-a \fi -\RequirePackage{iftex} \ifPDFTeX \input{glyphtounicode} \pdfglyphtounicode{f_f}{FB00} @@ -709,21 +709,22 @@ \pdfglyphtounicode{f_t}{0066 0074} \pdfglyphtounicode{T_h}{0054 0068} \pdfgentounicode=1 -\fi \RequirePackage{cmap} +\fi \newif\if@ACM@newfonts \@ACM@newfontstrue \IfFileExists{libertine.sty}{}{\ClassWarning{\@classname}{You do not have the libertine package installed. Please upgrade your TeX}\@ACM@newfontsfalse} \IfFileExists{zi4.sty}{}{\ClassWarning{\@classname}{You do not - have the zi4 package installed. Please upgrade your + have the inconsolata (zi4.sty) package installed. Please upgrade your TeX}\@ACM@newfontsfalse} \IfFileExists{newtxmath.sty}{}{\ClassWarning{\@classname}{You do not have the newtxmath package installed. Please upgrade your TeX}\@ACM@newfontsfalse} \if@ACM@newfonts \RequirePackage[T1]{fontenc} + \RequirePackage[libertine]{newtxmath} \ifxetex \RequirePackage[tt=false]{libertine} \setmonofont[StylisticSet=3]{inconsolata} @@ -736,7 +737,6 @@ \RequirePackage[varqu]{zi4} \fi \fi - \RequirePackage[libertine]{newtxmath} \fi \let\liningnums\@undefined \AtEndPreamble{% @@ -775,6 +775,14 @@ \let\@vspacer\@vspacer@orig} \AtBeginEnvironment{lstlisting*}{\let\@vspace\@vspace@orig \let\@vspacer\@vspacer@orig} +\AtBeginEnvironment{minted}{\let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig} +\AtBeginEnvironment{minted*}{\let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig} +\AtBeginEnvironment{listing}{\let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig} +\AtBeginEnvironment{listing*}{\let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig} \RequirePackage{caption, float} \captionsetup[table]{position=top} @@ -1274,7 +1282,7 @@ \newif\if@insideauthorgroup \@insideauthorgroupfalse \renewcommand\author[2][]{% - \IfSubStr{#2}{,}{\ClassWarning{\@classname}{Do not put several + \IfSubStr{\detokenize{#2}}{,}{\ClassWarning{\@classname}{Do not put several authors in the same \string\author\space macro!}}{}% \global\advance\num@authors by 1\relax \if@insideauthorgroup\else @@ -1871,15 +1879,11 @@ \fi \noindent\@keywords}\par\egroup \fi - \andify\authors - \andify\shortauthors - \global\let\authors=\authors - \global\let\shortauthors=\shortauthors - \if@ACM@printacmref - \@mkbibcitation - \fi + \let\metadata@authors=\authors + \nxandlist{, }{, }{, }\metadata@authors + \def\@ACM@checkaffil{}% \hypersetup{% - pdfauthor={\authors}, + pdfauthor={\metadata@authors}, pdftitle={\@title}, pdfsubject={\@concepts}, pdfkeywords={\@keywords}, @@ -1887,6 +1891,13 @@ \csname ver@acmart.cls\endcsname\space and hyperref \csname ver@hyperref.sty\endcsname}}% + \andify\authors + \andify\shortauthors + \global\let\authors=\authors + \global\let\shortauthors=\shortauthors + \if@ACM@printacmref + \@mkbibcitation + \fi \global\@topnum\z@ % this prevents floats from falling % at the top of page 1 \global\@botnum\z@ % we do not want them to be on the bottom either @@ -2097,19 +2108,22 @@ \def\postcode#1{\unskip\ignorespaces} \if@ACM@journal \def\position#1{\unskip\ignorespaces} - \def\institution#1{\unskip~#1\ignorespaces} - \def\city#1{\unskip\ignorespaces} + \def\institution#1{\global\@ACM@instpresenttrue + \unskip~#1\ignorespaces} + \def\city#1{\global\@ACM@citypresenttrue\unskip\ignorespaces} \def\state#1{\unskip\ignorespaces} \newcommand\department[2][0]{\unskip\ignorespaces} - \def\country#1{\if@ACM@affiliation@obeypunctuation\else, \fi#1\ignorespaces} + \def\country#1{\global\@ACM@countrypresenttrue + \if@ACM@affiliation@obeypunctuation\else, \fi#1\ignorespaces} \else \def\position#1{\if@ACM@affiliation@obeypunctuation#1\else#1\par\fi}% - \def\institution#1{\if@ACM@affiliation@obeypunctuation#1\else#1\par\fi}% + \def\institution#1{\global\@ACM@instpresenttrue + \if@ACM@affiliation@obeypunctuation#1\else#1\par\fi}% \newcommand\department[2][0]{\if@ACM@affiliation@obeypunctuation #2\else#2\par\fi}% - \let\city\@ACM@addtoaddress + \def\city#1{\global\@ACM@citypresenttrue\@ACM@addtoaddress{#1}}% \let\state\@ACM@addtoaddress - \let\country\@ACM@addtoaddress + \def\country#1{\global\@ACM@countrypresenttrue\@ACM@addtoaddress{#1}}% \fi \def\@mkauthors{\begingroup \hsize=\textwidth @@ -2170,6 +2184,28 @@ \unskip, {\@currentaffiliations}\par \fi \def\@currentaffiliations{}} +\newif\if@ACM@instpresent +\@ACM@instpresenttrue +\newif\if@ACM@citypresent +\@ACM@citypresenttrue +\newif\if@ACM@countrypresent +\@ACM@countrypresenttrue +\def\@ACM@resetaffil{% + \global\@ACM@instpresentfalse + \global\@ACM@citypresentfalse + \global\@ACM@countrypresentfalse +} +\def\@ACM@checkaffil{% + \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 +} \def\@mkauthors@i{% \def\@currentauthors{}% \def\@currentaffiliations{}% @@ -2188,11 +2224,13 @@ \gdef\@currentaffiliations{% \setkeys{@ACM@affiliation@}{obeypunctuation=false}% \setkeys{@ACM@affiliation@}{##1}% - \@affiliationfont##2}% + \@ACM@resetaffil + \@affiliationfont##2\@ACM@checkaffil}% \else \g@addto@macro{\@currentaffiliations}{\and \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \fi \fi \global\let\and\@typeset@author@line}% @@ -2250,11 +2288,13 @@ \def\affiliation##1##2{\ifx\@currentaffiliation\@empty \gdef\@currentaffiliation{% \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \else \g@addto@macro\@currentaffiliation{\par \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \fi \global\let\and\@typeset@author@bx }% @@ -2293,11 +2333,13 @@ \def\affiliation##1##2{\ifx\@currentaffiliation\@empty \gdef\@currentaffiliation{% \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \else \g@addto@macro\@currentaffiliation{\par \setkeys{@ACM@affiliation@}{obeypunctuation=false}% - \setkeys{@ACM@affiliation@}{##1}##2}% + \setkeys{@ACM@affiliation@}{##1}\@ACM@resetaffil + ##2\@ACM@checkaffil}% \fi \global\let\and\@typeset@author@bx}% \bgroup\hsize=\columnwidth |