我是 LaTeX 新手,请原谅我的问题太幼稚。我用\usepackage{linguex}
它来生成语言示例,但当我尝试编写两个或更多示例时,第二个示例会缩进。我怎样才能使文档中的所有示例都具有相同的缩进?
代码:
\exg. Koitu-wa kamo-des-u\\
this-Top duck-Polite-Pres\\
``This is a duck.''\\
\ex. \ag. Koitu-ra-wa kamo-des-u\\
this-PL-Top duck-Polite-Pres\\
``These are ducks.''\\
\bg. Demo, aitu-ra-wa gan-des-u\\
however, that-PL-Top goose-Polite-Pres\\
``However, those are geese.''
答案1
该语法要求每个或每组示例linguex
之间有一个空行。注释宏在每个注释行的末尾使用,但\ex.
\exg.
\\
不是在自由翻译行之后。这是您发布的代码的主要问题。这是一个修复版本,可以满足您的要求。
\documentclass{article}
\usepackage{linguex}
\begin{document}
\exg. Koitu-wa kamo-des-u\\
this-Top duck-Polite-Pres\\
``This is a duck.''
\ex. \ag. Koitu-ra-wa kamo-des-u\\
this-PL-Top duck-Polite-Pres\\
``These are ducks.''
\bg. Demo, aitu-ra-wa gan-des-u\\
however, that-PL-Top goose-Polite-Pres\\
``However, those are geese.''
\end{document}