Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am presenting linguistic examples using gb4e. For one example, I would like to make the entire example bold, either the source utterance or the entire thing (including gloss and free translation). When I compile the code below, the bolded example begins on on the line below the example number. I have many examples like this, and I need to bold one of four options in each one. How can I eliminate the extra line without applying \textbf to each individual word?

\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}
share|improve this question
2  
i've not tried this, but perhaps \bfseries (since it doesn't take an argument) would have a more "enduring" result. –  barbara beeton Aug 23 at 18:58

1 Answer 1

up vote 6 down vote accepted

Change \textbf{...} by {\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}

enter image description here

If you need to combine \textbf with \textsc(necessarily) you should add something like \usepackage{bold-extra} in the preamble. (the result is not very good but it works).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.