Debian Codegraph @

texmf-dist/doc/latex/iacrj/iacrj-doc.tex

raw
1 % iacrj CLASS DOCUMENTATION
2 % Written by Joppe W. Bos and Kevin S. McCurley (2022-2026),
3 % based on prior work on the iacrtrans class by
4 % Gaetan Leurent [email protected] (2016-2018).
5 %
6 %% Copyright 2026, Joppe W. Bos and Kevin S. McCurley
7 %%
8 %% This work may be distributed and/or modified under the
9 %% conditions of the LaTeX Project Public License, either version 1.3c
10 %% of this license or (at your option) any later version.
11 %% The latest version of this license is in
12 %% https://www.latex-project.org/lppl.txt
13 %%
14 %% This work has the LPPL maintenance status `maintained'.
15 %%
16 %% The Current Maintainer of this work is Kevin S. McCurley,
17 %% <[email protected]>
18 %%
19 %% This work consists of the files iacrj.cls, iacrj-doc.tex, iacrj-doc.pdf
20 %% and iacrj-template.tex.
21
22 \DocumentMetadata{
23 lang = en-US,
24 pdfstandard = a-2a
25 }
26 \documentclass[journal=cic,version=preprint]{iacrj}
27 \NewDocumentCommand{\cmd}{om}{%
28 \IfNoValueTF{#1}{\texttt{\textbackslash{}#2}%
29 }{%
30 \texttt{\textbackslash{}#2\{#1\}}}%
31 }
32
33 % Borrowed from btxdoc.tex
34 \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
35 T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
36
37 \def\BibLaTeX{Bib\LaTeX}
38
39 \title[running = {The iacrj document class}]{How to Use the IACR Journal Document Class}
40 \subtitle{iacrj LaTeX Class Documentation (v0.9.1)}
41
42 \addauthor[orcid = {0000-0003-1010-8157},
43 inst = {1},
44 onclick = {https://www.joppebos.com},
45 email = {[email protected]},
46 surname = {Bos},
47 ]{Joppe W. Bos}
48 \addauthor[orcid = {0000-0001-7890-5430},
49 inst = {2},
50 email = {[email protected]},
51 surname = {McCurley},
52 ]{Kevin S. McCurley}
53
54 \addaffiliation[ror = {031v4g827},
55 street = {Interleuvenlaan 80},
56 city = {Leuven},
57 postcode = {3001},
58 country = {Belgium}
59 ]{NXP Semiconductors}
60 \addaffiliation[country={United States}]{Self}
61
62 \license{CC-by}
63
64 \keywords[Template, LaTeX, IACR]{Template,
65 \LaTeX, IACR}
66 \begin{document}
67 \maketitle
68
69
70 \begin{abstract}
71 This is documentation for the \texttt{iacrj} document class that can
72 be used for the three IACR journals ToSC, TCHES, and
73 CiC. The \texttt{iacrj} document class is intended to supercede
74 both \texttt{iacrcc.cls} and \texttt{iacrtrans.cls}.
75 \end{abstract}
76 \begin{textabstract}
77 This is documentation for the iacrj.cls document class that can
78 be used for the three IACR journals ToSC, TCHES, and
79 CiC. The iacrj document class is intended to supercede
80 both iacrcc.cls and iacrtrans.cls.
81 \end{textabstract}
82 \section*{Introduction}
83
84 This document is a guide to using the \texttt{iacrj} document class for
85 three IACR journals:
86 \begin{itemize}
87 \item IACR Transactions on Symmetric Cryptology (ToSC),
88 \item IACR Transactions on Cryptographic Hardware and Embedded Systems (TCHES),
89 \item IACR Communications in Cryptology (CiC)
90 \end{itemize}
91 The \texttt{iacrj.cls} class is intended to replace both
92 \href{https://github.com/Cryptosaurus/iacrtrans}{\texttt{iacrtrans}}
93 and \href{https://github.com/IACR/latex/iacrcc}{\texttt{iacrcc}}.
94
95 The biggest difference between \texttt{iacrj} and
96 \texttt{iacrtrans} is the way that metadata is supplied by authors.
97 Rather than using the \cmd{author} macro to enclose all author names,
98 each author is added with a \cmd{addauthor} macro. The macros for
99 supplying metadata are defined in the
100 companion \texttt{metacapture.sty}
101 \LaTeX\ style file. The \texttt{metacapture.sty} package is \href{metacapture-doc.pdf}{documented separately},
102 but that documentation is mostly of interest to designers of
103 other \LaTeX\ document classes.
104
105 The class is still in development and feedback and comments are
106 welcome. The latest version can be found at:
107 \href{https://publish.iacr.org/iacrj}{\texttt{publish.iacr.org/iacrj}}.
108 There is also a \href{https://github.com/IACR/iacrj}{github
109 repository} where you can open issues or to submit pull requests.
110 The complete package consists of four files. \texttt{iacrj.cls} is
111 the main document class that loads the \texttt{metacapture.sty}
112 package. \texttt{iacrj-doc.tex} is used to produce this PDF
113 file. \texttt{iacrj-template.tex} can be used as a starting point for
114 writing an article for ToSC, TCHES, or CiC. The only difference
115 between these is that there is a \texttt{journal} argument
116 in \cmd{documentclass}.
117
118 \paragraph*{NOTES}
119 \begin{itemize}
120 \item The production system to which you submit your final version requires
121 that the main \LaTeX\ file should be \texttt{main.tex}. You might as
122 well start that way by copying \texttt{iacrj-template.tex} to \texttt{main.tex}.
123 \item The default fonts are provided by the document class. Please do not
124 change this.
125 \item Avoid using too many packages. Many authors are lazy and just
126 copy what they used in the past. This is a very bad habit, and some
127 pckages either won't work or need to be loaded in a prescribed
128 order. See the list of acceptable packages
129 at \url{https://publish.iacr.org}.
130 \item Don't try to change the \texttt{hyperref} options, the bibliography style,
131 the page style, or the page numbering.
132 \item Don't use macros like \cmd{if} or \cmd{include} inside any
133 metadata like the title or abstract.
134 \item Footnotes are handled differently in this class, and in
135 particular \cmd{thanks} is disabled.
136 \end{itemize}
137
138 \section{Invocation and usage}
139
140 The class supports the following class options with \verb+\documentclass{iacrj}+
141 \begin{description}
142 \item[\texttt{[journal=tosc]}] is used to select formatting for ToSC,
143 \texttt{[journal=tches]} is used for TCHES, and \texttt{[journal=cic]}
144 is used for CiC. One of these must be specified.
145 \item[\texttt{[version=preprint]}] for preprints (without copyright info, default)
146 \item[\texttt{[version=submission]}] for submissions (anonymous, with
147 line numbers). If desired, this can be combined with
148 \texttt{[notanonymous]} if the call for papers requires
149 non-anonymous submissions.
150 \item[\texttt{[version=final]}] for final papers. This imposes some
151 additional requirements like a license and a text-only abstract
152 in the \texttt{textabstract} environment.
153 \item[\texttt{[biblatex]}] may be used if you prefer using
154 \BibLaTeX\ to \BibTeX. Note that we do not support options to be
155 passed to \BibLaTeX, as they may conflict with the style of the journal. We use
156 a bibliography style based on the alpha style (e.g., \cite{RSA78}).
157 \item[\texttt{[floatrow]}] load the \texttt{floatrow} package. This is useful
158 when you have fancy figures or tables. In either case, \texttt{iacrj}
159 will customize how tables and figures are laid out.
160 \end{description}
161
162 The current date of compilation time is automatically added to the
163 footer of the front page. If you want to adjust this date you can
164 use the \verb+\documentdate+ macro (e.g. \verb+\documentdate{2023-10-05}+)
165 or use \verb+\documentdate{}+ to omit adding the date.
166
167 The \texttt{iacrj} class automatically loads \texttt{hyperref}
168 after all other packages. If you need some packages like \texttt{cleveref}
169 to be loaded \emph{after} \texttt{hyperref}, you should read Section~\ref{sec:loadorder}.
170
171 \section{Macros to add title and author information}
172
173 \subsection{Title}
174 A title is added using the \cmd{title} macro, it has a number of optional arguments:
175 \begin{center}
176 \begin{tabular}{l@{\hspace{1cm}}p{0.7\linewidth}}
177 {\tt running} & The running title displayed in the headers.\\
178 {\tt plaintext} & A text version of the title. This is required if you use macros in the
179 main argument to the \cmd{title} macro.\\
180 \end{tabular}
181 \end{center}
182 \noindent An example using all the optional arguments would look like:
183
184 \begin{verbatim}
185 \title[running = {How to use the iacrj class},
186 plaintext = {How to use the iacrj LaTeX class}
187 ]{How to use the \texttt{iacrj} \LaTeX\ class}
188 \end{verbatim}
189 The \verb+plaintext+ option is only required if you use macros in your
190 title (it is required in the example because the \cmd{LaTeX}
191 and \cmd{texttt} macros are used). Inline mathematics and accents
192 like \verb+\"u+ are allowed in plain text. Note that \LaTeX\ has
193 defaulted to UTF-8 input since 2019, so just ü is preferred
194 to \verb+\"u+. Note that both \verb+\thanks+ and \verb+\footnote+ are
195 disabled because footnotes are forbidden on titles. You may instead
196 use the \cmd{genericfootnote} macro described in
197 section~\ref{footnotes}. The \verb+running+ option is only required
198 if the title does not fit on a single line in the header.
199
200 This is a good time to explain why plaintext versions are
201 required. These are used by the journal production system that must
202 produce titles for various other purposes. Examples include the
203 registration of the DOI with \texttt{crossref.org}, the production of
204 RSS and OAI-PMH, the indexing of your article with search engines, and
205 the creation of HTML pages for your article.
206
207 \subsection{Subtitle}
208 An author is always allowed to have a two-line title by inserting a
209 newline \texttt{\textbackslash\textbackslash} into the main argument
210 of \cmd{title}, but some authors may instead want a ``subtitle''
211 that is typeset in a smaller font under the title.
212 This can be accomplished with the \cmd{subtitle} macro.
213 This also takes an optional \texttt{plaintext} attribute if the main argument
214 to \cmd{subtitle} contains any macros. A full example could be:
215 \begin{Verbatim}[samepage=true]
216 \subtitle[plaintext={A LaTeX tutorial}]{%
217 A \LaTeX\ tutorial\protect\footnote{Thanks to Leslie Lamport}}
218 \end{Verbatim}
219
220 \subsection{Authors}
221 Author information is entered using the \verb+\addauthor+,
222 \verb+\addaffiliation+, and \verb+\addfunding+ macros. Authors are asked
223 to enter this information in a structured way so that we can provide
224 it to indexing agencies. The \verb+\author+ macro is disabled.
225
226 Authors are listed individually using repeated calls to the {\tt
227 \textbackslash{}addauthor} command. There are a number of
228 optional arguments to {\tt \textbackslash{}addauthor}:
229 \begin{center}
230 \begin{tabular}{l@{\hspace{1cm}}p{0.7\linewidth}}
231 {\tt inst} & A numerical list of indices specifying an institution in the
232 affiliation array (see below). These are used as footnote symbols
233 to link to affiliations.\\
234 {\tt orcid} & Create a small clickable orcid logo next to the authors name
235 looking like \OrcidLink{0000-0003-1010-8157} and linking to
236 the authors ORCID (see: \url{https://orcid.org}).\\
237 {\tt footnote} & Create an author-specific footnote. The \cmd{footnote} macro
238 is disabled inside the \cmd{addauthor} macro.\\
239 {\tt surname} & Indicate the surname of the author for indexing purposes.\\
240 {\tt onclick} & Creates a symbol \linkicon\ displayed next to the author name
241 that is a clickable link to a URL that is supplied in the argument. This may be
242 used for a link to a person web page. Links to web pages can also be specified
243 in the \texttt{footnote} argument with the \cmd{url} macro, but authors should be
244 formatted in a consistent way.\\
245 {\tt email} & Define the e-mail address of this author. Note that at least
246 one e-mail address is required when \texttt{[version=final]} is used.\\
247 \end{tabular}
248 \end{center}
249
250 \noindent We \textbf{strongly} recommend that authors enter their
251 ORCID ID into the paper, because this ensures that they will get
252 citation credit for their papers. Authors can use the \texttt{surname}
253 argument to indicate what part of the author name is the surname. This
254 is used only for metadata processing, and is especially useful for
255 cases with middle names \emph{and/or} double surnames which might be
256 confusing.
257
258 When the URL provided to the {\tt onclick} option contain characters
259 with a ``special'' meaning in \LaTeX{} they might render incorrectly.
260 An example with some of the common characters \string~, \%, and \# is
261 \begin{verbatim}
262 onclick = {https://www.webpage.com/\string~\%\#/}
263 \end{verbatim}
264 \noindent which displays \AuthorLink{https://www.webpage.com/\string~\%\#/}
265 next to the author name.
266
267 An example of \cmd{addauthor} using all the optional arguments is given below. In this case
268 the author has \verb+inst={1,2}+ to indicate that they are affiliated with
269 the first and second affiliations that are entered later with
270 \verb+\addaffiliation+:
271
272 \begin{verbatim}
273 \addauthor[orcid = {0000-0000-0000-0000},
274 inst = {1,2},
275 footnote = {Thanks to my supervisor for the support.},
276 onclick = {https://www.mypersonalwebpage.com},
277 email = {[email protected]},
278 surname = {Accomplished},
279 ]{Alice Accomplished}
280 \end{verbatim}
281 The \cmd{thanks} macro is disabled inside \cmd{addauthor}, so
282 the \verb+footnote+ option on \cmd{addauthor} should be used instead.
283
284 The author names displayed in the header are constructed automatically, but
285 if this extends to more than one line, you should use the
286 \cmd{authorrunning} macro to define a list of authors in the header. You can
287 use ``et al'' to abbreviate the list, or use only surnames, or you can
288 simply set it to an empty string to omit the author list in the
289 header.
290
291 \subsection{Affiliations}
292 Affiliations are listed individually using the \cmd{addaffiliation} command
293 \emph{after} the last author has been added using \cmd{addauthor}.
294 There are a number of optional arguments to \cmd{addaffiliation}:
295
296 \begin{center}
297 \begin{tabular}{l@{\hspace{1cm}}p{0.7\linewidth}}
298 {\tt ror} & Provide the Research Organization Registry (ROR) indentifier
299 for this affiliation (see: \url{https://ror.org}).
300 This is used for meta-data collection only.\\
301 {\tt department} & Department or suborganization name.\\
302 {\tt street} & Street address.\\
303 {\tt city} & City name.\\
304 {\tt state} & State or province name.\\
305 {\tt postcode} & Zip or postal code.\\
306 {\tt country} & Country name. Required if \texttt{[version=final]} is used in the document options.\\
307 \end{tabular}
308 \end{center}
309 \noindent There is an online tool at
310 \href{https://publish.iacr.org/funding}{\texttt{publish.iacr.org/funding}}
311 to help you find ROR identifiers, and you are strongly urged to
312 include these so that grant agencies and employers will be notified when an article
313 appears with the appropriate ROR id. The \verb+city+ and \verb+country+ arguments are used
314 to display the affliation. An example using all the optional arguments would look like:
315
316 \begin{verbatim}
317 \addaffiliation[ror = {05f950310},
318 department = {Computer Security and Industrial Cryptography},
319 street = {Kasteelpark Arenberg 10, box 2452},
320 city = {Leuven},
321 state = {Vlaams-Brabant},
322 postcode = {3001},
323 country = {Belgium}
324 ]{KU Leuven}
325 \end{verbatim}
326
327 \subsection{Funding information}
328 Authors should use the \texttt{\textbackslash addfunding} macro to
329 make sure that funding agencies can find papers published under their
330 sponsorship. An example is:
331 \begin{verbatim}
332 \addfunding[fundref = {100000001},
333 grantid = {CNS-1237235},
334 country = {United States}]{National Science Foundation}
335 \addfunding[ror = {00pn5a327},
336 country = {United States}]{Rambus}
337 \end{verbatim}
338
339 \noindent In this example, the author acknowledges a grant from the
340 National Science Foundation and support from Rambus (with no
341 \texttt{grantid}). The inclusion of funding from an agency without a
342 \texttt{grantid} might be appropriate if the author simply received
343 support for a visit.
344
345 The complete list of optional arguments for \texttt{\textbackslash addfunding} is:
346 \begin{center}
347 \begin{tabular}{l@{\hspace{1cm}}p{0.7\linewidth}}
348 {\tt fundref} & An identifier from the
349 \href{https://publish.iacr.org/funding}{Crossref funder registry}.\\
350 {\tt ror} & An identifier from the
351 \href{https://publish.iacr.org/funding}{Research Organization Registry}
352 (ROR). A \texttt{fundref} identifier is preferred
353 for \texttt{\textbackslash addfunding}.\\
354 {\tt country} & The country of the funding agency. \\
355 {\tt grantid} & The identifier of the grant that is assigned by the agency
356 who provided it.
357 \end{tabular}
358 \end{center}
359 \noindent You can use the online tool at
360 \href{https://publish.iacr.org/funding}{\texttt{publish.iacr.org/funding}} to
361 help you find \texttt{fundref} and \texttt{ror} identifiers.
362
363 Note that \cmd{addfunding} \textbf{does not} automatically create footnotes or
364 an acknowledgements section to identify funding - it only collects the
365 metadata for indexing. If you wish to include such visible
366 annotations, you can use the \texttt{footnote} option on
367 \cmd{addauthor}, or the \cmd{genericfootnote}, or add a separate
368 acknowledgements section. Some funding agencies have specific
369 requirements for how they want to be acknowledged in the paper.
370
371 \subsection{Footnotes}\label{footnotes}
372 Authors may be accustomed to using \cmd{thanks} for footnotes
373 indicating affiliation, email, or funding, but the
374 \cmd{thanks} macro is disabled and you should use other methods described
375 in this document.
376 \begin{itemize}
377 \item Footnotes on titles are not supported. You should use
378 \cmd{genericfootnote} to place a
379 footnote on the first page without a reference. This is useful to
380 indicate this is a full / extended version of a published paper, or to
381 indicate funding relationships for the authors. This is an optional
382 macro that may be repeated for multiple footnotes.
383 \item For a footnote on an author, use the \texttt{footnote} option
384 on \cmd{addauthor}. This can be used for indicating that the author's
385 affiliation for the work was different than their current affiliation,
386 or to indicate contact address, or a previous name, etc.
387 \end{itemize}
388
389 Footnotes may be used elsewhere in the paper, but please do not
390 overuse them.
391
392 \subsection{License}
393 When the \texttt{version=final} document mode is used, the author needs
394 to provide a supported license. In all other modes this information
395 is not required and is ignored if it is provided. At present the only
396 acceptable license is \texttt{CC-by}. An example would look like:
397
398 \begin{verbatim}
399 \license{CC-by}
400 \end{verbatim}
401
402 \subsection{Keywords}
403 Use \texttt{\textbackslash keywords\{keyword1, keyword2\}} to give a
404 list of keywords or key phrases. This is an optional macro that should
405 appear before the abstract. Individual keywords should be separated
406 by commas. If the argument to \texttt{\textbackslash keywords}
407 contains math or macros, then you must supply an additional set of
408 text-only keywords; for example:
409
410 \texttt{\textbackslash keywords[rings, arithmetic on Z]\{rings, arithmetic on \$\textbackslash mathbb\{Z\}\$\}}
411
412 \subsection{Abstract}
413 Abstracts serve several purposes in a journal article, including both
414 summarization and indexing. An abstract should be a self-contained
415 mini-document that describes the contributions of the paper. It
416 should be free of bibliographic references and also free of undefined
417 terminology introduced in the paper. It is acceptable to use
418 mathematical notation, but this kind of content is not useful for
419 indexing.
420
421 For this reason, the \texttt{iacrj} document class uses two kinds
422 of abstracts. The first (traditional) form of abstract is entered with the
423 \texttt{abstract} environment as usual. Note that the keywords should
424 be given before starting the \texttt{abstract} environment.
425
426 For \texttt{final} versions of papers, an additional ``text-only''
427 abstract is required. This abstract is contained in the
428 \texttt{textabstract} environment, and should not contain
429 user-defined macros.
430 It will be used for indexing and production of
431 {HTML} pages to describe the paper. As such, it is just as important
432 as the classical \texttt{abstract} of a paper because it contains a
433 textual summary that readers will use to decide if the paper is worth
434 reading. The only difference is that the contents of the
435 \texttt{textabstract} is constrained on what it may contain.
436
437 You may use unicode such as in \verb+Paul Erdős+ or
438 diacriticals like \verb+F\"ur Elise+.
439 You may also use inline or display mathematics
440 in the \texttt{textabstract} environment as well as
441 (for example) the \texttt{itemize} environment.
442 User-defined macros are \emph{not} allowed.
443 We do not have a complete list of allowed
444 \LaTeX (which can be succesfully converted to HTML) but
445 but you will find out when you upload your final version
446 at \url{https://publish.iacr.org}.
447
448 The contents of this environment will be written to a file that ends
449 with \texttt{.abstract} when you compile your \LaTeX, but will not be
450 displayed in the final PDF except as metadata. Note that
451 \verb+\begin{textabstract}+ must appear on a line by itself.
452
453 \subsection{Theorems}
454
455 The \texttt{iacrj} class uses the \AmS{} packages to typeset
456 math. In particular, it loads the \texttt{amsthm} package, and
457 predefines the following environments:
458 \begin{center}
459 \ttfamily
460 \begin{tabular}{l@{\hspace{1cm}}l@{\hspace{1cm}}l}
461 theorem & definition & remark \\
462 proposition & example & note \\
463 problem & exercise & case \\
464 lemma & property & \\
465 conjecture & question & \\
466 corollary & solution & \\
467 claim & & \\
468 \end{tabular}
469 \end{center}
470
471 Note that the \texttt{proof} environment automatically adds a QED
472 symbol at the end of the proof.
473 If the QED symbol
474 is typeset at a wrong position, you can force its position with
475 \verb+\qedhere+.
476
477 \section{Auxiliary files}
478 One goal of the \texttt{iacrj.cls}
479 file is to automate the production of machine-readable metadata in
480 separate files. Users of \LaTeX\ will already be used to seeing this
481 with the \texttt{.log}, \texttt{.aux}, \texttt{.bbl}, \texttt{.blg},
482 \texttt{.toc}, and \texttt{.out} files produced by \BibTeX\
483 and the \texttt{hyperref} package. You need not be concerned about
484 these, but if your main \LaTeX\ file is called \texttt{main.tex},
485 then the extra files that are produced are:
486 \begin{itemize}
487 \item a flat text file \texttt{main.meta} containing all metadata
488 from the paper. When you compile
489 \texttt{main.tex}, it will produce the metadata from
490 \texttt{main.tex}, and when you run \texttt{bibtex} and
491 \texttt{latex} again, it will append the citation data from
492 \BibTeX into the \texttt{main.meta} file as well.
493 \item a file \texttt{main.abstract} that contains
494 the contents of the abstract for the paper provided with the
495 \texttt{textabstract} environment. This will be used to show
496 the abstract on the web.
497 \end{itemize}
498
499 \section{Typesetting the Bibliography}
500 \label{sec:biblio}
501
502 Having good bibliographic references is very important for the
503 visibility of the journal. Since we don't use a commercial editor,
504 authors need to make sure themselves that references are standardized
505 and clean. We strongly encourage authors to use bibliographic data
506 from \url{http://www.dblp.org} or \url{https://cryptobib.di.ens.fr/}.
507 All references should have DOIs if at all possible.
508
509 You must use either \BibTeX\ or \BibLaTeX; you may not format your own bibliography.
510 If you use \BibTeX, then the \texttt{iacrj} class will load the
511 \verb+\bibliographystyle{alphaurl}+ style. You may not change
512 this. If you use \BibLaTeX, then this is done using
513 \verb+\documentclass[biblatex]{iacrj}+ instead of
514 \verb+\usepackage{biblatex}+; the latter will generate an error
515 because the \texttt{iacrj.cls} file loads \BibLaTeX\ with a
516 specific style.
517
518 Here are some example citations: the RSA paper~\cite{RSA78}, the AES
519 standard~\cite{AES-FIPS}, and \cite{DBLP:conf/crypto/Kocher96}.
520
521 For the IACR Communications in Cryptology, you will be required to
522 upload your \BibTeX\ files rather than just the \texttt{bbl} file.
523 Many authors use the \texttt{cryptobib} \BibTeX\ files, and you need
524 not upload those with your paper. They can be referenced as
525 \texttt{\textbackslash bibliography\{cryptobib/abbrev1,cryptobib/crypto\}}
526
527 \section{Package load order}\label{sec:loadorder}
528
529 \LaTeX\ suffers from the weakness of having a global namespace for
530 macros. As a result, it is possible that some packages may overwrite
531 the definitions of another package that was loaded earlier. The
532 biggest offender for this seems to be the \texttt{hyperref} package,
533 which overwrites some basic macros in \LaTeX\ itself. The
534 \texttt{iacrj} document class loads \texttt{hyperref}, but it
535 provides a mechanism for loading packages \emph{after} \texttt{hyperref}. If
536 the file \texttt{after-hyperref.sty} exists in the directory of your
537 main file, then it will be included after loading \texttt{hyperref}.
538 As an example, to load \texttt{cleveref} after \texttt{hyperref}, you
539 can create a file \texttt{after-hyperref.sty} that contains:
540 \begin{verbatim}
541 \RequirePackage{cleveref}
542 \end{verbatim}
543 A complete survey of the conflicts between packages is beyond the scope of this document, but
544 some known conflicts between packages are documented in the
545 \href{https://github.com/mhelvens/latex-pkgloader/blob/master/pkgloader-recommended.sty}{\texttt{pkgloader}}
546 package. It is wise to read the documentation for any package you use to make sure
547 there are no conflicts with other packages loaded by \texttt{iacrj.cls}.
548
549 \section{Some recommendations}\label{sec:options}
550
551 \paragraph{\LaTeX{} distribution, and worklow.} \LaTeX{}
552 distributions are available on a variety of platforms. In particular,
553 we recommend the \href{https://www.tug.org/texlive/}{TeX Live}
554 distribution, which is updated regularly, includes a large number of
555 packages, and is available on many platforms. We use the texlive medium
556 scheme in our cloud service to compile final versions of papers.
557
558 \paragraph{Pictures.}
559 We recommend the use of the \texttt{tikz} package to render pictures.
560 In particular, a large variety of crypto pictures made with
561 \texttt{tikz} is available at \href{http://iacr.org/authors/tikz/}{\texttt{iacr.org/authors/tikz/}}
562
563 \paragraph{External pictures.} The \texttt{graphicx} is loaded by the
564 class, and is recommended for external figures. The submission server
565 does not support \texttt{svg} format for included graphics, so you
566 should convert \texttt{svg} files to a supported format. If possible,
567 external figures should be in a vector format (PDF or EPS). Note that
568 the \verb+\includegraphics+ command will automatically select a file
569 with what it thinks should be the right extension, so if you write
570 \verb+\includegraphics{figure}+ and have two files \texttt{figure.gif}
571 and \texttt{figure.eps}, it will try to select the correct one.
572
573 \paragraph{Floats.}
574 Figure captions should be below the figures, and table captions above
575 the tables. The \texttt{float} package loaded by the class should
576 take care of this automatically. If want to have several figures side
577 by side, see the \texttt{[floatrow]} option.
578
579 \paragraph{Tables.}
580 We recommend the \texttt{booktabs} package to typeset tables.
581
582 \paragraph{Algorithms.}
583 We recommend the \texttt{algorithmicx} packages for algorithms (in
584 particular, \texttt{algpseudocodex} for pseudo-code).
585
586 \section{Further information}
587 If you are a \LaTeX\ novice, you may wish to consult the following documents:
588 \begin{itemize}
589 \item General \LaTeX{} documentation, such as the
590 \href{http://mirrors.ctan.org/info/lshort/english/lshort.pdf}{(not
591 so) short introduction to \LaTeXe};
592 \item The
593 \href{https://mirror.mwt.me/ctan/macros/latex/required/amsmath/amsldoc.pdf}{amsmath
594 documentation} is useful for learning how to typeset mathematics.
595 \end{itemize}
596
597 \section*{Acknowledgments}
598 Some of the stylistic choices were inspired by IACR Transactions class
599 file (the \texttt{iacrtrans} class v. 0.92) written by Ga{\"e}tan
600 Leurent and Friedrich Wiemer with help from others.
601
602 \bibliography{iacrj-doc}
603 \end{document}