INSTALL 使用Vscode(编辑)+TeX Liv(编译)实现。
Vscode需要Latex workshop扩展。
Main 目录结构
1 2 3 4 5 6 7 8 9 10 11 12 parper-> assets bst build Chapter Chapter1 Chapter1.tex Chapter2 Chapter2.tex Chapter3 Chapter3.tex main.tex
main.tex 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 \documentclass {article}\usepackage {graphicx}\usepackage {graphicx}\usepackage {multirow}\usepackage {amsmath,amssymb,amsfonts}\usepackage {amsthm}\usepackage {mathrsfs}\usepackage [title]{appendix}\usepackage {xcolor}\usepackage {textcomp}\usepackage {manyfoot}\usepackage {booktabs}\usepackage {algorithm}\usepackage {algorithmicx}\usepackage {algpseudocode}\usepackage {listings}\usepackage {blindtext}\usepackage {fancyhdr} \usepackage {subfiles} \usepackage {xeCJK}\setCJKmainfont {SimSun}\title {标题}\author {ME}\date {2025.2.28}\begin {document}\maketitle \subfile {Chapter/Chapter1/Chapter 1.tex}\subfile {Chapter/Chapter2/Chapter 2.tex}\bibliographystyle {plainnat}\bibliography {bst/ref.bib}\end {document}
Chapter1.tex 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 \documentclass [../main.tex]{subfiles}\graphicspath {{\subfix {../../}}}\begin {document}\section {This Chapter 1}\thispagestyle {fancy} Hello, here is some text without a meaning... \cite {bib1} Hello, here is some text without a meaning... Hello, here is some text without a meaning... Hello, here is some text without a meaning...\end {document}
Chapter2.tex 1 2 3 4 5 6 7 8 9 10 11 12 13 14 \documentclass [../main.tex]{subfiles}\begin {document}\section {This Chapter 2}\thispagestyle {fancy} This is chapter 2. This is chapter 2. This is chapter 2. \end {document}
…
图片 1 2 3 4 5 \begin {figure}[h] \centering \includegraphics [width=0.6\textwidth ]{fig1.png} \caption {描述}\label {fig1}\end {figure}
其他