Skip to content

Instantly share code, notes, and snippets.

@xiaohk
Last active March 3, 2023 19:15
Show Gist options
  • Save xiaohk/28b873462de65c28bf5b4e3841e4c894 to your computer and use it in GitHub Desktop.
Save xiaohk/28b873462de65c28bf5b4e3841e4c894 to your computer and use it in GitHub Desktop.
How to add page number in popular CS conference LaTeX templates?

Simple Methods to Add Page Numbers in Your CS Papers

Conference Method

ACM conferences (e.g., CHI, KDD, WebConf, CIKM that use the acmart LaTeX style)

Use \settopmatter{printfolios=true} right after \documentclass.

\documentclass[sigconf, screen]{acmart}
\settopmatter{printfolios=true}

ACL conferences (e.g., ACL, NAACL, EACL, EMNLP)

Comment out \pagestyle{empty} in the conference style file (e.g., acl2023.sty)

\ifacl@finalcopy
    % \thispagestyle{empty}
    % \pagestyle{empty}
    \pagenumbering{arabic}
\else
    \pagenumbering{arabic}
\fi

IEEE VIS (or TVCG and some other IEEE conferences)

Use the preprint option for the vgtc LaTeX style file.

\documentclass[preprint]{vgtc}

NeurIPS

Use the preprint or the final option for the neurips LaTeX style file.

\usepackage[preprint]{neurips_2022}
\usepackage[final]{neurips_2022}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment