update: docs
This commit is contained in:
80
docs/project-book/preamble.tex
Normal file
80
docs/project-book/preamble.tex
Normal file
@@ -0,0 +1,80 @@
|
||||
% ============================================================
|
||||
% 智析反诈 项目书 - LaTeX 导言区
|
||||
% ============================================================
|
||||
|
||||
% 文档类
|
||||
\documentclass[12pt,a4paper]{report}
|
||||
|
||||
% 中文支持(ctex 自动检测系统字体)
|
||||
\usepackage{ctex}
|
||||
|
||||
% 版式
|
||||
\usepackage[top=2.5cm,bottom=2.5cm,left=2.5cm,right=2.5cm,headheight=14pt]{geometry}
|
||||
\usepackage{fancyhdr}
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{}
|
||||
\fancyhead[C]{\small 智析反诈:电信网络诈骗案件受害人资金核查多智能体系统}
|
||||
\fancyfoot[C]{\thepage}
|
||||
\renewcommand{\headrulewidth}{0.4pt}
|
||||
|
||||
% 图表
|
||||
\usepackage{graphicx}
|
||||
\usepackage{float}
|
||||
\usepackage{caption}
|
||||
\usepackage{subcaption}
|
||||
\usepackage{booktabs}
|
||||
\usepackage{multirow}
|
||||
\usepackage{longtable}
|
||||
\graphicspath{{./figures/}{../figures/}}
|
||||
|
||||
% 表格与列表
|
||||
\usepackage{array}
|
||||
\usepackage{multicol}
|
||||
\usepackage{enumitem}
|
||||
|
||||
% 链接与交叉引用
|
||||
\usepackage{hyperref}
|
||||
\usepackage{color}
|
||||
\hypersetup{
|
||||
colorlinks=true,
|
||||
linkcolor=blue,
|
||||
citecolor=blue,
|
||||
urlcolor=blue,
|
||||
pdfstartview=FitH,
|
||||
}
|
||||
|
||||
% 代码(可选)
|
||||
\usepackage{listings}
|
||||
\lstset{
|
||||
basicstyle=\ttfamily\small,
|
||||
breaklines=true,
|
||||
frame=single,
|
||||
numbers=left,
|
||||
numberstyle=\tiny,
|
||||
}
|
||||
|
||||
% 数学
|
||||
\usepackage{amsmath}
|
||||
\usepackage{amssymb}
|
||||
|
||||
% 流程图(可选)
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shapes.geometric,arrows.meta,positioning,fit}
|
||||
|
||||
% 自定义命令:占位图
|
||||
\newcommand{\placeholderfigure}[2]{
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\fbox{\parbox{0.85\textwidth}{
|
||||
\centering\vspace{3cm}
|
||||
【占位:请在此处插入 #2】
|
||||
\par\vspace{0.5cm}
|
||||
\small 建议文件名:#1
|
||||
\vspace{3cm}
|
||||
}}
|
||||
\caption{#2}
|
||||
\end{figure}
|
||||
}
|
||||
|
||||
% 自定义命令:表格占位
|
||||
\newcommand{\placeholdercell}{\multicolumn{1}{c}{(待补充)}}
|
||||
Reference in New Issue
Block a user