我正在写语言学论文,并使用gb4e
这些例子。当我尝试添加语法判断时,它们会缩进,这意味着与另一个没有语法判断的例子的开头对齐:
a. *这里有一个男人,他拿着一个大包裹。b
. 这里有一个男人,他拿着一个大包裹。
例句应全部对齐,任何语法判断都应出现在左侧。我做错了什么?
\documentclass[a4paper,12pt]{book}
\usepackage{setspace}
\usepackage{mathptmx}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{cleveref}
\usepackage{gb4e}
\noautomath
\begin{document}
The example in \eqref{gs1} is ungrammatical. The example in \eqref{gs2} is fine.
\begin{exe}
\ex
\begin{xlist}
\ex[*]{The man is here who is carrying a large package.} \label{gs1}
\ex A man is here who is carrying a large package. \label{gs2}
\end{xlist}
\end{exe}
\end{document}
答案1
我当然不是专家,但看了文档后,我觉得你需要
\ex[]{A man is here who is carrying a large package.}
第二个。
\documentclass[a4paper,12pt]{book}
\usepackage{setspace}
\usepackage{mathptmx}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{cleveref}
\usepackage{gb4e}
\noautomath
\begin{document}
The example in \eqref{gs1} is ungrammatical. The example in \eqref{gs2} is fine.
\begin{exe}
\ex
\begin{xlist}
\ex[*]{The man is here who is carrying a large package.} \label{gs1}
\ex[]{A man is here who is carrying a large package.} \label{gs2}
\end{xlist}
\end{exe}
\end{document}