问题描述
用Latex的时候想要空行,但又不想空1整行,而是0.5行或者0.8行,如下图所示:
解决过程
直接在网上搜搜出来的答案基本都是:
offset是负数的时候是无效的,意味着这种方法无法做到0.5个空白行。
后来,通过找到空0.5行的目标论文-->找到arxiv Latex源码-->找到空0.5行的方法解决了问题。
如,论文
[1]W. Chen, S. Daneau, F. Mannan, and F. Heide, “Steady-state Non-Line-of-Sight Imaging,” presented at the Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019, Accessed: Jun. 21, 2019. [Online]. Available: https://www.researchgate.net/publication/329207339_Steady-state_Non-Line-of-Sight_Imaging.
中有想要的0.5个空白行的操作,找到arxiv的源码
https://arxiv.org/format/1811.09910
下载后找到对应源代码
these seminal works, a growing body of work has been exploring transient imaging with a focus on enabling improved NLOS imaging~\cite{Pandharkar:2011,Naik:2011,Wu:2012,Gupta:12,heide2014diffuse,heide2013low,buttafava2015non,lindelltransient2017}.
\vspace{0.8em}\noindent\textbf{Impulse Non-Line-of-Sight-Imaging}
%
A major line of research~\cite{Pandharkar:2011,Velten:2012recovering,Gupta:12,o2018confocal,tsai2017geometry,arellano2017fast,pediredla2017reconstructing,OToole:2018,Xu:18}
看到使用的是vspace{0.8em}的方法。
原理
\vspace
\vspace[*]{length}
The
\vspace
command adds vertical space. The length of the space can be expressed in any terms that LaTeX understands, i.e., points, inches, etc. You can add negative as well as positive space with an\vspace
command.LaTeX removes vertical space that comes at the end of a page. If you don't want LaTeX to remove this space, include the optional
*
argument. Then the space is never removed.
结果
可以看到,成功控制了段落间距,两行之间只额外空了大约0.5行, 可通过调整0.8em得到更精细的控制。