{gb4e} is a package for formatting numbered examples as used in linguistics.

learn more… | top users | synonyms

11
votes
6answers
3k views

Labeling linguistic examples with language information

I'm writing a linguistics paper that uses a large amount of linguistic examples from a wide variety of languages, using the gb4e package. I want to be able to label each example with information about ...
5
votes
1answer
384 views

Why is the gap between the translation and the last line of the gloss so wide in my interlinear gloss?

I notice if I take away some letters, the translation line goes to where it should be, but this big block of white space is pretty untenable. Ideas? \documentclass[11pt,a4paper]{book} \setcounter{...
4
votes
1answer
505 views

How can I indent the second line of a linguistic gloss with gb4e.sty?

In accordance with the documentation, I've been happily plodding along making interlinear glosses. So far so good! But things get ugly when I make a longer gloss. Looking at example (5) on page (6) ...
6
votes
2answers
315 views

Unnumbered linguistic examples with glosses

I want to have an unnumbered and unindented linguistic example with glossing and free translation. In other words, I want what \exg. produces in linguex, but without the numbering and the indentation; ...
5
votes
1answer
350 views

Prevent page break after first line of example

I would like to find a way to prevent a page break between the first line of the example in following code. \documentclass{article} \usepackage{lipsum} \usepackage{gb4e} \begin{document} \lipsum[3-...
5
votes
2answers
430 views

How can I cross-reference cross-references with primes?

When I try to cross-reference with \ref to gb4e's cross-references with primes (\exp) I fail. Consider the following example: \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe}...
4
votes
2answers
374 views

How to format an arbitrary number of lines in interlinear text

I'm searching for packages for formatting interlinear text with an arbitrary number of lines. So far, it seems that the packages gb4e, covington, expex only format up to three aligned lines. (...
6
votes
1answer
613 views

Can't compile XeLaTeX document with biblatex and gb4e together

The following document will not compile (using xelatex, biber) if the package gb4e is activated. If you comment out the gb4e package it works fine: \documentclass{article} \usepackage{fontspec} \...
4
votes
1answer
696 views

gb4e enumeration format

I am using gb4e for glossing examples in my thesis. I want to have the enumeration in such a format that the chapter number precedes the enumeration of samples, such as Example (1.2) which refers to ...
4
votes
1answer
243 views

Margins and positioning with tikz-dependency

I am using gb4e and tikz-dependency simultaneously to demonstrate dependency examples with my glossed sentences. But if my example sentence is too long, it doesn't get split across lines and just goes ...
2
votes
1answer
278 views

gb4e item numbers with tikz-qtree trees

I am using gb4e for numbered examples in my dissertation, since most of my examples are interlinear glosses. I am also including syntax trees, using tikz-qtree. One problem, though, is how to keep ...
8
votes
1answer
197 views

Interlinear glosses with overlaps, line numbers, and speaker labels

I am trying to come up with a way to represent linguistic examples of naturally occurring dialog. I have not used LaTeX for linguistic glossing yet so I could need some help what package(s) would be ...
6
votes
2answers
391 views

Align glosses in more than one language with gb4e

I'm using the package gb4e to gloss my linguistic examples. It nicely aligns the words in the original language with its glosses. But this alignment does not extend beyond the first line of glosses. ...
10
votes
1answer
704 views

Movement arrow in gloss

Is it possible in gb4e to gloss an example AND have a movement arrow in the example. I'm currently using gb4e, and I want an arrow from 't' to 'een auto'. I already looked at other packages (xytree, ...
9
votes
1answer
1k views

Positioning of numbers in gb4e.sty examples

I'm planning to use the following numbered examples in a document (see example below). I would like the number to be at the top of the example, but for the ones with diagrams it ends up in the middle. ...
7
votes
1answer
1k views

gb4e + biblatex error “patching footnotes failed”

I'm having a problem while using gb4e and biblatex in the same file. It does compile, but I get an "patching footnotes failed" warning. Minimal example: \documentclass[11pt,a4paper]{article} \...
7
votes
1answer
238 views

gb4e: remove extra space below preamble/header lines

I'm writing my PhD thesis on linguistics using gb4e. In a number of cases I want to add a preamble line to an interlinear example and in some other cases I need a tabbing environment embedded within ...
7
votes
2answers
261 views

gb4e: vertical alignment when using brackets

\documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex \gll m-itoetra \lb{PP, ADJC}amin' ilay trano mena] izahay. \\ \textsc{pres-}live \qquad \qquad in that house ...
3
votes
1answer
50 views

breaking line in gb4e [duplicate]

I use gb4e for my linguistic examples. When the example is long, gb4e breaks it into two lines (of the first and second, glossing, lines). However, I sometimes want to break it at a certain point. How ...
3
votes
1answer
73 views

gb4e center example text

I'm writing an article with several short example sentences. The document as a whole would look better if my example sentences were horizontally centered rather than left-aligned. Of course, I still ...
2
votes
1answer
54 views

left-edge vertical alignment in gb4e

I use gb4e for formatting linguistic examples. I came to an example in which I want to show that one translation is correct and another reading is not allowed. I'd like to indicate that the second ...
2
votes
1answer
94 views

Automatically enclose \glt line from gb4e in \enquote{}

How can I automatically enclose the \glt (\trans) line in gb4e's interlinear glosses in context-aware quotation marks with \enquote{} from csquotes? \documentclass{article} \usepackage[english]{babel}...
2
votes
1answer
293 views

Set more than one font feature in gb4e

I'm trying to get in gb4e glosses the first line to be in bold roman font but I can only set roman or bold, not both. How can I set both? The document is a beamer presentation with a sans serif font ...
2
votes
1answer
415 views

Conflict between gb4e and my university style sheet

I am a Linguistics PhD student at U.Florida, writing my dissertation. The LaTeX class from our editorial office conflicts with gb4e (among other packages). Is there a way to override the style sheet ...
0
votes
1answer
476 views

How can I label an interlinear gloss in gb4e? [closed]

I'd like to refer to interlinear glosses within a text. I tried putting a label beneath the \begin{exe} line (as below) to but it didn't work. I'm not sure what I'm doing wrong here. In \ref{1e1} we ...