我的代码如下:
\documentclass{book}
\usepackage{linguex}%
\usepackage{tikz}%
\usetikzlibrary{decorations.text,calc,arrows.meta}%
\usepackage{tikz-qtree}%
\usepackage{adjustbox}
%\usepackage{showframe}
\begin{document}
\ex. \emph{Epistemic readings for the English modals}
\a. Mary may be tired after all that swimming, since she is not used to exercise.
\b. Mary must be tired after all that swimming, since she is not used to exercise.
\c. Mary can't be tired after all that swimming, since she is quite used to exercise.
\d. Mary will be tired after all that swimming, since she is not used to exercise.
\e. Mary might be tired after all that swimming, since she is not used to exercise.
\f. Mary should be tired after all that swimming, since she is not used to exercise.
\g. Mary could be tired after all that swimming, since she is not used to exercise.
\h. (If she had really gone to the pool), Mary would be tired now.
\end{document}
当我删除\g.
然后\h.
上面的代码工作正常,但我需要这两行,我该如何实现?请建议...
感谢您的两个建议,效果很好,现在我遇到了另一个问题:
我的代码如下:
\documentclass[10pt]{book}
\usepackage{linguex}%
\usepackage{tikz}%
\usetikzlibrary{decorations.text,calc,arrows.meta}%
\usepackage{tikz-qtree}%
\usepackage{adjustbox}
%\usepackage{showframe}
\begin{document}
\exg.
Blixa fub-ax. \\
the.house dissolve.green-{\scshape past} \\
`The house dissolved into a green slimy puddle.'
\end{document}
输出正常,但基线空间,即两个地方的前导空间不正确,一个地方是 12pt,另一个地方是 11pt,但它应该是 12pt,请参考下图进行说明。
你能建议我如何修复同样的问题吗?
答案1
来自手册:
linguex 宏定义了三个基本命令:\ex.、\a. 和 \b.。前两个命令生成列表环境。第三个命令的功能基本上类似于 \item。
这意味着列表的第一个条目用 设置,\a.
而每个后续条目都使用 设置\b.
。
Linguex 还提供了命令\c.
、\d.
、\e.
和\f.
以实现所见即所得的效果。它们的作用与 相同\b.
。f 后面的字母没有定义命令,这就是为什么您会收到“未定义的控制序列”错误。
因此,以下 MWE 产生了您想要实现的目标。
\documentclass{book}
\usepackage{linguex}%
\begin{document}
\ex. \emph{Epistemic readings for the English modals}
\a. Mary may be tired after all that swimming, since she is not used to exercise.
\b. Mary must be tired after all that swimming, since she is not used to exercise.
\b. Mary can't be tired after all that swimming, since she is quite used to exercise.
\b. Mary will be tired after all that swimming, since she is not used to exercise.
\b. Mary might be tired after all that swimming, since she is not used to exercise.
\b. Mary should be tired after all that swimming, since she is not used to exercise.
\b. Mary could be tired after all that swimming, since she is not used to exercise.
\b. (If she had really gone to the pool), Mary would be tired now.
\end{document}