summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/acmart/samples/samples.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/acmart/samples/samples.dtx')
-rw-r--r--macros/latex/contrib/acmart/samples/samples.dtx94
1 files changed, 83 insertions, 11 deletions
diff --git a/macros/latex/contrib/acmart/samples/samples.dtx b/macros/latex/contrib/acmart/samples/samples.dtx
index 36c3752677..3d8fc9abda 100644
--- a/macros/latex/contrib/acmart/samples/samples.dtx
+++ b/macros/latex/contrib/acmart/samples/samples.dtx
@@ -1,4 +1,4 @@
-%<*manuscript|acmsmall|acmsmall-submission|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-i13n>
%%
%%
%% Commands for TeXCount
@@ -26,6 +26,8 @@
%<sigplan>\documentclass[sigplan,screen]{acmart}
%<sigchi>\documentclass[sigchi]{acmart}
%<sigchi-a>\documentclass[sigchi-a, nonacm]{acmart}
+%<sigconf-i13n>\documentclass[sigconf, language=french,
+%<sigconf-i13n>language=german, language=spanish, language=english]{acmart}
%%
%% \BibTeX command to typeset BibTeX logo in the docs
@@ -44,8 +46,8 @@
\acmYear{2018}
\acmDOI{XXXXXXX.XXXXXXX}
-%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
-%<*manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
+%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
+%<*manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%% These commands are for a PROCEEDINGS abstract or paper.
\acmConference[Conference acronym 'XX]{Make sure to enter the correct
conference title from your rights confirmation emai}{June 03--05,
@@ -58,7 +60,7 @@
% June 03--05, 2018, Woodstock, NY}
\acmPrice{15.00}
\acmISBN{978-1-4503-XXXX-X/18/06}
-%</manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
+%</manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%<*acmsmall|acmsmall-submission|acmlarge|acmtog>
%%
@@ -71,7 +73,7 @@
\acmArticle{111}
\acmMonth{8}
%</acmsmall|acmsmall-submission|acmlarge|acmtog>
-%<*manuscript|acmsmall|acmsmall-submission|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-i13n>
%%
@@ -103,6 +105,9 @@
%% 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}
+%<sigconf-i13n>\translatedtitle{french}{Le nom du titre est l'espoir}
+%<sigconf-i13n>\translatedtitle{german}{Der Name des Titels ist Hoffnung}
+%<sigconf-i13n>\translatedtitle{spanish}{El nombre del título es esperanza}
%%
%% The "author" command and its associated commands are used to define
@@ -201,6 +206,40 @@
as many of the formatting elements an author may use in the
preparation of the documentation of their work.
\end{abstract}
+%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
+%<*sigconf-i13n>
+
+\begin{translatedabstract}{french}
+ Un document \LaTeX\ clair et bien documenté est présenté comme un
+ article formaté pour publication par ACM dans les actes d'une
+ conférence ou parution dans une revue. Basé sur la classe de
+ document ``acmart'', ce l'article présente et explique de nombreuses
+ variations courantes, ainsi que autant d'éléments de mise en forme
+ qu'un auteur peut utiliser dans le préparation de la documentation
+ de leur travail.
+\end{translatedabstract}
+
+\begin{translatedabstract}{german}
+ Ein übersichtliches und gut dokumentiertes \LaTeX\-Dokument wird als
+ Artikel, der für die Veröffentlichung durch ACM in einem Tagungsband
+ formatiert wurde oder Zeitschriftenveröffentlichung. Basierend auf
+ der Dokumentenklasse ``acmart'', this Artikel präsentiert und
+ erklärt auch viele der gängigen Variationen so viele der
+ Formatierungselemente, die ein Autor in der verwenden darf
+ Vorbereitung der Dokumentation ihrer Arbeit.
+\end{translatedabstract}
+
+\begin{translatedabstract}{spanish}
+ Un documento \LaTeX\ claro y bien documentado se presenta como un
+ artículo formateado para su publicación por ACM en las actas de una
+ conferencia o publicación de una revista. Basado en la clase de
+ documento ``acmart'', este artículo presenta y explica muchas de las
+ variaciones comunes, así como tantos de los elementos de formato que
+ un autor puede usar en el preparación de la documentación de su
+ trabajo.
+ \end{translatedabstract}
+%</sigconf-i13n>
+%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%%
%% The code below is generated by the tool at http://dl.acm.org/ccs.cfm.
@@ -240,9 +279,16 @@
%% 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}
-
-%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
-%<*sigconf|authordraft|sigplan|acmsmall-conf>
+%<sigconf-i13n>\translatedkeywords{french}{ensembles de données,
+%<sigconf-i13n> réseaux de neurones,
+%<sigconf-i13n> détection du regard, marquage de texte}
+%<sigconf-i13n> \translatedkeywords{german}{Datensätze,
+%<sigconf-i13n> neuronale Netze, Blickerkennung, Text-Tagging}
+%<sigconf-i13n> \translatedkeywords{spanish}{conjuntos de datos,
+%<sigconf-i13n> redes neuronales, detección de mirada, etiquetado de texto}
+
+%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
+%<*sigconf|authordraft|sigplan|acmsmall-conf|sigconf-i13n>
%% A "teaser" image appears between the author and affiliation
%% information and the body of the document, and typically spans the
%% page.
@@ -253,8 +299,8 @@
seats. Ichiro Suzuki preparing to bat.}
\label{fig:teaser}
\end{teaserfigure}
-%</sigconf|authordraft|sigplan|acmsmall-conf>
-%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
+%</sigconf|authordraft|sigplan|acmsmall-conf|sigconf-i13n>
+%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%%
%% This command processes the author and affiliation and title
@@ -350,6 +396,8 @@ source file:
%<sigplan>\documentclass[sigplan,screen]{acmart}
%<sigchi>\documentclass[sigchi]{acmart}
%<sigchi-a>\documentclass[sigchi-a]{acmart}
+%<sigconf-i13n>\documentclass[sigconf, language=french,
+%<sigconf-i13n>language=german, language=spanish, language=english]{acmart}
\end{verbatim}
@@ -744,6 +792,30 @@ and note that in the appendix, sections are lettered, not
numbered. This document has two appendices, demonstrating the section
and subsection identification method.
+\section{Multi-language papers}
+
+Papers may be written in languages other than English or include
+titles, subtitles, keywords and abstracts in different languages (as a
+rule, a paper in a language other than English should include an
+English title and an English abstract). Use \verb|language=...| for
+every language used in the paper. The last language indicated is the
+main language of the paper. For example, a French paper with
+additional titles and abstracts in English and German may start with
+the following command
+\begin{verbatim}
+\documentclass[sigconf, language=english, language=german,
+ language=french]{acmart}
+\end{verbatim}
+
+The title, subtitle, keywords and abstract will be typeset in the main
+language of the paper. The commands \verb|\translatedXXX|, \verb|XXX|
+begin title, subtitle and keywords, can be used to set these elements
+in the other languages. The environment \verb|translatedabstract| is
+used to set the translation of the abstract. These commands and
+environment have a mandatory first argument: the language of the
+second argument. See \verb|sample-sigconf-i13n.tex| file for examples
+of their usage.
+
\section{SIGCHI Extended Abstracts}
The ``\verb|sigchi-a|'' template style (available only in \LaTeX\ and
@@ -807,4 +879,4 @@ rhoncus. Maecenas eu arcu ac neque placerat aliquam. Nunc pulvinar
massa et mattis lacinia.
\end{document}
-%</manuscript|acmsmall|acmsmall-submission|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-i13n>