Debian Codegraph @

texmf-dist/doc/latex/anonymous-acm/anonymous-acm.tex

raw
1 %% documentation for anonymous-acm.sty
2 %% version 1.0 09-May-2020
3 %% Maintained by Brett A. Becker [email protected]
4
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3 of this license or any later version.
8 % The latest version of this license is in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3 or later is part of all distributions of LaTeX
11 % version 2005/12/01 or later.
12
13 % This program is distributed in the hope that it will be useful
14 % but WITHOUT ANY WARRANTY; without even the implied warranty of
15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
17 % requires acmart.cls
18
19 \documentclass[sigconf, balance=false]{acmart}
20
21 \setcopyright{rightsretained}
22
23 \usepackage[false]{anonymous-acm}
24
25 \title{The anonymous-acm Package for the ACM \LaTeX~ Master Article Template}
26 \subtitle{Version 1.0: May 09, 2020}
27
28 \authoranon{
29 \author{Brett A. Becker}
30 \affiliation{
31 \institution{University College Dublin}
32 \city{Dublin}
33 \country{Ireland}
34 }
35 \email{[email protected]}
36
37 \author{Jiahao Xu}
38 \affiliation{
39 \institution{Beijing-Dublin International College}
40 \city{Beijing}
41 \country{China}
42 }
43
44 \author{Zixiang Xu}
45 \affiliation{
46 \institution{Beijing-Dublin International College}
47 \city{Beijing}
48 \country{China}
49 }
50
51 \author{Xinchi Feng}
52 \affiliation{
53 \institution{Beijing-Dublin International College}
54 \city{Beijing}
55 \country{China}
56 }
57
58 \author{Zhaorui Wang}
59 \affiliation{
60 \institution{Beijing-Dublin International College}
61 \city{Beijing}
62 \country{China}
63 }
64 }
65
66 \begin{document}
67
68 \begin{abstract}
69 Academics often need to submit anonymous versions of their papers for peer-review. This often requires anonymization which at some future date needs to be reversed. However de-anonymizing an anonymized paper can be laborious and error-prone. This \LaTeX~ package allows anonymization options to be specified at the time of writing for authors using acmart.cls, the official Association of Computing Machinery (ACM) master article template. Anonymization or deanonymization is carried out by simply changing one option and recompiling.
70 \end{abstract}
71
72 \maketitle
73
74 %\tableofcontents
75
76 \section{Introduction}
77 The anonymous-acm package allows for the easy anonymization and deanonymization of academic papers. The required information for both the anonymous and non-anonymous versions of the paper are specified at the time of writing. It is made to be used with the official Association of Computing Machinery (ACM) master article template for \LaTeX~ as described in Section \ref{sec:reqs}. This pdf was produced using acmart. acmart has an anonymous mode which allows for the anonymization of author information, the optional acknowledgments section, and also allows arbitrary text to be hidden (without being replaced by anything such as placeholder text). This package provides additional functionality including placeholder text, anonymous links and anonymous citations/references as described in Section~\ref{sec:usage}.
78
79 \subsection{Demonstration}
80 A live demonstration of this package is available on Overleaf at:
81 \begin{itemize}
82 \item \href{https://www.overleaf.com/read/bmqdgdxkfwys}{https://www.overleaf.com/read/bmqdgdxkfwys}
83 \end{itemize}
84 \noindent (Overleaf account required).
85
86 \subsection{Installation}
87 The anonymous-acm package can be found at:
88
89 \begin{itemize}
90 \item \url{https://ctan.org/pkg/anonymous-acm}
91 \end{itemize}
92 \noindent Simply include anonymous-acm.sty in the preamble of your .tex file.
93
94 \subsection{Requirements}
95 \label{sec:reqs}
96 The anonymous-acm package is designed to work with \textbf{acmart}, the official Association of Computing Machinery (ACM) master article template for \LaTeX. This file was prepared with acmart. It is available here:
97 \begin{itemize}
98 \item \url{https://www.acm.org/publications/proceedings-template}
99 \end{itemize}
100
101 \noindent or here:
102 \begin{itemize}
103 \item \url{https://www.ctan.org/pkg/acmart}.
104 \end{itemize}
105 This package was tested with acmart version 1.69. The users' guide, implementation and GitHub repo for this class are available here at the link above.
106
107 The anonymous text and link features described in Sections \ref{sec:text} and \ref{sec:links} will work with or without acmart. The anonymization of references and citations described in Section \ref{sec:refs} may or may not - it was tested with the ACM reference format only. The anonymization of authors and acknowledgments described in Sections \ref{sec:authors} and \ref{sec:acks} will most likely only work with acmart.
108
109 This package also uses the hyperref package which is already used by acmart, so there is probably no need to use it directly, but we include it here for completeness:
110
111 \begin{itemize}
112 \item \url{http://www.ctan.org/pkg/hyperref}
113 \end{itemize}
114
115 \subsection{License}
116 This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or any later version. The latest version of this license is in http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later.
117
118 \section{Usage}
119 \label{sec:usage}
120
121 The following command should be placed in the preamble of the .tex document you wish to make anonymous.
122 \begin{verbatim}
123 \usepackage[option]{anonymous}
124 \end{verbatim}
125
126 \noindent \texttt{option} can be \texttt{true} or \texttt{false}. True turns anonymous mode on, and false turns anonymous mode off.
127
128 \subsection{Author Anonymity}
129 \label{sec:authors}
130 The following command is used to anonymize author information.
131
132 \begin{verbatim}
133 \authoranon{authors information}
134 \end{verbatim}
135
136 \noindent It should be used to enclose the normal author entries as in the example below.
137
138 \begin{verbatim}
139 \authoranon{
140 \author{Brett A. Becker}
141 \affiliation{
142 \institution{University College Dublin}
143 \city{Dublin}
144 \country{Ireland}}
145 \email{[email protected]}
146 ...
147 %other authors' information here
148 }
149 \end{verbatim}
150
151 \noindent When anonymous mode is on, the author listing will appear as follows:
152
153 \begin{center}
154 \textbf{Anonymous Author(s)}
155 \end{center}
156 \vspace*{3mm}
157 \noindent Additionally, author information will be removed from the `ACM Reference Format' and the `bibstrip' (in this document at the bottom of the first column on page 1). It will also be removed from running headers that appear on pages other than the title page.
158
159 \subsection{Anonymous Arbitrary Text}
160 \label{sec:text}
161 The following command replaces arbitrary text with a default placeholder or a placeholder of the user's choice.
162
163 \begin{verbatim}
164 \textanon{text}{placeholder}
165 \end{verbatim}
166
167 \noindent where \texttt{text} is the text that should be replaced. If the second argument is empty, \texttt{text} is replaced with the default placeholder: <text removed for peer review>. If \texttt{placeholder} is non-empty, that is used to replace \texttt{text}.
168 \ \\
169
170 \noindent \textbf{Example 1}
171
172 \begin{verbatim}
173 In 2020 at \textanon{University College Dublin}{}
174 we conducted a randomized controlled trial with
175 128 students enrolled in the BSc in Biology.
176 \end{verbatim}
177
178 \noindent When anonymous mode is on, the above will appear as follows:
179 \begin{quote}
180 In 2020 at <text removed for peer review> we conducted a randomized controlled trial with 128 students enrolled in the BSc in Biology.
181 \end{quote}
182 When anonymous mode is off, it will appear as expected:
183 \begin{quote}
184 In 2020 at University College Dublin we conducted a randomized controlled trial with 128 students enrolled in the BSc in Biology.
185 \end{quote}
186 \ \\
187 \noindent \textbf{Example 2}
188
189 \begin{verbatim}
190 In 2020 at \textanon{University College Dublin}
191 {Anonymous University} we conducted a randomized
192 controlled trial with 128 students enrolled in the
193 BSc in Biology.
194 \end{verbatim}
195
196 \noindent When anonymous mode is on, the above will appear as follows:
197 \begin{quote}
198 In 2020 at Anonymous University we conducted a randomized controlled trial with 128 students enrolled in the BSc in Biology.
199 \end{quote}
200 When anonymous mode is off, it will appear as expected:
201 \begin{quote}
202 In 2020 at University College Dublin we conducted a randomized controlled trial with 128 students enrolled in the BSc in Biology.
203 \end{quote}
204
205 \subsection{Anonymous Links}
206 \label{sec:links}
207 The following commands allow links to be hidden with some flexibility:
208 \begin{verbatim}
209 \linkanon{}{}
210 \textlinkanon{}{}
211 \end{verbatim}
212
213 \noindent Here is an example:
214
215 \begin{verbatim}
216 The url for Google is:
217 \linkanon{https://www.google.com}{www.google.com}
218
219 \textlinkanon{https://www.ryanair.com}{Click here}
220 to go to Ryanair.
221 \end{verbatim}
222
223 \noindent When anonymous mode is on, links are deactivated and the above appears as follows:
224 \begin{quote}
225 The url for Google is: <anonymous link>
226 \end{quote}
227 \begin{quote}
228 Click here to go to Ryanair.
229 \end{quote}
230
231 \noindent When anonymous mode is off, links are active, and the above appears as follows:
232 \begin{quote}
233 The url for Google is: \href{www.google.com}{www.google.com}
234 \end{quote}
235 \begin{quote}
236 \href{www.ryanair.com}{Click here} to go to Ryanair.
237 \end{quote}
238
239 \noindent \texttt{\textbackslash linkanon} can also be used with one argument as follows:
240
241 \begin{verbatim}
242 \linkanon{www.google.com}
243 \end{verbatim}
244
245 \noindent In that case the link text and the link itself are both set to be the argument.
246
247 \subsection{Anonymous References \& Citations}
248 \label{sec:refs}
249 The following command is used to make citations anonymous.
250
251 \begin{verbatim}
252 \citeanon[option]{bibentry}
253 \end{verbatim}
254
255 \noindent When anonymous mode is on, citations will appear as [anonymous] and the corresponding reference will not appear in the reference list. If there are other non-anonymous citations in your paper, they may appear renumbered depending on the location of the temporarily anonymized reference in the ordering of references..
256
257 When anonymous mode is off, citations appear as normal. For example, \texttt{\textbackslash citeanon\{bibentry\}} might appear as [4] depending on your bibfile and bibliography style. \texttt{\textbackslash citeanon[p.1]\{bibentry\}} might appear as [4, p.1]. Additionally, the corresponding reference will appear in the references list.
258
259 \subsection{Anonymous Acknowledgments}
260 \label{sec:acks}
261 When anonymous mode is on the Acknowledgments Section is automatically hidden (header and body). When anonymous mode is off it appears as normal. It is necessary to use the ``acks'' environment provided by acmart:
262
263 \begin{verbatim}
264 \begin{acks}
265 Acknowledgments go here.
266 \end{acks}
267 \end{verbatim}
268
269 \end{document}