From 11e8d469d2412d3529b711c8e6581ddc0ce9fb54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Wicht?= Date: Tue, 13 Oct 2026 14:06:10 +0200 Subject: [PATCH] Add LaTeX paper skeleton --- appendix/proofs.tex | 2 ++ bib/refs.bib | 14 +++++++++++ figures/data/example.csv | 6 +++++ figures/src/example.tex | 17 +++++++++++++ macros/algorithms.tex | 6 +++++ macros/notation.tex | 5 ++++ macros/theorems.tex | 10 ++++++++ main.tex | 47 ++++++++++++++++++++++++++++++++++++ sections/01-introduction.tex | 4 +++ sections/02-model.tex | 2 ++ sections/03-construction.tex | 2 ++ sections/04-security.tex | 2 ++ sections/05-evaluation.tex | 9 +++++++ sections/06-related-work.tex | 2 ++ sections/07-conclusion.tex | 2 ++ venue/.gitkeep | 0 16 files changed, 130 insertions(+) create mode 100644 appendix/proofs.tex create mode 100644 bib/refs.bib create mode 100644 figures/data/example.csv create mode 100644 figures/src/example.tex create mode 100644 macros/algorithms.tex create mode 100644 macros/notation.tex create mode 100644 macros/theorems.tex create mode 100644 main.tex create mode 100644 sections/01-introduction.tex create mode 100644 sections/02-model.tex create mode 100644 sections/03-construction.tex create mode 100644 sections/04-security.tex create mode 100644 sections/05-evaluation.tex create mode 100644 sections/06-related-work.tex create mode 100644 sections/07-conclusion.tex create mode 100644 venue/.gitkeep diff --git a/appendix/proofs.tex b/appendix/proofs.tex new file mode 100644 index 0000000..70b1e1f --- /dev/null +++ b/appendix/proofs.tex @@ -0,0 +1,2 @@ +\section{Proofs}\label{app:proofs} +% The complete proofs of the results stated in the body. diff --git a/bib/refs.bib b/bib/refs.bib new file mode 100644 index 0000000..6bd1fa6 --- /dev/null +++ b/bib/refs.bib @@ -0,0 +1,14 @@ +% Entries from dblp, through the dblp MCP server or dblp-cli bibtex , may be added to this file at any time. + +@article{DBLP:journals/jcss/GoldwasserM84, + author = {Shafi Goldwasser and Silvio Micali}, + title = {Probabilistic Encryption.}, + journal = {J. Comput. Syst. Sci.}, + volume = {28}, + number = {2}, + pages = {270-299}, + year = {1984}, + doi = {10.1016/0022-0000(84)90070-9}, + url = {https://doi.org/10.1016/0022-0000(84)90070-9}, + biburl = {https://dblp.org/rec/journals/jcss/GoldwasserM84.html}, +} diff --git a/figures/data/example.csv b/figures/data/example.csv new file mode 100644 index 0000000..f514d41 --- /dev/null +++ b/figures/data/example.csv @@ -0,0 +1,6 @@ +parties,time +4,2.1 +8,3.9 +16,8.2 +32,15.7 +64,31.9 diff --git a/figures/src/example.tex b/figures/src/example.tex new file mode 100644 index 0000000..fe1dbb0 --- /dev/null +++ b/figures/src/example.tex @@ -0,0 +1,17 @@ +% Standalone figure. make figures compiles it from figures/src/, so data paths are relative to this folder; the paper includes the PDF from figures/build/. +\documentclass{standalone} +\usepackage{pgfplots} +\pgfplotsset{compat=1.18} + +\begin{document} +\begin{tikzpicture} + \begin{axis}[ + width=8cm, height=5cm, + xlabel={Number of parties}, + ylabel={Time (ms)}, + grid=major, + ] + \addplot+[mark=*] table[x=parties, y=time, col sep=comma] {../data/example.csv}; + \end{axis} +\end{tikzpicture} +\end{document} diff --git a/macros/algorithms.tex b/macros/algorithms.tex new file mode 100644 index 0000000..f9b2841 --- /dev/null +++ b/macros/algorithms.tex @@ -0,0 +1,6 @@ +% Algorithms: the algorithm float with algpseudocode. +\usepackage{algorithm} +\usepackage{algpseudocode} + +\algrenewcommand\algorithmicrequire{\textbf{Input:}} +\algrenewcommand\algorithmicensure{\textbf{Output:}} diff --git a/macros/notation.tex b/macros/notation.tex new file mode 100644 index 0000000..e50283b --- /dev/null +++ b/macros/notation.tex @@ -0,0 +1,5 @@ +% Every symbol in the paper must be defined here, as a macro, and listed in context/notation.md. + +\newcommand{\secpar}{\lambda} % security parameter +\newcommand{\negl}{\mathsf{negl}} % negligible function +\newcommand{\parties}{\mathcal{P}} % set of parties diff --git a/macros/theorems.tex b/macros/theorems.tex new file mode 100644 index 0000000..8d8665a --- /dev/null +++ b/macros/theorems.tex @@ -0,0 +1,10 @@ +% Theorem environments. The proof environment is the one amsthm defines. +\usepackage{amsthm} + +\theoremstyle{plain} +\newtheorem{theorem}{Theorem}[section] +\newtheorem{lemma}[theorem]{Lemma} +\newtheorem{corollary}[theorem]{Corollary} + +\theoremstyle{definition} +\newtheorem{definition}[theorem]{Definition} diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..fa4d2b4 --- /dev/null +++ b/main.tex @@ -0,0 +1,47 @@ +% ===== Document class: article by default =================================== +% To switch to a venue class, put its files in venue/ (.latexmkrc adds venue/ to the TeX search path), comment out the article line and uncomment the venue line. A venue class that defines its own theorem environments replaces macros/theorems.tex. +\documentclass[11pt]{article} +% \documentclass{llncs} +% ===== End of document class ================================================ + +\usepackage[T1]{fontenc} +\usepackage{lmodern} +\usepackage{amsmath,amssymb} +\usepackage{graphicx} +\graphicspath{{figures/build/}} + +\input{macros/theorems} +\input{macros/algorithms} +\input{macros/notation} + +\usepackage[backend=biber,style=numeric-comp]{biblatex} +\addbibresource{bib/refs.bib} + +\usepackage{hyperref} + +\title{Paper Title} +\author{Author Name} +\date{} + +\begin{document} + +\maketitle + +\begin{abstract} +Abstract. +\end{abstract} + +\input{sections/01-introduction} +\input{sections/02-model} +\input{sections/03-construction} +\input{sections/04-security} +\input{sections/05-evaluation} +\input{sections/06-related-work} +\input{sections/07-conclusion} + +\printbibliography + +\appendix +\input{appendix/proofs} + +\end{document} diff --git a/sections/01-introduction.tex b/sections/01-introduction.tex new file mode 100644 index 0000000..1b64f6d --- /dev/null +++ b/sections/01-introduction.tex @@ -0,0 +1,4 @@ +\section{Introduction}\label{sec:introduction} +% The problem, the prior work that does not solve it, the contributions listed in context/outline.md, and the structure of the paper. + +Placeholder text with an example citation~\cite{DBLP:journals/jcss/GoldwasserM84}. diff --git a/sections/02-model.tex b/sections/02-model.tex new file mode 100644 index 0000000..885f76a --- /dev/null +++ b/sections/02-model.tex @@ -0,0 +1,2 @@ +\section{Model}\label{sec:model} +% The parties, the network, the adversary, and the definitions the results depend on. diff --git a/sections/03-construction.tex b/sections/03-construction.tex new file mode 100644 index 0000000..a7b5bce --- /dev/null +++ b/sections/03-construction.tex @@ -0,0 +1,2 @@ +\section{Construction}\label{sec:construction} +% The construction, described in prose first and then as algorithms. diff --git a/sections/04-security.tex b/sections/04-security.tex new file mode 100644 index 0000000..4f1b011 --- /dev/null +++ b/sections/04-security.tex @@ -0,0 +1,2 @@ +\section{Security}\label{sec:security} +% The security theorems, with their proofs here or in the appendix. diff --git a/sections/05-evaluation.tex b/sections/05-evaluation.tex new file mode 100644 index 0000000..a9c85d5 --- /dev/null +++ b/sections/05-evaluation.tex @@ -0,0 +1,9 @@ +\section{Evaluation}\label{sec:evaluation} +% The implementation and its measurements, with figures compiled from figures/src/ and figures/data/. + +\begin{figure}[t] + \centering + \includegraphics{example} + \caption{Example figure, compiled from \texttt{figures/src/example.tex} and \texttt{figures/data/example.csv}.} + \label{fig:example} +\end{figure} diff --git a/sections/06-related-work.tex b/sections/06-related-work.tex new file mode 100644 index 0000000..5295f45 --- /dev/null +++ b/sections/06-related-work.tex @@ -0,0 +1,2 @@ +\section{Related Work}\label{sec:related-work} +% Prior work, each line of work described and contrasted with this paper. diff --git a/sections/07-conclusion.tex b/sections/07-conclusion.tex new file mode 100644 index 0000000..72b54cb --- /dev/null +++ b/sections/07-conclusion.tex @@ -0,0 +1,2 @@ +\section{Conclusion}\label{sec:conclusion} +% What the paper shows, and the open problems. diff --git a/venue/.gitkeep b/venue/.gitkeep new file mode 100644 index 0000000..e69de29