我使用 gb4e 编写语言示例。当示例很长时,gb4e 会将其分成两行(第一行和第二行注释行)。但是,有时我想在某个点处将其拆分。我该怎么做?(我在 gb4e 文档中找不到任何方法。)
MWE 如下。我想在第一次出现单词“Mink”后换行。如果我以第二种方式执行此操作,行间会出现不需要的空格。(我使用的是 xelatex。)
\documentclass{article}
\usepackage{fontspec}
\usepackage{gb4e}
\begin{document}
\begin{exe}
\ex
\gll thu-mi-t-əm =k'wa Mink. chichiya7-u-s =k'wa Mink te= c'estaya\\
go-RLT-CTR-PASS =QUOT Mink grandmother-PST-3POSS =QUOT Mink DET= knothole\\
\glt `Mink went towards it. The knothole was Mink's grandmother.'\\
\end{exe}
\begin{exe}
\ex
\gll thu-mi-t-əm =kʼwa Mink.\\
go-RlL-CTR-PASS =QUOT Mink\\
\gll chichiya7-u-s =kʼwa Mink te= c'estaya\\
grandmother-PST-3POSS =QUOT Mink DET= knothole\\
\glt `Mink went towards it. The knothole was Mink's grandmother.'
\end{exe}
\end{document}
答案1
尝试这个:
\documentclass{article}
\usepackage{fontspec}
\usepackage{gb4e}
\def\Id#1{\vskip-.32cm\hskip.01cm\vtop{#1}}
\begin{document}
\begin{exe}
\ex
\gll thu-mi-t-əm =kʼwa Mink.\\
go-RlL-CTR-PASS =QUOT Mink\\
\Id{%
\gll chichiya7-u-s =kʼwa Mink te= c'estaya\\
grandmother-PST-3POSS =QUOT Mink DET= knothole\\
\glt `Mink went towards it. The knothole was Mink's grandmother.'%
}
\end{exe}
\end{document}
宏\Id
使用框改变文本的位置vtop
,从而覆盖gb4e
该文本的包位置。
并参见相关问题的答案:如何使用 gb4e.sty 缩进语言注释的第二行