feat: appedix ref (#4)

This commit is contained in:
2025-04-14 01:00:53 +08:00
committed by GitHub
parent 61f6f7d045
commit 2c70110ac9
4 changed files with 21 additions and 2 deletions

View File

@@ -168,6 +168,14 @@ pdfborder=001, linkcolor=black, citecolor=black, urlcolor=black]{hyperref} %
% Appendix
\usepackage{appendix}
% 定义新指令 \appendixsection接受标题和标签名两个参数
\newcommand{\appendixsection}[2]{
\section*{#1}
\phantomsection
\hypertarget{#2}{}
\addcontentsline{toc}{section}{#1}
}
% Figure & Table
\usepackage{graphicx}
\usepackage{array,booktabs,multirow} % multirow, multicolumn and more professional format support