LaTeX-based academic writing assistant for thesis and paper templates
SKILL.md
Academic Writing with LaTeX Templates
Overview
This guide covers the workflow of writing academic papers and theses using LaTeX templates. It addresses template selection, document structure, common environments, bibliography management, and compilation. Designed for researchers who need to produce professional documents conforming to specific institutional or publisher formatting requirements.
% Chinese university thesis examples
\documentclass{thuthesis} % Tsinghua University
\documentclass{sjtuthesis} % Shanghai Jiao Tong University
\documentclass{ustcthesis} % USTC
\documentclass{xjtuthesis} % Xi'an Jiao Tong University
% International thesis
\documentclass{Dissertate} % Harvard-style
\documentclass[phd]{novathesis} % Universidade Nova de Lisboa
\begin{figure}[htbp]
\centering
\includegraphics[width=0.8\columnwidth]{figures/architecture.pdf}
\caption{System architecture overview. The input module processes
raw data before passing to the transformer encoder.}
\label{fig:architecture}
\end{figure}
% Two subfigures side by side
\usepackage{subcaption}
\begin{figure}[htbp]
\centering
\begin{subfigure}[b]{0.48\columnwidth}
\includegraphics[width=\textwidth]{fig_a.pdf}
\caption{Training loss}
\label{fig:loss}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.48\columnwidth}
\includegraphics[width=\textwidth]{fig_b.pdf}
\caption{Validation accuracy}
\label{fig:acc}
\end{subfigure}
\caption{Training dynamics over 100 epochs.}
\label{fig:training}
\end{figure}
# Compilation sequence (4 steps)
pdflatex paper.tex # 1. First pass (generates .aux)
bibtex paper # 2. Process bibliography
pdflatex paper.tex # 3. Second pass (resolves refs)
pdflatex paper.tex # 4. Final pass (fixes page numbers)
# Or use latexmk for automatic compilation
latexmk -pdf paper.tex
BibTeX Entry Types
@article{vaswani2017attention,
title={Attention is all you need},
author={Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and ...},
journal={Advances in neural information processing systems},
volume={30},
year={2017}
}
@inproceedings{devlin2019bert,
title={BERT: Pre-training of deep bidirectional transformers},
author={Devlin, Jacob and Chang, Ming-Wei and Lee, Kenton and ...},
booktitle={Proceedings of NAACL-HLT 2019},
pages={4171--4186},
year={2019}
}