![更改长自由翻译内的行距 (gb4e)](https://linux22.com/image/465673/%E6%9B%B4%E6%94%B9%E9%95%BF%E8%87%AA%E7%94%B1%E7%BF%BB%E8%AF%91%E5%86%85%E7%9A%84%E8%A1%8C%E8%B7%9D%20(gb4e).png)
我目前正在使用 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}