如何減少gb4e光澤範例中的空間?

如何減少gb4e光澤範例中的空間?

我正在寫一個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命令的包

相關內容