如何减少 gb4e gloss 示例中的空间?

如何减少 gb4e gloss 示例中的空间?

我正在写一个linguistics paper,我使用gb4e包。对于下面的句子,我不知道如何减少两个连续例句之间的间距。除了使用,还有其他解决方案吗\vspace{}

以下是代码:

\documentclass[12pt]{report}
\usepackage{url}
\usepackage[numbers,sort]{natbib}
\usepackage[dvips]{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tipa}  
\usepackage{tikz} 
\usepackage{tikz-qtree} 
\usepackage{gb4e} 


\begin{document}

\begin{exe}
\ex
\label{7}
\begin{xlist}
\ex 
\label{7a}
\gll Ali [ men ket-t-im ] di-d-i.\\
Ali [ \textsc{1sg.nom} leave-\textsc{past-1sg} ] say-\textsc{past-3sg}\\
\textsc{Shifted}: \ding{51} `Ali_{i} said that he_{i} left.'
\vspace{-0.3cm}
     
\textsc{Nonshifted}: \ding{55} `Ali_{i} said that I_{speaker} left.'\\

\ex 
\label{7b}
\gll Ali [ meni ket-t-i ] di-d-i.\\
Ali [ \textsc{1sg.acc} leave-\textsc{past-3sg} ] say-\textsc{past-3sg}\\
\textsc{Shifted}: \ding{55} `Ali_{i} said that he_{i} left.'
\vspace{-0.3cm}
     
\textsc{Nonshifted}: \ding{51} `Ali_{i} said that I_{speaker} left.'\\
    \end{xlist}
\end{exe}

\end{document}

在此处输入图片描述

答案1

\\在末尾不需要sublist,并且MWE

\documentclass[12pt]{report}
\usepackage{url}
\usepackage[numbers,sort]{natbib}
\usepackage[dvips]{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tipa}  
\usepackage{tikz} 
\usepackage{tikz-qtree} 
\usepackage{gb4e} 
\usepackage{pifont}

\begin{document}


\begin{exe}
\ex
\begin{xlist}
\ex 
\label{7a}\label{7}
\gll Ali [ men ket-t-im ] di-d-i.\\
Ali [ \textsc{1sg.nom} leave-\textsc{past-1sg} ] say-\textsc{past-3sg}\\
\textsc{Shifted}: \ding{51} `Ali_{i} said that he_{i} left.'
     
\textsc{Nonshifted}: \ding{55} `Ali_{i} said that I_{speaker} left.'

\ex 
\label{7b}
\gll Ali [ meni ket-t-i ] di-d-i.\\
Ali [ \textsc{1sg.acc} leave-\textsc{past-3sg} ] say-\textsc{past-3sg}\\
\textsc{Shifted}: \ding{55} `Ali_{i} said that he_{i} left.'
     
\textsc{Nonshifted}: \ding{51} `Ali_{i} said that I_{speaker} left.'
    \end{xlist}
\end{exe}

\end{document}

在此处输入图片描述

pifont请注意,我添加了支持该\ding命令的包

相关内容