Questions tagged [gb4e]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
262 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 ...
Patrick Trentin's user avatar
4 votes
1 answer
146 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 ...
Patrick Trentin's user avatar
4 votes
2 answers
308 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/...
Patrick Trentin's user avatar
2 votes
2 answers
368 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, ...
Ricardo Potozky's user avatar
0 votes
0 answers
81 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 ...
Ricardo Potozky's user avatar
2 votes
1 answer
157 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 ...
milvala's user avatar
  • 151
3 votes
1 answer
1k 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 ...
Jigsaw's user avatar
  • 667
2 votes
0 answers
134 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 ...
milvala's user avatar
  • 151
3 votes
1 answer
636 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 ...
L. Suurmeijer's user avatar
3 votes
1 answer
431 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 ...
Gen's user avatar
  • 83
1 vote
1 answer
231 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]{...
reenah's user avatar
  • 103
2 votes
2 answers
665 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, ...
Lefteris_the_linguist's user avatar
9 votes
2 answers
312 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....
Archie's user avatar
  • 91
3 votes
1 answer
288 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 ...
reenah's user avatar
  • 103
2 votes
1 answer
263 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 ...
Max's user avatar
  • 117
2 votes
0 answers
130 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 ...
Stefan Müller's user avatar
1 vote
0 answers
64 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 ...
user3449494's user avatar
2 votes
1 answer
432 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{...
EspenJK's user avatar
  • 489
2 votes
1 answer
164 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, ...
Miztli's user avatar
  • 381
1 vote
1 answer
153 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 ...
MadyYuvi's user avatar
  • 12.8k
0 votes
1 answer
107 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]; ...
Omer's user avatar
  • 1
2 votes
2 answers
859 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: \...
Kato Kanji's user avatar
-2 votes
1 answer
655 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 ...
oliver's user avatar
  • 339
3 votes
2 answers
283 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 ...
Lefteris_the_linguist's user avatar
1 vote
0 answers
237 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 ...
K.B.'s user avatar
  • 33
4 votes
1 answer
432 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 ...
Gen's user avatar
  • 83
1 vote
1 answer
600 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 ...
Anka's user avatar
  • 13
2 votes
1 answer
73 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, ...
sgf's user avatar
  • 551
1 vote
0 answers
208 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 ...
oopcode's user avatar
  • 111
1 vote
1 answer
380 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 ...
Gen's user avatar
  • 83
8 votes
2 answers
507 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{...
Rethliopuks's user avatar
1 vote
1 answer
144 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 ...
Aidan Kaplan's user avatar
2 votes
1 answer
531 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). ...
K.B.'s user avatar
  • 33
2 votes
1 answer
254 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 ...
Marijn's user avatar
  • 35k
2 votes
1 answer
303 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{...
moz's user avatar
  • 53
3 votes
1 answer
908 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) ...
Maria's user avatar
  • 31
3 votes
2 answers
787 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'...
Daniel Diniz's user avatar
2 votes
1 answer
565 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: \...
Penniepenn's user avatar
2 votes
1 answer
1k 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 ...
Wolfgang's user avatar
5 votes
1 answer
1k 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 ...
Luca's user avatar
  • 81
0 votes
2 answers
707 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 ...
Orest Xherija's user avatar
8 votes
1 answer
2k views

gb4e package causing capacity errors

I was using this: http://www.essex.ac.uk/linguistics/external/clmt/latex4ling/examples/gb4e/ To try and create numbered examples in my document. However, when I load it and put the example exe in ...
Dhruv Ghulati's user avatar
5 votes
1 answer
519 views

Example number from bottom to top of a Tree in Forest

After a recent update from MacTex 2015 to 2016, the forest package also updates, which caused problems for an existing tree had. The problem concerns the example number the gb4e package creates. ...
David Kroik's user avatar
3 votes
2 answers
573 views

How to get the top of a tree to align with the example number and its bottom with the example text?

I am trying to get the example number to align with the top of the tree and any additional text to align with the bottom of the tree, but I seem to be able to do only one of those. This code: \...
sgf's user avatar
  • 551
3 votes
1 answer
1k views

Align gb4e examples horizontally

Is there any way to make examples written in gb4e appear ordered horizontally to each other, not vertically? It should look like this: 1) a. Short example b. Short example c. Short example ...
sgf's user avatar
  • 551
5 votes
1 answer
859 views

Automatic parentheses around example numbers

As things work by default in LaTeX, references to example numbers with \ref simply print the number of the example, with no additional formatting. However, almost all of the time in the papers I write,...
Sjiveru's user avatar
  • 475
2 votes
2 answers
251 views

Moving number labelling on forest linguistics diagrams

I'm using the forest package for some linguistics diagrams at the moment and I need to number them. However, the label for the numbering is aligned with the bottom of the digram when I want to have it ...
Miztli's user avatar
  • 381
3 votes
0 answers
568 views

gb4e: overwrite italics in first line

Dear Stackexchange community, For my dissertation I use gb4e for my examples. To get the first line in italics, I use the following code: \let\eachwordone=\itshape In some examples, however, I ...
user101921's user avatar
5 votes
1 answer
893 views

gb4e: phantom, spacing

In order to provide my interlinear examples with a preamble line providing context, I use \pream and \pglt from gb4e: remove extra space below preamble/header lines. This works perfectly fine, unless ...
user101921's user avatar
3 votes
1 answer
573 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 ...
renoh's user avatar
  • 159