专业学术写作的完整指南——从基础概念到完成并发表你的研究学位论文
LaTeX 是数百万篇研究论文、学位论文与学术出版物背后的“秘密武器”。从本科作业到博士论文,LaTeX 支撑着全球的学术交流与传播。
小知识: STEM 领域超过 90% 的学术论文使用 LaTeX 撰写。Nature、Science、IEEE 等重要期刊经常要求使用 LaTeX 投稿!
在深入细节之前,先看看为什么 LaTeX 是学术写作的黄金标准:
从简单公式到复杂积分,LaTeX 都能优雅排版——而这通常是 Word 的难点。
创建出版级质量的表格:精确对齐、专业边框、自动格式,轻松满足期刊规范。
不再手动编号图表或公式!LaTeX 会自动追踪并更新所有交叉引用。
专业的字距、连字与字体间距,让你的文档看起来像由专业排版人员完成。
看看学术界的这些优秀 LaTeX 示例:
LaTeX(读作 “lay-tech” 或 “lah-tech”)是一套基于 TeX 的高质量排版系统,由 Donald Knuth 于 1978 年创建。它特别适合生成结构化的长文档,并以数学公式排版见长。
你编写包含命令的纯文本文件(扩展名为 .tex)。编译后,LaTeX 会把文本转换为排版精美的 PDF。
LaTeX 已成为全球学术与科学写作的标准。研究者偏爱它的原因包括:
\textbf{bold} → 粗体\textit{italic} → 斜体\underline{text} → 下划线\textsc{Small Caps}\section{Title}\subsection{Title}\begin{itemize}(项目符号)\begin{enumerate}(编号列表)$x^2$ → 行内公式\frac{a}{b} → 分数\sum_{i=1}^{n}\int_0^{\infty}\% → %(转义特殊字符)\$ → $\& → &\_ → _Word 是 WYSIWYG(What You See Is What You Get),而 LaTeX 使用不同的写作范式:
Word: WYSIWYG —— 关注“长什么样”
LaTeX: WYSIWYM —— 关注“表达什么”
LaTeX 将内容与呈现分离,让你专注于写什么,而不是边写边调格式。
提示: 输入时不一定看到最终排版效果——需要编译后才看到精美结果。
LaTeX(读作 “lay-tech” 或 “lah-tech”)是一套基于 TeX 的文档排版系统,由 Donald Knuth 于 1970 年代末开发。
你用命令编写纯文本,描述内容的结构与含义;随后由 LaTeX 编译生成排版精美的 PDF。
\documentclass{article}\usepackage{amsmath}\begin{document} Hello, \LaTeX!\end{document}
每一份 LaTeX 文档通常都遵循清晰的结构:
文档类、宏包、自定义命令
正文、公式、图片、表格
参考文献、附录
LaTeX 在数学排版方面几乎无可匹敌,是学术与科学写作的黄金标准。
The quadratic formula: $x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$
\begin{equation} \int_0^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}\end{equation}
| 符号 | 命令 |
|---|---|
| α β γ | \alpha \beta \gamma |
| ∑ ∏ ∫ | \sum \prod \int |
| ≤ ≥ ≠ ≈ | \leq \geq \neq \approx |
| ∞ ∂ ∇ | \infty \partial \nabla |
| √ frac | \sqrt{} \frac{}{} |
| ∑ⁿᵢ₌₁ | \sum_{i=1}^{n} |
LaTeX 可以精确处理图片,包括自动 caption 与交叉引用。
\begin{figure}[h] \centering \includegraphics[width=0.8\textwidth]{plot.png} \caption{My Analysis Results} \label{fig:results}\end{figure}
位置参数: [h] = here,[t] = top,[b] = bottom,[!] = override
LaTeX 表格提供精确控制与专业级输出效果。
\begin{table}[h] \centering \begin{tabular}{|c|c|c|} \hline Method & Accuracy & Time \\ \hline A & 95.2\% & 2.3s \\ B & 97.8\% & 4.1s \\ \hline \end{tabular} \caption{Model Comparison}\end{table}
建议使用 \usepackage{booktabs} 来制作更干净的专业表格:\toprule、\midrule、\bottomrule。
Overleaf 是免费的、支持协作的在线 LaTeX 编辑器。它完全运行在浏览器中——无需安装!
访问 overleaf.com 注册(可用 Google 或邮箱免费注册)
从空白项目开始,或从海量模板中选择
在右侧面板实时查看 PDF 输出
导出 PDF、分享链接,或与 GitHub 同步
Overleaf 提供覆盖各种学术场景的专业模板。下面是查找与使用方法:
LaTeX 最大的优势之一,就是能优雅地排版复杂数学表达。下面我们一步步掌握公式写法!
行内:一元二次方程求根公式 $x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$ 很优雅。
\begin{equation} \int_0^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}\end{equation}
\begin{align} f(x) &= x^2 + 3x + 2 \\ &= (x + 1)(x + 2) \\ &= x^2 + 3x + 2\end{align}
| 类型 | 符号 | 命令 |
|---|---|---|
| 希腊字母 | α β γ δ | \alpha \beta \gamma \delta |
| 运算符 | ∑ ∏ ∫ | \sum \prod \int |
| 关系符号 | ≤ ≥ ≠ ≈ | \leq \geq \neq \approx |
| 微积分 | ∞ ∂ ∇ | \infty \partial \nabla |
| 分数 | ½ ⅓ | \frac{1}{2} \frac{1}{3} |
| 幂 | x² x³ | x^2 x^3 |
| 下标 | x₁ x₂ | x_1 x_2 |
| 根号 | √x | \sqrt{x} |
align 替代 eqnarray,间距更合理\sum_{n=1}^{\infty} 添加上下限\text{} 插入正文文本\eqref{eq:label}图片是学术文档的重要组成部分。LaTeX 可以专业地处理图片,包括自动 caption 与交叉引用。
\usepackage{graphicx} % Add to preamble\begin{figure}[h!] \centering \includegraphics[width=0.8\textwidth]{plot.png} \caption{My Analysis Results} \label{fig:results}\end{figure}
| 参数 | 含义 |
|---|---|
h | 尽量放在当前位置(放得下才行) |
t | 放在页面顶部 |
b | 放在页面底部 |
p | 单独的图片页 |
! | 放宽 LaTeX 的浮动规则 |
% Relative to text width[width=0.5\textwidth]{image}[width=0.8\textwidth]{image}% Fixed size[width=10cm]{image}% Scale by factor[scale=0.5]{image}
% Reference in text:As shown in Figure \ref{fig:results}...% Automatic with cleveref package:As shown in \cref{fig:results}...
最佳实践: 始终使用有意义的标签,例如 fig:adoption、tab:summary、eq:model,方便管理引用。
LaTeX 表格一开始可能有点“磨人”,但掌握之后就能稳定做出出版级表格,既专业又一致。
\begin{table}[h] \centering \begin{tabular}{|l|c|r|} \hline Header 1 & Header 2 & Header 3 \\ \hline Left & Center & Right \\ \hline \end{tabular} \caption{My Table}\end{table}
| 表头 1 | 表头 2 | 表头 3 |
|---|---|---|
| 左对齐 | 居中 | 右对齐 |
| 符号 | 含义 | 示例 |
|---|---|---|
l | 左对齐 | 左对齐文本 |
c | 居中 | 居中文本 |
r | 右对齐 | 右对齐文本 |
| | 竖线 | 列分隔线 |
p{3cm} | 固定宽度列 | 按段落排版并限定宽度 |
>{$}c<{$} | 数学列 | 自动进入数学模式 |
\usepackage{booktabs}\begin{table}[h] \centering \begin{tabular}{lcc} \toprule Variable & Mean & SD \\ \midrule X & 10.5 & 2.3 \\ Y & 15.2 & 3.1 \\ \bottomrule \end{tabular} \caption{Professional table with booktabs}\end{table}
| Variable | Mean | SD |
|---|---|---|
| X | 10.5 | 2.3 |
| Y | 15.2 | 3.1 |
这个进阶示例会演示 booktabs、multirow、\multicolumn、数学模式、\cline 与脚注。
\usepackage{booktabs, multirow, array}\usepackage{amsmath}\begin{table}[htbp] \centering \caption{Performance Comparison of FinTech Models} \label{tab:performance} \begin{tabular}{lccc} \toprule \multirow{2}{*}{Model} & \multicolumn{2}{c}{Performance Metrics} & \multirow{2}{*}{Time (s)} \\ \cmidrule{2-3} & Accuracy (%) & F1-Score & \\ \midrule Baseline & 78.5 & 0.76 & 2.3 \\ \midrule \multirow{3}{*}{Proposed} & 85.2 & 0.83 & 3.1 \\ & 87.1 & 0.85 & 3.4 \\ \cline{1-3} Average & \textbf{86.2} & \textbf{0.84} & \textbf{3.3} \\ \midrule \multirow{2}{*}{State-of-art} & 89.3 & 0.88 & 5.7 \\ & 90.1 & 0.89 & 6.2 \\ \bottomrule \end{tabular} \par \footnotesize \textbf{Note:} Results are averaged over 10 runs. The best performance in each category is shown in \textbf{bold}. The proposed model achieves competitive accuracy with significantly faster inference time compared to state-of-the-art methods.\end{table}
Table 1: Performance Comparison of FinTech Models
| Model | Performance Metrics | Time (s) | |
|---|---|---|---|
| Accuracy (%) | F1-Score | ||
| Baseline | 78.5 | 0.76 | 2.3 |
| Proposed | 85.2 | 0.83 | 3.1 |
| 87.1 | 0.85 | 3.4 | |
| Average | 86.2 | 0.84 | 3.3 |
| State-of-art | 89.3 | 0.88 | 5.7 |
| 90.1 | 0.89 | 6.2 | |
注: 结果为 10 次运行的平均值。每个指标中最优结果用 粗体标出。与 state-of-the-art 方法相比,Proposed 模型在保持竞争性准确率的同时,推理时间显著更快。
\footnotesize{text} 添加说明性备注\multicolumn 做分组表头\multirow 有策略地合并单元格dcolumn)\\ 导致多余空白\centering 导致表格不居中\label{} 导致无法引用表格TikZ 让你可以直接在 LaTeX 中绘制高质量矢量图。它非常适合流程图、系统架构图、标注图以及自定义图表。TikZ 图形可无损缩放,任何尺寸都保持专业效果。
% In preamble\usepackage{tikz}\usetikzlibrary{positioning, arrows.meta, shapes}% In document\begin{tikzpicture} \draw[thick,->] (0,0) -- (2,0); \draw[thick,->] (0,0) -- (0,2); \draw[blue] (0,0) circle (1);\end{tikzpicture}
| 库 | 用途 |
|---|---|
positioning | 相对定位节点 |
arrows.meta | 更丰富的箭头样式 |
shapes | 更多形状 |
fit | 根据元素自动包围/贴合 |
calc | 坐标计算 |
decorations.pathmorphing | 装饰线条 |
\begin{tikzpicture} % Rectangle node \node[draw, rectangle] (rect) {Rectangle}; % Circle node \node[draw, circle, right=of rect] (circ) {Circle}; % Ellipse node \node[draw, ellipse, below=of rect] (ell) {Ellipse}; % Diamond node \node[draw, diamond, aspect=2, right=of ell] (diam) {Diamond}; % Rounded rectangle \node[draw, rounded corners, above=of rect] (round) {Rounded}; % Draw connections \draw[->] (rect) -- (circ); \draw[->] (rect) -- (ell); \draw[->] (ell) -- (diam); \draw[->] (round) -- (rect);\end{tikzpicture}
| 样式 | 说明 |
|---|---|
rectangle | 矩形 |
circle | 圆形 |
ellipse | 椭圆 |
diamond | 菱形(常用于判断) |
rounded corners | 圆角矩形 |
fill=blue!20 | 20% 蓝色填充 |
minimum width=2cm | 设置最小尺寸 |
align=center | 多行文本对齐 |
定位: 配合 positioning,可用 right=of node、above=of node、below left=of node 等进行相对放置。
这个进阶流程图示例包含判断节点、不同形状、统一样式、箭头与常见流程图规范,很适合用来画研究方法流程图。
\usepackage{tikz}\usetikzlibrary{shapes.geometric, arrows.meta, positioning, fit, calc}\begin{tikzpicture}[node distance=1.5cm, >=Latex, thick]% Define styles\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=2.5cm, minimum height=0.8cm,text centered, draw=black, fill=red!30]\tikzstyle{io} = [trapezium, trapezium left angle=70, trapezium right angle=110, minimum width=2.5cm, minimum height=0.8cm, text centered, draw=black, fill=blue!30]\tikzstyle{process} = [rectangle, minimum width=2.5cm, minimum height=0.8cm, text centered, draw=black, fill=orange!30]\tikzstyle{decision} = [diamond, minimum width=2.5cm, minimum height=0.8cm, text centered, draw=black, fill=green!30, aspect=2]\tikzstyle{arrow} = [thick,->,>=stealth]% Nodes\node (start) [startstop] {Start};\node (in1) [io, below=of start] {Input Data};\node (pro1) [process, below=of in1] {Preprocess Data};\node (dec1) [decision, below=of pro1, yshift=-0.5cm] {Valid?};\node (pro2a) [process, left=of dec1, xshift=-2cm] {Clean Data};\node (pro2b) [process, right=of dec1, xshift=2cm] {Transform};\node (pro3) [process, below=of dec1, yshift=-1cm] {Feature Extraction};\node (dec2) [decision, below=of pro3, yshift=-0.5cm] {Converged?};\node (pro4) [process, right=of dec2, xshift=2cm] {Update Model};\node (out1) [io, below=of dec2, yshift=-1cm] {Output Results};\node (stop) [startstop, below=of out1] {Stop};% Arrows\draw [arrow] (start) -- (in1);\draw [arrow] (in1) -- (pro1);\draw [arrow] (pro1) -- (dec1);\draw [arrow] (dec1) -- node[anchor=east] {No} (pro2a);\draw [arrow] (dec1) -- node[anchor=west] {Yes} (pro2b);\draw [arrow] (pro2a) |- (pro1);\draw [arrow] (pro2b) -- (pro3);\draw [arrow] (pro3) -- (dec2);\draw [arrow] (dec2) -- node[anchor=east] {No} (pro4);\draw [arrow] (dec2) -- node[anchor=west] {Yes} (out1);\draw [arrow] (pro4) |- (pro3);\draw [arrow] (out1) -- (stop);% Optional: Add labels\node[above=0.1cm of pro3, font=<\footnotesize>, text=gray] {ML Pipeline};\end{tikzpicture}
aspect=2 调整菱形比例trapezium left angle=70 可生成 I/O 形状node[anchor=east] {No} 添加分支标签|- 绘制直角连线| 命令 | 说明 |
|---|---|
\coordinate | 定义带名字的坐标点 |
\foreach \x in {1,...,5} | 循环绘制 |
\node at (x,y) {} | 按坐标放置节点 |
$(node1)!0.5!(node2)$ | 计算中点(或按比例插值) |
\clip | 裁剪绘制区域 |
\shade | 渐变填充 |
\draw[decorate] | 装饰路径 |
scale=学习路线: 先从简单的方框和箭头开始,再逐步加入样式、定位与复杂形状。Overleaf TikZ tutorial 非常值得参考。
Mermaid 适合用“写代码”的方式快速画流程图、时序图、状态图等,并且非常适合版本控制。LaTeX 通常不会直接渲染 Mermaid,推荐先导出为 PDF/SVG/PNG,再插入文档。
把图的“源代码”保存为 figures/flow.mmd,便于复现与协作:
flowchart TD
A[Start] --> B{Valid?}
B -->|Yes| C[Process]
B -->|No| D[Fix Input]
C --> E[Output]
D --> B
常见做法是使用 mermaid-cli(mmdc)导出图文件:
npm install -g @mermaid-js/mermaid-cli
mmdc -i figures/flow.mmd -o figures/flow.pdf
mmdc -i figures/flow.mmd -o figures/flow.svg
把导出的图像作为普通图片插入,并使用 caption 与 label 便于引用:
\usepackage{graphicx}\begin{figure}[htbp] \centering \includegraphics[width=0.9\textwidth]{figures/flow.pdf} \caption{流程图(Mermaid)} \label{fig:mermaid-flow}\end{figure}
.pdf 再插入(pdfLaTeX / XeLaTeX / LuaLaTeX 都通用).svg,再用 Inkscape 转为 PDF(或使用 svg 宏包;通常需要 Inkscape 支持).mmd(源文件)与导出的 .pdf(成品图)draw.io 适合快速绘制系统架构图、流程图、组织结构图等。推荐导出矢量格式(PDF/SVG),再用 \includegraphics 插入。若想让图中文字更接近 LaTeX 字体,可用 SVG + Inkscape 的 “PDF+LaTeX” 工作流。
在 draw.io 里选择 File → Export as,优先导出为 PDF(也可导出 SVG)。建议勾选裁剪到内容边界(Crop)以避免四周留白。
将导出的 architecture.pdf 放到 figures/,用 figure 环境插入:
\usepackage{graphicx}\begin{figure}[htbp] \centering \includegraphics[width=0.95\textwidth]{figures/architecture.pdf} \caption{系统架构图(draw.io)} \label{fig:drawio-arch}\end{figure}
先从 draw.io 导出 architecture.svg,再用 Inkscape 生成 .pdf 与 .pdf_tex:
inkscape figures/architecture.svg --export-type=pdf --export-latex --export-filename=figures/architecture.pdf
随后在 LaTeX 中用 \input 引入 .pdf_tex:
\begin{figure}[htbp] \centering \def\svgwidth{0.95\textwidth} \input{figures/architecture.pdf_tex} \caption{系统架构图(draw.io + PDF+LaTeX)} \label{fig:drawio-arch-tex}\end{figure}
实践建议:团队协作时把 .drawio(源文件)和导出的 .pdf/.svg 一起放进 figures/,这样既能保证论文可编译,又能随时回到源文件修改。
使用 Overleaf thesis 模板完成你的 Master Dissertation:从模板选择到结构搭建的一份完整指南。
在 Overleaf Gallery 搜索 “Master's thesis” 或 “PhD thesis”。常用模板包括 Official LaTeX Thesis Template 或你学校的官方模板。
根据学校要求调整 document class、页边距、行距以及需要的 packages。
用分文件组织结构:abstract.tex、introduction.tex、methods.tex、results.tex、conclusion.tex
使用 BibTeX + .bib 文件管理文献。常用工具:Google Scholar、Zotero、Mendeley 导出参考文献。
% Main thesis file (main.tex)\documentclass{book}\input{preamble}\begin{document}\include{titlepage}\include{abstract}\tableofcontents\include{chapters/chapter1}\include{chapters/chapter2}...\bibliography{references}\end{document}
这些宏包可以显著提升 LaTeX 文档能力,让你的学术写作更高效:
| Package | 用途 |
|---|---|
amsmath | 高级数学排版 |
graphicx | 插入图片 |
hyperref | 可点击链接与 PDF metadata |
biblatex | 参考文献管理 |
| Package | 用途 |
|---|---|
geometry | 自定义页边距 |
booktabs | 专业表格 |
tikz | 矢量图绘制 |
cleveref | 智能交叉引用 |
遵循这些最佳实践,让你的 LaTeX 学习与写作更顺畅、更高效:
fig:、tab:、eq:、ch: 等前缀更清晰
现在开始实战!你将使用 Overleaf,把 research_dissertation_template.docx 转换成 LaTeX 文档并编译生成专业 PDF。本练习覆盖前面讲过的关键 LaTeX 元素。
把提供的 research dissertation template 转换为 LaTeX 文档并编译为 PDF。文档应包含:
访问 overleaf.com 并登录,点击 “New Project” → “Blank Project”,项目命名为 “Research_Dissertation”。
使用 article,并设置如下选项:
\documentclass[a4paper,12pt]{article}
在导言区(preamble)加入这些 packages:
\usepackage{amsmath} % For equations\usepackage{graphicx} % For figures\usepackage{booktabs} % For professional tables\usepackage{hyperref} % For clickable links\usepackage{cite} % For citations
填写 title、author 等信息:
\title{{Hybrid FinTech Architectures for Financial Services}}\author{Your Name}\affiliation{Tailong School of Finance, Zhejiang Gongshang University}\date{April 14, 2026}
创建 abstract 部分:
\begin{abstract}This dissertation-style document provides a structured template...\end{abstract}
用 enumerate 环境实现编号问题:
\section{Research Questions}\begin{enumerate} \item RQ1: Which technical and governance factors drive successful deployment? \item RQ2: How do risk, compliance, and operational constraints shape architecture? \item RQ3: What measurable outcomes can indicate improved performance?\end{enumerate}
用 equation 环境写入模型表达式:
\section{Methodology}\begin{equation}y_t = \alpha + \beta x_t + \epsilon_t \label{eq:model}\end{equation}其中 $y_t$ 是结果变量,$x_t$ 是 adoption index...
使用 booktabs 创建专业表格:
\begin{table}[h] \centering \begin{tabular}{lccc} \toprule Variable & Mean & Std. Dev. & N \\ \midrule Adoption Index & 40.6 & 22.1 & 11 \\ Latency (ms) & 28.4 & 6.7 & 11 \\ \bottomrule \end{tabular} \caption{Example Summary Statistics}\end{table}
创建 references.bib 文件,并在正文中引用:
% In references.bib:@article{smith2022, title={Model risk management for machine learning}, author={Smith, A.}, journal={Financial Technology Review}, year={2022}}% In your document:Recent work suggests governance factors are decisive \cite{smith2022}.
点击 “Recompile” 生成 PDF。检查错误并修正后,下载最终 PDF。
你的 PDF 将从以下方面评估:文档结构是否规范、公式格式是否正确、表格是否专业、引用是否准确、整体可读性是否良好。
你已经掌握了核心基础。现在就前往 Overleaf,开始为下一篇 paper、thesis 或 presentation 选择并探索模板吧。