latex文章前头常用的包如下:
% !Mode::"TeX:UTF-8"
\documentclass{article}
%\usepackage[UTF8]{ctex}
\usepackage{listings}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[table]{xcolor}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{pythonhighlight}
\pagestyle{fancy}
\chead{LSPE}
\rhead{\thesection}
\cfoot{Page \thepage of \pageref{LastPage}}
\usepackage[top=2.54cm, bottom=2.54cm, left=3.18cm,right=3.18cm]{geometry}
\lstset{language=Python}
\lstset{breaklines}
\lstset{extendedchars=false}
\begin{document}
%\begin{CJK*}{UTF8}{gbsn}
\title{Optimizing focal plane of CMB polarization telescope: Ten thousand TES of multi-frequency channels}
\date{July 2018}
\maketitle
{\tableofcontents}
\section{Foreground models}
\subsection{Thermal dust}
%\end{CJK*}
\bibliographystyle{unsrt}
\bibliography{lspereference}
\end{document}
上面得到的“目录”,“参考文献”都是英文的,如果要得到的是中文字,只要将上面注释掉的%去掉即可(第一行不用去掉)