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

learn more… | top users | synonyms

1
vote
0answers
17 views

Vertical top align gloss with \gll from gb4e in tabular

I looked through the questions but couldn't find someone with the same problem. \documentclass[12pt,a5paper]{book} \usepackage{gb4e} \usepackage{tabularx} \begin{document} ...
2
votes
0answers
53 views

How to use \underline and \emph over several words with gb4e?

How can I underline several words in a gloss without messing up the alignment?
1
vote
1answer
39 views

gb4e: A package specific \ref{}-definition

I use \usepackage{gb4e} to reference and to contiuously number my linguistic examples. It works like this: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{gb4e} \begin{document} ...
1
vote
1answer
91 views

Typesetting Japanese in LaTeX errors because of gb4e

I'm trying to include Japanese and English text in the bibliography of LaTeX document while also using the package gb4eand no matter what Japanese text I input it comes out in the pdf as ...
1
vote
1answer
52 views

Problem with gb4e's spacing when using datatool

Say that I have a .csv file with sentences in IPA, their glosses, and their translations that I want to incorporate into a document. However, using datatool to loop over the .csv doesn't work with ...
1
vote
1answer
38 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} ...
3
votes
1answer
74 views

using gb4e keeping interlinear glosses together on the same page

I am using gb4e for several hundred interlinear glosses in my dissertation. Several of the examples span more than one page, that is, the vernacular and gloss will be on one page, while the free ...
3
votes
1answer
36 views

Conflict between gb4e and standalone

Using an \exe environment in a document with the class ‘standalone’ is problematic for me. Here’s a MWE: \documentclass[12pt]{standalone} \usepackage{gb4e} \begin{document} \begin{exe} \ex ...
2
votes
1answer
24 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 ...
6
votes
1answer
58 views

Eliminate distance from phantom node in forest

Ignasi's answer to Forest trees on the same line shows how to effectively draw two trees in the same forest environment using the phantom trick noted in the forest documentation. Doing this, however, ...
2
votes
1answer
76 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 ...
5
votes
1answer
63 views

Remove parenthesis (and add period) from gb4e examples

I'm using the gb4e package to number my linguistic examples, cf. the example below. \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex \gll Dies ist ein Beispiel\\ ...
4
votes
1answer
83 views

How to bold (\textbf) an entire example in gb4e?

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). ...
2
votes
1answer
87 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 ...
3
votes
1answer
82 views

gb4e leaves extra space before translation

gb4e leaves extra (unwanted) blank line space between gloss and translation. Same problem as here: Why is the gap between the translation and the last line of the gloss so wide in my interlinear ...
4
votes
1answer
98 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; ...
1
vote
1answer
51 views

gb4e breaks math subscripts in \caption

As @egreg notes in this answer to Can't compile XeLaTeX document with biblatex and gb4e together, the package gb4e makes _ and ^ active to be able to use subscripts and superscripts in ordinary ...
0
votes
1answer
63 views

Extra space between gloss and translations [duplicate]

In some examples in which I have an example (especially a multi-tier one) made in an example environment with gb4e, there's a huge gap between the the \glt line and the one directly above it. This ...
4
votes
1answer
67 views

How to maintain numbering and labels inside of a tabular

I'm using gb4e in order to number examples in my paper. I want to be able to number a tabular as an example, and then have each line of the tabular be a, b, c, etc. \documentclass{article} ...
1
vote
0answers
55 views

Changing counters across and within sections

I am making a document with glosses (using package gb4e) and sections. The glosses correspond to certain numbers within certain chapters, but these chapters do not correspond to the sections I'm ...
5
votes
1answer
130 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} ...
3
votes
1answer
58 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 ...
5
votes
2answers
137 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
1answer
107 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, ...
4
votes
1answer
131 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 ...
9
votes
2answers
293 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 ...
1
vote
0answers
50 views

Conflict between gb4e and \thanks in title

The following code results in a stack exceeded error: \documentclass[10pt]{article} \pagestyle{empty} \usepackage[landscape, twocolumn]{geometry} \setlength{\columnsep}{3pc} ...
10
votes
1answer
263 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, ...
7
votes
1answer
97 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 ...
2
votes
1answer
224 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 ...
5
votes
2answers
123 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} ...
3
votes
1answer
155 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
1answer
124 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 ...
3
votes
1answer
257 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 ...
4
votes
1answer
292 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
216 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} ...
1
vote
0answers
39 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 ...
0
votes
1answer
311 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 ...
3
votes
1answer
247 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) ...
5
votes
1answer
838 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} ...
1
vote
1answer
260 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 ...
4
votes
1answer
3k 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 ...
6
votes
1answer
313 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
1answer
224 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
1answer
108 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} ...
5
votes
2answers
373 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. ...
4
votes
2answers
216 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. ...
4
votes
2answers
286 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} ...
7
votes
5answers
1k 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 ...
4
votes
2answers
334 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 ...