Latex控制段落间距/插入0.5个空白行

问题描述

用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得到更精细的控制。

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

R.X. NLOS

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值