🔥 This is my ACM template, which is built by xeletex. Includes number theory, graph theory, data structure, dynamic programming, string, search, simulation, greed, classical examples, etc.
Build template with main.tex
as the core.
sudo apt-get install texlive-xetex
mkdir your-directory && cd your-directory
touch your.tex
- Example
\documentclass[../main.tex]{subfiles} % your.tex as a subfile, pointing to main.tex
\begin{document}
your content...
\end{document}
cd ..
vim main.tex
- Example
\documentclass[]{article}
...
\begin{document}
...
\section{your section name}
\subfile{your-directory/your.tex}
...
\end{document}
xelatex main.tex
The generated main.pdf
will be your template.