Paperlighter Example
Author
Yu Pan
Last Updated
3 yıl önce
License
Creative Commons CC BY 4.0
Abstract
A simple Latex style-file for writing papers
\documentclass[11pt,twoside]{article}
\usepackage{paperlighter}
% Recommended, but optional, packages for figures and better typesetting:
\usepackage{microtype}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{booktabs} % for professional tables
% Attempt to make hyperref and algorithmic work together better:
\newcommand{\theHalgorithm}{\arabic{algorithm}}
% For theorems and such
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{amsthm}
% if you use cleveref..
\usepackage[capitalize,noabbrev]{cleveref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% THEOREMS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{assumption}[theorem]{Assumption}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
% Todonotes is useful during development; simply uncomment the next line
% and comment out the line below the next line to turn off comments
%\usepackage[disable,textsize=tiny]{todonotes}
\usepackage[textsize=tiny]{todonotes}
\slimtitle{Paperlighter Example}
\slimauthor{Author One et al.}
\begin{document}
\lightertitle{Paperlighter Example}
\lighterauthor{Author One$^{\dagger}$, Author Two$^{\ddagger}$}
\lighteraddress{$^\dagger$}{Address One}
\lighteraddress{$^\ddagger$}{Address Two}
\lighteremail{xxx@xxx.com}
\input{content/abstract}
\input{content/format}
\input{content/others}
\bibliographystyle{plainnat}
\bibliography{ref}
\newpage
\appendix
\input{content/appendix}
\end{document}