refactor(latex): 清理并优化LaTeX文档配置
移除未使用的LaTeX包和注释代码,重新组织hyperref包的位置以提升文档结构清晰度。添加example.tex文件作为示例模板,便于后续使用。
This commit is contained in:
parent
55508a55b9
commit
833c6b94b3
@ -5,12 +5,9 @@
|
|||||||
\usepackage{indentfirst}
|
\usepackage{indentfirst}
|
||||||
\usepackage{subcaption}
|
\usepackage{subcaption}
|
||||||
%\graphicspath{{chapter/}{figures/}}
|
%\graphicspath{{chapter/}{figures/}}
|
||||||
\usepackage{CJK}
|
|
||||||
\usepackage{xeCJK}
|
|
||||||
|
|
||||||
\usepackage{amsmath}%数学
|
\usepackage{amsmath}%数学
|
||||||
\usepackage{amssymb}%数学符号
|
\usepackage{amssymb}%数学符号
|
||||||
%\usepackage[colorlinks,linkcolor=red]{hyperref}%超链接
|
|
||||||
\usepackage{pgfplots}
|
\usepackage{pgfplots}
|
||||||
\usepackage{fancyhdr} %使用fancyhdr包自定义页眉页脚
|
\usepackage{fancyhdr} %使用fancyhdr包自定义页眉页脚
|
||||||
%\pagestyle{empty}
|
%\pagestyle{empty}
|
||||||
@ -20,7 +17,7 @@
|
|||||||
\usepackage{titlesec}%设置章节标题与正文间距为2行
|
\usepackage{titlesec}%设置章节标题与正文间距为2行
|
||||||
\titlespacing{\section}{0pt}{0pt}{2em}
|
\titlespacing{\section}{0pt}{0pt}{2em}
|
||||||
|
|
||||||
\usepackage{enumerate}%项目编号
|
%\usepackage{enumerate}%项目编号
|
||||||
|
|
||||||
\renewcommand{\figurename}{图}%将figure改为图
|
\renewcommand{\figurename}{图}%将figure改为图
|
||||||
|
|
||||||
@ -48,7 +45,7 @@
|
|||||||
|
|
||||||
\usepackage{multirow}%跨行表格
|
\usepackage{multirow}%跨行表格
|
||||||
\usepackage{abstract}%摘要
|
\usepackage{abstract}%摘要
|
||||||
\usepackage{setspace} %行间距的宏包
|
%\usepackage{setspace} %行间距的宏包
|
||||||
|
|
||||||
\usepackage{makecell}%表格竖线连续
|
\usepackage{makecell}%表格竖线连续
|
||||||
|
|
||||||
@ -64,12 +61,6 @@
|
|||||||
\makeatother
|
\makeatother
|
||||||
|
|
||||||
\usepackage{float}%可以用于禁止浮动体浮动
|
\usepackage{float}%可以用于禁止浮动体浮动
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%目录超链接
|
|
||||||
\usepackage[colorlinks=false,hidelinks,linkcolor=black,citecolor=black]{hyperref}
|
|
||||||
|
|
||||||
\usepackage{listings}%可以插入代码
|
\usepackage{listings}%可以插入代码
|
||||||
\usepackage[table]{xcolor}%语法高亮支持
|
\usepackage[table]{xcolor}%语法高亮支持
|
||||||
|
|
||||||
@ -110,6 +101,10 @@
|
|||||||
|
|
||||||
% 设置页面格式
|
% 设置页面格式
|
||||||
\usepackage[left=3.0cm, right=2.6cm, top=2.54cm, bottom=2.54cm]{geometry}
|
\usepackage[left=3.0cm, right=2.6cm, top=2.54cm, bottom=2.54cm]{geometry}
|
||||||
|
|
||||||
|
%目录超链接
|
||||||
|
\usepackage[hidelinks,linkcolor=black,citecolor=black]{hyperref}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user