GitHunt
YO

youngerous/paper-template

A LaTex paper template for security and machine learning conferences

Dieχ

A LaTex paper template for security and machine learning conferences

Hwiwon Lee


Warning

This template is in active development. Stay tuned for more updates!

Prerequisites

Caution

This template is not tested on Windows. Please use WSL if you are using Windows.

  • LaTex (sudo apt install texlive-full on Ubuntu / Install TeX Live on macOS)
  • Python 3.x
  • pygmentize (pip install pygments)
  • Inkscape (for converting figures to PDF)

Supported Templates

Machine Learning Conferences

  • ACL
  • NeurIPS
  • ICLR
  • ICML
  • COLM

Security Conferences

  • CCS
  • NDSS
  • USENIX (Security)
  • NDSS

Usage

You can uncomment the desired template in p.tex. For example, to use the NeurIPS template, uncomment the following line:

%%%%%%%%%%%
% NeurIPS %
%%%%%%%%%%%
\documentclass{article}
\usepackage{sty/neurips/template}
% \usepackage[final]{sty/neurips/template} % Uncomment for camera-ready version, but NOT for submission.
\neuripstrue

Warning

Only one template may be compiled at a time. Please ensure that only one conditional (if) statement is set to true.

Build

make

Tip

If you are using vscode, install LaTeX Workshop to get a better LaTeX editing experience. In that case, you need to customize the build action in settings.json as follows:

{ // Bibtex formatter
    "latex-workshop.bibtex-fields.sort.enabled": true,
    // Enable LaTeX formatting using latexindent (instead of "none")
    "latex-workshop.formatting.latex": "tex-fmt",
    "latex-workshop.formatting.tex-fmt.path": "tex-fmt",
    // (Optional) Format your LaTeX document on save
    "editor.formatOnSave": true,
    // (Optional) Specify your PDF viewer mode for LaTeX Workshop
    "latex-workshop.view.pdf.viewer": "tab",
    // Additional editor settings (optional)
    // "files.autoSave": "afterDelay",
    // "files.autoSaveDelay": 1000,
    "latex-workshop.latex.autoBuild.run": "onSave",
    // Define the output directory 
    "latex-workshop.latex.outDir": "%DIR%",
    // Set a reasonable timeout for commands
    "latex-workshop.latex.build.timeout": 60000,
    "latex-workshop.message.log.show": true,
    // Add -shell-escape flag for minted package
    "latex-workshop.latex.tools": [
        {
            "name": "pdflatex",
            "command": "pdflatex",
            "args": [
                "-shell-escape",
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOC%"
            ]
        },
        {
            "name": "bibtex",
            "command": "bibtex",
            "args": [
                "-min-crossrefs=99",
                "%DOCFILE%"
            ]
        }
    ],
    "latex-workshop.latex.recipes": [
        {
            "name": "pdflatex -> bibtex -> pdflatex -> pdflatex",
            "tools": [
                "pdflatex",
                "bibtex",
                "pdflatex",
                "pdflatex"
            ]
        },
        {
            "name": "pdflatex",
            "tools": [
                "pdflatex"
            ]
        }
    ]
}

Tips on adding a new template

  1. Create a new folder in sty/[CONFERENCE] with the following files:
    • template.sty
    • template.bst
  2. If the template has a custom fancyhdr style, change \RequirePackage[fancyhdr] to \RequirePackage{./sty/[CONFERENCE]/fancyhdr} in sty/[CONFERENCE]/template.sty.

Tip

You can migrate this template to Overleaf by uploading the whole repository to Overleaf except for the rev.tex file.

Acknowledgment

This template is an extension of an awesome open-source project die.

Languages

TeX70.4%BibTeX Style18.5%Python7.0%Gnuplot3.4%Shell0.5%Makefile0.2%Perl0.0%

Contributors

MIT License
Created November 16, 2025
Updated February 6, 2026