我想在使用包生成的子示例之间添加一些空格expex
。以下是 MWE:
\documentclass{article}
\usepackage{lipsum}
\usepackage{expex}
\lingset{%
belowglpreambleskip=-0.5ex,%
aboveglftskip=-0.5ex%
}
\begin{document}
\pex
\a\begingl
\gla abcd//
\glb efgh//
\glft Add extra space after this.//
\endgl
\a\begingl
\gla abcd//
\glb efgh//
\glft No extra space after this.//
\endgl
\xe
\lipsum[1-1]
\pex
\a\begingl
\gla abcd//
\glb efgh//
\glft Add extra space after this.//
\endgl
\a\begingl
\gla abcd//
\glb efgh//
\glft No extra space after this.//
\endgl
\xe
\end{document}
答案1
interpartskip=<length>
使用中的选项lingset{...}
设置全局选项或 \pex[interpartskip=<length>]
在特定示例中使用。
\documentclass{article}
\usepackage{lipsum}
\usepackage{expex}
\lingset{%
belowglpreambleskip=-0.5ex,%
aboveglftskip=-0.5ex,%
interpartskip=6ex % added <<<<<<<<<<<<<<<<<<
}
\begin{document}
\pex
\a\begingl
\gla abcd//
\glb efgh//
\glft Add extra space after this.//
\endgl
\a\begingl
\gla abcd//
\glb efgh//
\glft No extra space after this.//
\endgl
\xe
\lipsum[1-1]
\pex
\a\begingl
\gla abcd//
\glb efgh//
\glft Add extra space after this.//
\endgl
\a\begingl
\gla abcd//
\glb efgh//
\glft No extra space after this.//
\endgl
\xe
\end{document}
使用expex.sty 5/1/2017 v5.1b