Questions tagged [gb4e]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

Reduce vertical space before and after gb4e in footnote, align example with footnote text

This is most definitely a follow-up question to Not excessively stretch vertical space between elements in gb4e (glossing verse text; issue w/ enumitem) and probably related to Adjust margins and ...
3
votes
1answer
57 views

Not excessively stretch vertical space between elements in gb4e (glossing verse text; issue w/ enumitem)

Part of my data is verse text which I'd prefer to gloss line by line. I toyed with this setup (MWE): \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex \gll der wídem vnd der ...
1
vote
1answer
25 views

How to reduce horizontal space between the label of top level and the second level using gb4e

In a list of linguistic example provided by gb4e, I would like to reduce the space between the label of the top level (enumerated label) and the label of the second level (label with alphabet). I know ...
0
votes
0answers
48 views

Aligning Multi-Digit Examples Numbers with gb4e

I am currently typesetting a document with very specific formatting requirements. By default, the gb4e package indents example numbers, such as below. However, this particular document needs to have ...
2
votes
1answer
39 views

\label seems to need space when used with gb4e

I try to keep examples typeset with gb4e on the same page. I extended gb4e by two shortcodes that wrap examples in a tabular environment. This worked until recently but now I get problems with \label ...
1
vote
1answer
37 views

limiting space used by gb4e and adding language information to the right

Often authors provide the language name together with examples. The language name is flushed to the right. This works well with short examples but looks ugly with long examples. The code below ...
1
vote
1answer
31 views

Times font usage changes the alignment (gb4e.sty)

My tags are follows: \documentclass{book} %\usepackage{times} \usepackage{tikz,tikz-qtree, tikz-qtree-compat} \usepackage{gb4e}% \begin{document} \newcommand{\LT}[1]{{\Large #1}} \newcommand{\TS}[1]{\...
4
votes
1answer
35 views

How to use gb4e to produce glossed example with bracket?

I would like to use the package gb4e to produce glossed example with bracket, but I don't know which part is incorrect. \begin{exe} \ex \gll \lb{ }Zhangsan zhidao \lb{ } Lisi taoyan ziji. ]]\\ ...
1
vote
1answer
155 views

TeX capacity exceeded, sorry [parameter stack size=10000] [duplicate]

I am a Spanish linguist working on writing my dissertation using RMarkdown. My document was compiling fine into a pdf until I tried to add examples and glosses using the gb4e package. I am working on ...
0
votes
1answer
42 views

Italicize first line of /gll and second line of /glll

When using gb4e, is it possible to apply \let\eachwordone=\itshape to every \gll, and \let\eachwordtwo=\itshape to every \glll? In other words, is it possible to only italicize the phrase in latin ...
2
votes
1answer
63 views

Updated gb4e + cgloss has fixed spacing between gloss and translation, but not between "preamble" and gloss

I just changed the glossing in a paper I am writing in order to fix the alignment spacing, so instead of using /glll, I am using /gll + adding the top line manually with //. However, this has resulted ...
2
votes
1answer
72 views

Is there a way to make the first line of a four-line gloss not have gloss alignment spacing? [duplicate]

I was wondering if there was a way to make the first line in a four-line interlinear gloss not conform to glossing alignment/gloss spacing. \documentclass[12pt]{article} \usepackage{gb4e,cgloss} \...
2
votes
2answers
45 views

How to Type Clitic Examples with the gb4e Package

I was struggling to use clitics in my glosses, as it forces the use of an = sign. I searched for a long time, but every question I was able to find was specific to math. Normally, the use of ...
1
vote
0answers
30 views

Capacity Error (with isolated problematic excerpt from code/minimal non-working example) [duplicate]

I am working on an article in XeLaTeX and I am getting this error: capacity exceeded main memory size=5000000 By moving around \end{document} and by cutting and pasting various parts of the document, ...
1
vote
1answer
43 views

Problem with using gb4e export of linguistic examples & unicode

I am new to LaTex - total rookie here, sorry if I'm not saying things properly lol! - and I am facing some problems with it. I am working with a web-based program called Dative for linguistic analysis ...
3
votes
1answer
117 views

Linguistics Example Alignment

I am currently working with the gb4e package for linguistics in LaTeX, and I am wondering if there is an easy way to align parts across examples. For instance, in the following example, I want to left ...
0
votes
0answers
25 views

Positioning two forest trees side by side as numbered gb4e subexamples [duplicate]

I am adjusting the tabularx solution to position two syntax trees side by side, as numbered subexamples. The problem I am having is too much whitespace between the second-level label ("a.") and the ...
1
vote
0answers
30 views

Conflict between Tufte and gb4e in title \thanks [closed]

I use Tufte-book class and only add gb4e package as \usepackage{gb4e} \noautomath But after adding this, the thanks part in title does not go to the margin. Full code is as below: \usepackage{...
1
vote
2answers
62 views

Conflict between gb4e and xyling

I am trying to use both the gb4e and xyling packages (I've long used the former, the latter is new for me), and they produce an error when used in the same document (whichever order they're called in)....
3
votes
1answer
111 views

Crash between math \exp and that of gb4e

As originally tweeted here, I would like to use \exp to produce some exponential expressions in math mode, but since gb4e, which I also want to use to make interlinear glossing, overwrites the command ...
1
vote
0answers
32 views

Parallel examples with glosses on same line [duplicate]

I'm writing a linguistics paper and I need to use the example environment a lot. I have noticed in some papers that examples are presented in parallel, that is with 2 different examples starting on ...
2
votes
1answer
56 views

tikz must be imported after gb4e?

I am using the gb4e and tikz packages. It seems that as long as I import gb4e before tikz, I will get an error: TeX capacity exceeded, sorry [parameter stack size=10000]. \catcode`\noexpand\^^A ...
1
vote
1answer
23 views

gb4e & pst-jtree: Invalid item error when using "^" inside a jtree in a gb4e example enclosed by braces

Pst-jtree throws an invalid item error when you attempt to draw a tree that uses the carat inside a gb4e example enclosed in braces. If you do the example without enclosing it in braces or without ...
1
vote
0answers
80 views

XeTeX - \glt or \trans don't work in gb4e [closed]

I have a quite big xetex file in which I wrote some examples with gloses and translations. The compilation fails, though it works on a small test file. I think there must be a conflict between ...
1
vote
1answer
395 views

gb4e formatting for linguistic examples

I am writing my PhD in Linguistics and I have a lot of examples extracted from the data. I'm using gb4e for numbered examples and glossing. A standard example looks like this: \documentclass{article} ...
3
votes
2answers
240 views

customizing gb4e subexamples (not about cross-reference)

I'm using the gb4e for labeling examples in a semantic paper. The examples come with a specific context, and I want to mention that under this specific context, there are at least 2 felicitous answers....
3
votes
1answer
153 views

Reversing the direction of the arrow in gb4e

Any suggestions on how to reverse the direction of the arrow such that it starts from the word je pointing to the word very in the example below? \documentclass{article} \usepackage{gb4e} \primebars ...
0
votes
0answers
38 views

alignment between an example in gb4e and the bracketed gloss

I need to have the words on the first line not so wide apart as in ex. 1 (ovaj and zadatak) and ex. 3 (je and vazan). Also, if possible, I'd like to have the bracketed second line more aligned with ...
6
votes
1answer
182 views

Tikz-dependency and gb4e Alignment Issues

I am using tikz-dependency and gb4e inside one example. I want them to be centered, but I could not managed to do so. Here's my self advancement: \documentclass{article} \usepackage[utf8]{inputenc} \...
2
votes
1answer
53 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
416 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.
2
votes
1answer
196 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
206 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 ...
2
votes
2answers
166 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
73 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
132 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
201 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
200 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 ...
4
votes
1answer
113 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 ...
4
votes
2answers
229 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
192 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
63 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
134 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
776 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
93 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
382 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 ...
3
votes
1answer
357 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
172 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
443 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
2answers
279 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....