LaTeX-技巧积累

减少图片下的空白

在文档的导言区添加 \raggedbottom 命令, 以允许页面底部不对齐, 从而减少图像下方的空白. 如:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\documentclass{article}
\usepackage{graphicx}

\raggedbottom % 允许不对齐

\begin{document}

\begin{figure}[h]
\centering
\includegraphics[width=0.8\textwidth]{your-image-file.png}
\caption{The distribution of average temporal absolute errors.}
\label{fig:errors}
\end{figure}

As shown in Fig. 9, each method's performance in error variability is significantly different. Specifically, the PCA and SRSVD methods have the most significant error fluctuation amplitude and degree, showing high instability. In contrast, the FWA method's error fluctuation range is relatively small, which indicates that it has higher stability and consistency. This stability and consistency are essential for netTM estimates, as they directly affect the accuracy and reliability of network management and optimization.

\end{document}

让图片 caption 居中

document 块之前添加:

1
2
3
4
\usepackage{caption}

% 设置 caption 为居中
\captionsetup{justification=centering}

Section 不自动加上数字索引

如:

1
\section*{Introduction}

打印 list of figure

1
\listoffigures

LaTeX-技巧积累
http://example.com/2023/05/22/LaTeX-技巧积累/
作者
Jie
发布于
2023年5月22日
许可协议