我正在使用 展示语言示例gb4e
。举个例子,我想将整个示例加粗,无论是源语句还是整个内容(包括注释和自由翻译)。当我编译下面的代码时,加粗的示例从示例编号下面的行开始。我有很多这样的例子,我需要将每个例子中的四个选项之一加粗。我怎样才能消除多余的行而不应用\textbf
到每个单独的单词?
\documentclass[11pt,letterpaper]{article}
\usepackage{gb4e}
\begin{document}
\begin{exe}
\ex \textbf{
\gll sak=en du xu tat nanen chushma rughd.\\
we=\textsc{cl} with our father mother hot-spring went\\
\glt `We went to the hot-springs with our parents.'
}
\ex
\gll sak=en du xu tat nanen chushma rughd.\\
we=\textsc{cl} with our father mother hot-spring went\\
\glt `We went to the hot-springs with our parents.'
\end{exe}
\end{document}
答案1
\textbf{...}
通过更改{\bfseries ...}
。
\documentclass[11pt,letterpaper]{article}
\usepackage{gb4e}
\begin{document}
\begin{exe}
\ex {\bfseries
\gll sak=en du xu tat nanen chushma rughd.\\
we=\textsc{cl} with our father mother hot-spring went\\
\glt `We went to the hot-springs with our parents.'
}
\ex
\gll sak=en du xu tat nanen chushma rughd.\\
we=\textsc{cl} with our father mother hot-spring went\\
\glt `We went to the hot-springs with our parents.'
\end{exe}
\end{document}
如果需要\textbf
与\textsc
(一定)你应该\usepackage{bold-extra}
在前言.(结果不是很好,但是有效)。