Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gb4e]

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

2
votes
1answer
20 views

Macro for expanding macro arguments to gb4e's \gll

This is a followup question to Problem with gb4e's spacing when using datatool, where I was trying to loop over glosses stored in a CSV with datatool and print them with gb4e's \gll. The issue was ...
0
votes
2answers
107 views

Roman numeration in an xlist environment

How do I set an xlist environment inside an exe environment to use lowercase roman numeration? It always defaults to lowercase letters.
1
vote
1answer
39 views

gb4e: Pull out only subexample label

Is there a way to pull out just the subexample number for a reference when using gb4e? Sometimes I'd like to do something like "In the (a) example(s)...," without having the number. It feels like this ...
1
vote
1answer
54 views

Remove space when several gb4e examples

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 ...
1
vote
2answers
47 views

Not able to use images if I call gb4e.sty

My tags are follows: \documentclass{book} \usepackage{gb4e,qtree,skull} \usepackage{graphicx} \begin{document} \begin{figure} \includegraphics[width=\textwidth]{../74934_Art/Hackl.jpg} \caption{...
1
vote
0answers
23 views

flushleft by using gb4e.sty [duplicate]

My tags are follows: \documentclass{book} \usepackage{showframe} \usepackage{gb4e,qtree,skull} \begin{document} \begin{exe} \ex\emph{Superiority-obeying and Superiority-violating multiple \emph{...
0
votes
1answer
40 views

POMA Template: Tex capacity exceeded with line in math mode

I am required to use the POMA template for my paper, originally written in the ACL2017 template(links below). This has lead to some serious breakdowns wrt the bibliography and math mode, that I have ...
4
votes
1answer
78 views

tufte-book and gb4e and footnotes / sidenotes

When using the tufte-book class (and other tufte classes, I imagine), footnotes / sidenotes seem to break the instant you load the gb4e package. This compiles correctly, and displays a sidenote as ...
1
vote
1answer
79 views

How to fix spacing with multi-line cgloss4e examples?

(Note: This is a follow-up to this question) I am using cgloss4e to write down some language examples. Some of these examples do not fit within a single line, therefore I am trying to distribute ...
3
votes
1answer
69 views

How to combine cgloss4e, colouring and pinyin?

This is a follow-up to this question. In this new question, I would like to be able to combine the colour-altering commands provided in the previous question with the automatic pinyin encoding of the ...
3
votes
2answers
91 views

How to colour text inside aligned gb4e gloss examples?

I am using the package gb4e to gloss a number of linguistic examples. Its main feature, is that it aligns the words in the original language with glosses. I would like to be able to change the font/...
2
votes
2answers
89 views

How to frame text of different lines

I'm trying to reproduce this: I was able to reproduce everything but the frame below "John sleeps": I first tried using gb4e, but I didn't find a solution. Now, my examples are written by hand, ...
0
votes
0answers
30 views

How to vertically align text in different examples using gb4e?

I'm trying to reproduce the following exemples using gb4e: Usually I would only vertically align the text within the same exemple, for glossing, for instance. But in this case, i have to align the ...
2
votes
1answer
65 views

Aligning gb4e examples with tikz-qtree

I would like to fit multiple tree structures onto one and the same page (preferably next to each other), while also numbering them with gb4e so I can refer to them later on. Although this seems to ...
2
votes
1answer
158 views

Adjust margins and interline spaces in gb4e

I'm trying to condense the space around examples in gb4e, with the goal of removing unnecessary whitespace around examples in an abstract. Here's what gb4e gives me now: What I'd like is for the ...
2
votes
0answers
47 views

Continuous numbering of examples with gb4e in both main text and footnotes

I would like to continue the numbering of the examples with gb4e from my main text in my footnotes. I guess that this has something to do with resetting the counter for \ex in footnotes, but I do not ...
3
votes
1answer
94 views

How do I put text on multiple lines in a forest tree within a gb4e example?

I'm using gb4e and forest to present (linguistic) trees in a nice format. It's been working well except that I some of the text underneath the nodes presented on multiple lines. In the forest package ...
0
votes
0answers
37 views

Issue with UC Thesis compiling with gb4e or linguex

I'm working on compiling my thesis with ucthesis. I'm having an issue compiling with gb4e, which is kind of a problem because I'm a linguist. Here's the MWE \documentclass[11pt]{ucthesis} \def\dsp{\...
2
votes
1answer
123 views

boxed text and underline within the gb4e environment

I would like to ask about boxed text and underline within the gb4e environment. I would like to box the text to indicate that this word is important. At the same time, I would like to draw an ...
1
vote
1answer
54 views

Misalignment in grammaticality judgements using gb4e due to added material

I use gb4e for examples with grammaticality judgements. When I try to add material in the example environment, the numbering of the example misaligns. I am trying this: \documentclass[a4paper,12pt]{...
1
vote
2answers
139 views

Getting small caps in linguistics glosses automatically using gb4e

I am searching for a way to automatically format appropriate parts of a gb4e morpheme-by-morpheme gloss in small caps. I use small caps in the gloss line to mark out functional material; that is, ...
9
votes
1answer
209 views

While using package gb4e all the dental marks in IPA go berserk

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tipa} \usepackage{gb4e} \usepackage{nomencl} \begin{document} \begin{exe} \ex \gll \noautomath \textipa{\|[to} pani pito\\ ram.3P....
2
votes
1answer
82 views

Grammaticality judgments misaligned using gb4e package

I am writing my dissertation in Linguistics and use gb4e for the examples. When I try to add grammaticality judgments they appear indented, meaning aligned with the beginning of another example that ...
2
votes
1answer
79 views

Disable \resetcounteronoverlays for single frames

I use the command \resetcounteroverlays{exx} in the preamble of my beamer presentation in order to avoid example numbers from changing within a frame. (I am using the gb4e-package for numbered example ...
1
vote
0answers
71 views

reducing vertical space between environments in footnotes

The gb4e package helps linguists to translate examples. It uses list environments to separate the examples from the main text. The Language Science Press version of this package uses \ea and \eal as ...
1
vote
0answers
41 views

Movement arrows in gloss not working [duplicate]

I would like to be able to draw movement arrows (which can overlap) underneath a linguistic example sentence (not a tree). However, everyone seems to be using gb4e but when I paste the examples into ...
2
votes
1answer
174 views

Glossed examples with Roman numerals in footnotes

I'm writing a thesis and I want to have glossed examples with Roman numerals in my footnotes. With my current code this does not work: \documentclass[12]{report} \setcounter{tocdepth}{5} \usepackage{...
2
votes
1answer
80 views

Numbering pst-asr diagrams in a table with gb4e

As a follow up to a previous question of mine, I am trying to use a pst-asr diagram inside both table and gb4e environments but am running into trouble. I am aiming to produce the image below: But, ...
1
vote
1answer
69 views

Error when using gb4e.sty and graphicx.sty packages

My code as follow: \documentclass[10pt]{book} \usepackage{graphicx} \usepackage{gb4e} \begin{document} \includegraphics{../Files_art/11127_003_fig_001.eps} \end{document} Which ...
0
votes
1answer
46 views

gb4e label appears under image when I reduce its size, I want it to be above

I've created a syntactic tree using TikZ, and it works well, also when placed inside an {exe} of gb4e, for example the following code: \begin{exe} \ex\label{ex54} \Tree [.TP$_1$ [.DP$_1$ \edge[roof]; ...
1
vote
2answers
305 views

Extra space between lines (gb4e)

I am using gb4e.sty to provide inter-linear language glossing. This works well, but I want to get wider spacing between lines when sentences have 2 or more lines like this; Here is my source code: \...
-2
votes
1answer
206 views

Syntax movement arrows in examples in XeLaTeX in beamerposter

How to draw simple movement arrows under XeLaTeX? I must do a poster with beamerposter (which unfortunately works under XeLaTeX). Preferably compatible with linguex AND g4be. I'm literally looking ...
3
votes
2answers
116 views

Linguistic glosses in polytonic Greek (polyglossia, XeLaTex) with covington

I've been having trouble typesetting a word-by-word gloss with the first line in polytonic Greek (rendered by polyglossia on XeLaTex with UTF-8 encoding). I've tried this with the covington, gb4e and ...
1
vote
0answers
99 views

Movement arrows in gloss (part IV)

In reference to this question: Movement arrows in gloss (part III) I have one more question: Is it possible to get four arrows: Two beneath the text in both directions and two above. Up to now ...
4
votes
1answer
217 views

Long-distance movement arrow in gloss

I have a question on drawing an arrow using gb4e. Currently, I am trying to use the method described in the link below. The problem takes place when I draw the long distance arrow like (5). As you can ...
1
vote
1answer
240 views

gb4e examples numbering in footnotes continuously

I used this code (without using the package chngcntr) to number my linguistic examples in the footnotes in roman. Now, I would like the example-numbering in the footnotes to be continuously, I don't ...
2
votes
1answer
49 views

tabularx within gb4e linguistic example within footnote - What width do I use?

I am trying to use a tabularx table within a gb4e linguisti example within a footnote, and if I simply set the tabularx width to \textwidth, the resulting table goes way too far to the right. Thus, ...
1
vote
0answers
114 views

gb4e: set font size [closed]

The problem is simple. I use 14pt font size document-wide (\documentclass[a4paper,14pt]{article}). But gb4e overrides this and uses (apparently) 12pt font in examples. How do I get gb4e to use the ...
1
vote
1answer
172 views

How can I put two examples without break using gb4e?

I would like to ask about numbered examples in linguistics. I am using gb4e for the numbering examples and forest for the syntactic trees. My question is how to put two syntactic trees in line. I ...
6
votes
2answers
234 views

Incompatibility between siunitx and gb4e

It looks like the siunitx package and the gb4e package are in conflict. More specifically, the following code would not run: \documentclass[11pt]{article} \usepackage{gb4e} \def\fg{} \usepackage{...
1
vote
1answer
103 views

tikz-qtree inside gb4e example not centered when bidi is loaded

I am using tikz-qtree to draw syntax trees that go inside of gb4e examples. I was very happy that I was able to get them to center by following this answer: Centering trees However, I then decided ...
2
votes
1answer
236 views

Movement arrows in gloss (part III)

In reference to this question: Movement arrows in gloss (part II) I have two problems: My backward arrow ist too far down (cf. example 1). Up to now, my glosses go down (cf. "[VF" in example 1). ...
2
votes
1answer
131 views

beamer shift gb4e gloss left

I have a gb4e gloss that does not fit my beamer slide horizontally. I use an empty, yet space consuming identifier with \exi{}, therefore I would like to shift the gloss to the left. I have tried ...
2
votes
1answer
149 views

Using gb4e inside of enumerate environment

I want to use the enumerate environment instead of the standard labeling that gb4e uses. I have the following code so far: \documentclass{article} \usepackage{gb4e, enumitem} \begin{document} \begin{...
3
votes
1answer
334 views

\ex in gb4e package: how to force example without line feed

I am using \ex to enumerate my examples in the text. Sometimes I would like to have the example start without line feed, i.e. in the same line. (for instance if the sentence is short, to save space) ...
3
votes
2answers
457 views

TeX capacity exceeded (OT1+ztmcm)

I'm getting the following error when trying to compile a master .tex file: TeX capacity exceeded, sorry [parameter stack size=10000] There's some info in the .log file that may be relevant but hasn'...
2
votes
1answer
251 views

Using gb4e to insert footnote in \gll line

I am using gb4e for my examples. I can insert footnote in the \ex line, like this: \begin{exe} \ex It's ok\footnote{no problem}. \end{exe} But I cannot insert footnote in the \gll line, like this: \...
1
vote
1answer
292 views

does not compile when using gb4e

I am writing a linguistic paper and I read that gb4e is a great package to insert numbered examples. When I use the package, the program no longer compiles. I cannot find answers on why I am getting ...
3
votes
1answer
486 views

gb4e examples numbering in chapters and footnotes

I am using the package gb4e for managing linguistics examples. I want two things: The examples should be numbered according to the chapter in which they appear, e.g. the first example of ch. 2 should ...
0
votes
2answers
328 views

gb4e and a0poster: glossed examples very small

I am trying to make a poster using the a0poster document class to produce a poster that contains glossed linguistic examples. For the linguistic examples, I am using the standard package gb4e. There ...