I would like to reduce the space when several examples follow each other. My examples are all quite long (several lines) and I provide a free translation (no gloss).
[Edit] This is an attempt of a minimal working example:
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\newcounter{ex}
\usepackage{enumitem}
\usepackage{gb4e}
\noautomath
\makeatletter
\apptocmd{\@exe}{\singlespacing}{}{}
\makeatother
\begin{document}
... François Bayrou:
\begin{exe}
\ex \begin{otherlanguage*}{french}\textsc{Lucien Degauchy (UMP)} [majority]: C’est Bayrou qui a écrit ce discours ! (FR 2006.12.12) \end{otherlanguage*} \\
\begin{small} \emph{\textsc{Lucien Degauchy (UMP)} [majority]: Bayrou has written this speech!} \end{small}
\end{exe}
It is thus widely acknowledged... \\
... the corpus:
\begin{exe}
\exr{ex:wrote}
{\textsc{Mr. David Cameron (Tories)} [majority]: \textbf{The right hon. Gentleman} clearly wrote his questions before coming to the House and listening to my statement. (UK 2011.12.12)}
\end{exe}
\begin{exe}
\ex \textsc{Sir Edward Leigh (Tories)} [majority]: We are all being a bit unfair on the Labour party. After all, 40 years ago it was the Labour party that gave us a referendum and, to be fair to the Liberals, they promised one in the last Parliament, although I do not understand why they have gone wobbly on trusting \textbf{the people}. Perhaps it is because \textbf{the people} may give the wrong answer. (UK 2015.03.23)
\end{exe}
\begin{exe}
\ex \textsc{Mr. David Cameron (Tories)} [majority]: The problem is, though, that \textbf{the people who have lent the money to Greece} want their money back, and they believe that Greece should carry out a series of reforms before they give it any more money. (UK 2015.03.23)
\end{exe}
\end{document}
There are more packages but they should be irrelevant to the question. [End of the edited part]
In the preamble I am using:
\usepackage{gb4e}
\noautomath
and
\makeatletter
\apptocmd{\@exe}{\singlespacing}{}{}
\makeatother
so that the examples are single spaced.
I am using https://www.latextemplates.com/template/masters-doctoral-thesis.
When I mention only one example, it looks the way I want:
This is the code corresponding to example 8:
\begin{exe}
\ex \begin{otherlanguage*}{french}\textsc{Lucien Degauchy (UMP)} [majority]: C’est Bayrou qui a écrit ce discours ! (FR 2006.12.12) \end{otherlanguage*} \\
\begin{small} \emph{\textsc{Lucien Degauchy (UMP)} [majority]: Bayrou has written this speech!} \end{small}
\end{exe}
But I have several examples as a list, it does not and there is too much space between the examples:
This is the code corresponding to example 5, 34, and 35:
\begin{exe}
\exr{ex:wrote}
{\textsc{Mr. David Cameron (Tories)} [majority]: \textbf{The right hon. Gentleman} clearly wrote his questions before coming to the House and listening to my statement. (UK 2011.12.12)}
\end{exe}
\begin{exe}
\ex \textsc{Sir Edward Leigh (Tories)} [majority]: We are all being a bit unfair on the Labour party. After all, 40 years ago it was the Labour party that gave us a referendum and, to be fair to the Liberals, they promised one in the last Parliament, although I do not understand why they have gone wobbly on trusting \textbf{the people}. Perhaps it is because \textbf{the people} may give the wrong answer. (UK 2015.03.23)
\end{exe}
\begin{exe}
\ex \textsc{Mr. David Cameron (Tories)} [majority]: The problem is, though, that \textbf{the people who have lent the money to Greece} want their money back, and they believe that Greece should carry out a series of reforms before they give it any more money. (UK 2015.03.23)
\end{exe}
A possible solution is to add \begin{singlespace*}
and \end{singlespace*}
for each example, but then there is not enough space between the example and the following text.
Another solution is to have \begin{exe}
only once and then \end{exe}
at the end of the list, but then there is barely any space between the examples and it is very uncomfortable to read.
I am thankful for any help!
MastersDoctoralThesis
as fast as you can? While the template has gotten better, it still can not be considered the pinnacle of TeX programming and the issue is complicated by the fact that many slightly different versions of the template float around out there.The right hon.\ Gentleman
instead ofThe right hon. Gentleman
to avoid the.
afterhon.
being treated as the full stop ending a sentence. See tex.stackexchange.com/q/2229/35864\documentclass
with a preamble and\begin{document}...\end{document}
, that can be copied, pasted and run without further ado, a so called minimal working example: tex.meta.stackexchange.com/q/228/35864. Then people can start immediately and don't have to rebuild what you already have.