[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-users
Subject: Re: Linguistics Module: Changing the "example" spacing
From: Jürgen_Spitzmüller <spitz () lyx ! org>
Date: 2009-03-16 7:56:12
Message-ID: 200903160856.13050.spitz () lyx ! org
[Download RAW message or body]
David Terhart wrote:
> In the "example" environment (which comes from covington.sty, I think),
> there is pretty much line space between the examle title and what we put
> in the example. Here's some sample LyX code:
>
> \begin{example}
> \label{exa:popish kiwor}popish kiwor%
> \begin{linggloss}
> po-pi-sh kiwor
> one-CLF:long\&thin-one snake
> \glt eine Schlange
> \end{linggloss}
> DC-081114L
> \end{example}
I never thought of using example/glosses that way. As Richard already said,
it's the way glosses are defined by the package covington. There are two
solutions:
1.) If you have only a few such example glosses, insert at the end of the
first line \vspace{-\baselineskip} in TeX mode.
2.) To globally change the spacing, insert to preamble:
\def\gll{%
\begin{flushleft}
\def\baselinestretch{1}%
\@selfnt%
\vskip-\baselineskip%
\bgroup
\catcode`\^^M=12
\twosent
}
However, this might make glosses in other contexts look bad.
Jürgen
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic