Questions tagged [gb4e]
{gb4e} is a package for formatting numbered examples as used in linguistics.
180
questions
6
votes
1
answer
1k
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-...
2
votes
1
answer
679
views
change gb4e enumeration in only one chapter
I am using gb4e for glossing examples in my thesis. I would like to set the example number back to zero for an appendix. I assume some variation of Alan Munn's solution at gb4e enumeration format ...
8
votes
4
answers
2k
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. ...
4
votes
1
answer
326
views
gb4e example with two-paragraphed footnote throws error
gb4e is a useful package for writing linguistics papers, as it allows one to append judgments to examples, via the optional argument of \ex{}.
As such, I would like to retain the use of this package, ...
3
votes
1
answer
864
views
Push table in a gb4e exe environment (almost?) to the margin
I use the package gb4e to number my (linguistic) examples in tabular format. In some of these tables, I add an extra letter counter to (some of) the rows.
When there is a letter counter in the first ...
8
votes
2
answers
2k
views
Adjusting the gb4e {exe} environment locally
In my thesis I make extensive use of the exe environment of the gb4epackage and I love it. However, three of my approximately 100 examples need to have an alternative layout. Instead of the usual ...
12
votes
2
answers
2k
views
Movement arrow in gloss
This question led to a new package:
movement-arrows
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 ...
10
votes
1
answer
844
views
Cleveref range format for gb4e “(1a-c)"
I managed to get cross-referencing with cleveref to examples in the format "examples (1a-1c)" using
\crefrangeformat{xnumi}{examples~(#3#1#4--#5#2#6)}
but how can I get "examples (1a-c)"?
I found ...
5
votes
1
answer
845
views
Increase distance after examples created with gb4e
The package gb4e is used to create linguistic examples. I have noted, however, that the vertical space set before an exe environment in gb4e is larger than the space set after it. I don't really see ...
4
votes
2
answers
377
views
Mis-aligned free translations in gb4e
When there is an example with a number more than three digits, the free translation line is too far to the left in gb4e examples.
\documentclass{article}
\usepackage{gb4e,cgloss4e}
\begin{document}
...
4
votes
1
answer
656
views
Words not vertically aligned in gb4e glosses when underlined
I'm glossing my linguistic examples with gb4e and am having some problems with alignment. The language I am working with uses underlines in its orthography, and the morpheme that my paper focuses on ...
3
votes
1
answer
193
views
How can I solve this quotation problem with interlinear glosses in gb4e?
Observe how after the interlinear gloss I have to insert [''] -- otherwise, the quote continues (and in textmate4 the rest of the text is colored accordingly). Is there some way to resolve this ...
5
votes
1
answer
1k
views
Example using gb4e without gloss line
Using gb4e I can leave off the free translation line of a three-line format, but is there a way to leave off the gloss line? I am using examples from linguists who gave only the source language and ...
5
votes
1
answer
1k
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 ...
5
votes
1
answer
1k
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{...
1
vote
0
answers
59
views
How can I label a numbered interlinear gloss in gb4e? [duplicate]
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.
Thanks!
In \ref{...
0
votes
1
answer
1k
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. How would I be able to fix this? Are there helpful ...
3
votes
1
answer
1k
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) ...
11
votes
1
answer
4k
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}
\...
2
votes
1
answer
777
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 ...
11
votes
1
answer
13k
views
Align the top of two tables horizontally (side-by-side with minipage)
I'm using \minipage to put two tables side by side. But when the two tables are not of equal length, the shorter of the two is vertically centered with respect to the other. I would like both tables ...
10
votes
1
answer
1k
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}
\...
2
votes
1
answer
1k
views
Restate linguistic example
I have made a numbered example with the package GB4E. I want to restate this example with the same number. I.e. istead of just refering to the example with \ref, i want the whole thing to show up ...
5
votes
1
answer
250
views
Conflict between listings and gb4e?
this code doesn't compile for me. Could it be a bug or is something wrong with my LaTex installation?
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{gb4e}
\usepackage{listings}
\begin{...
5
votes
2
answers
1k
views
Splitting examples in gb4e
I would like to split examples in the \usepackage{gb4e} to get explanatory remarks as close to the explained item as possible. Usually, my typeset examples are looking like this:
(1) blabla
(2) a. ...
3
votes
2
answers
572
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
2
answers
866
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}...
16
votes
6
answers
9k
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 ...
6
votes
2
answers
763
views
How do I make gb4e.sty's commands overlay aware for beamer?
I use the gb4e package to set numbered examples. I want to put these on slides made with beamer. According to the beamer userguide I can make any command overlay specification aware using this in my ...
9
votes
1
answer
2k
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. ...