我目前正在使用 gb4e 包来处理我的注释示例。它们的翻译有时很长(超过一行)。由于前后段落已定义为 \linespread{1.5},因此示例翻译的段落也具有相同的间距。有没有办法更改翻译的间距(全局更改,因为所有长示例都有相同的问题)?
\documentclass[12pt]{article}
\usepackage{gb4e}
\noautomath
\linespread{1.5}
\usepackage{enumitem}
\usepackage[utf8]{inputenc}
\usepackage[a4paper,margin=1in]{geometry}
\begin{document}
\begin{exe}
\ex ``Who should I talk to if I want to get a recommendation letter?''
\begin{xlist}
\ex
\gll Cong yiyue dao liuyue, dou shi Wang laoshi fuze xie tuijianxin. Qiyue dao shi'eryue shi cai laoshi fuze xie tuijianxin.\\
from Janarary until June all {\small{COP}} Wang teacher in.charge.of write recommendation.letter July until December {\small{COP}} Cai teacher in.charge.of write recommendation.letter\\
`From Janarary until June teacher Wang is in charge of writing recommendation letter. On July until December, teacher Cai is in charge of writing recommendation letter. '
\end{xlist}
\end{exe}
\end{document}
也就是说,对于这两句话‘一月到六月推荐信由王老师负责写,七月到十二月推荐信由蔡老师负责写’,我希望行距和前两行注释的行距一致。
谢谢你!!
答案1
一般来说,如果你想要改变文档行距,最好使用setspace
do 包。这将为你提供可以在环境内使用的命令,以便在需要时返回单倍行距。此外,gb4e
应使用\glt
(或\trans
)引入自由翻译。
\documentclass[12pt]{article}
\usepackage{gb4e}
\noautomath
\usepackage{setspace}
\doublespacing
\usepackage{enumitem}
\usepackage[utf8]{inputenc}
\usepackage[a4paper,margin=1in]{geometry}
\begin{document}
\begin{exe}
\ex ``Who should I talk to if I want to get a recommendation letter?''
\begin{xlist}
\ex
\gll Cong yiyue dao liuyue, dou shi Wang laoshi fuze xie tuijianxin. Qiyue dao shi'eryue shi cai laoshi fuze xie tuijianxin.\\
from Janarary until June all {\small{COP}} Wang teacher in.charge.of write recommendation.letter July until December {\small{COP}} Cai teacher in.charge.of write recommendation.letter\\
\glt\singlespacing`From Janarary until June teacher Wang is in charge of writing recommendation letter. On July until December, teacher Cai is in charge of writing recommendation letter. '
\end{xlist}
\end{exe}
\end{document}