feat(latex): 新增 LaTeX 排版系统,从 Markdown 生成 ctexbook
- 新增 officefile/latex/ 目录,包含 main.tex、preamble.tex 及 14 个章节 + 10 个附录 tex 文件 - md→tex 转换流程:pandoc 转换 + _postprocess.py 后处理(去编号、修破折号、清标签) - 修复 5 个 md 源文件的标题层级(H1→H2 降级,统一层级结构) - 配置 VS Code LaTeX Workshop(xelatex + ctexbook 编译链) - 新增 VS Code workspace 和 .gitignore(排除 LaTeX 编译产物) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
\documentclass[a4paper,openany,12pt]{ctexbook}
|
||||
|
||||
% ========== 宏包与全局设置 ==========
|
||||
\input{preamble}
|
||||
|
||||
% ========== 标题信息 ==========
|
||||
\title{\Huge\textbf{设计人工智能:基础与应用} \\[1em] \Large Design AI: Fundamentals and Applications}
|
||||
\author{彭晓}
|
||||
\date{2026年4月}
|
||||
|
||||
% ========== 按章编译开关 ==========
|
||||
% 取消注释以只编译特定章节(加速调试)
|
||||
% \includeonly{chapters/ch01-intro}
|
||||
|
||||
% ==========================================================================
|
||||
\begin{document}
|
||||
|
||||
% ---------- 封面 ----------
|
||||
\maketitle
|
||||
\thispagestyle{empty}
|
||||
|
||||
% ---------- 前言部分 ----------
|
||||
\frontmatter
|
||||
\input{chapters/ch00-preface}
|
||||
\tableofcontents
|
||||
|
||||
% ---------- 正文部分 ----------
|
||||
\mainmatter
|
||||
|
||||
% 上篇:原理与技术
|
||||
\input{chapters/ch01-intro}
|
||||
\input{chapters/ch02-framework}
|
||||
\input{chapters/ch03-1d-sequence}
|
||||
\input{chapters/ch04-2d-vision}
|
||||
\input{chapters/ch05-3d-spatial}
|
||||
\input{chapters/ch06-generative}
|
||||
\input{chapters/ch07-agent}
|
||||
\input{chapters/ch08-rl}
|
||||
|
||||
% 下篇:设计领域应用
|
||||
\input{chapters/ch09-digital-media}
|
||||
\input{chapters/ch10-industrial}
|
||||
\input{chapters/ch11-environment}
|
||||
\input{chapters/ch12-urban}
|
||||
|
||||
% 结语
|
||||
\input{chapters/ch13-conclusion}
|
||||
|
||||
% ---------- 附录部分 ----------
|
||||
\appendix
|
||||
\input{appendices/ap00-divider}
|
||||
\input{appendices/ap01-programming}
|
||||
\input{appendices/ap02-vibe-coding}
|
||||
\input{appendices/ap03-academic-writing}
|
||||
\input{appendices/ap04-web-tools}
|
||||
\input{appendices/ap05-online-resources}
|
||||
\input{appendices/ap06-more-resources}
|
||||
\input{appendices/ap07-references}
|
||||
\input{appendices/ap08-glossary}
|
||||
\input{appendices/ap09-tips}
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user