Questions tagged [cgloss4e]

is for questions about the glossing macros used by the gb4e and linguex packages. Add this tag to questions tagged gb4e or linguex if your question concerns the glossing macros themselves.

Filter by
Sorted by
Tagged with
2 votes
1 answer
16 views

Change the line spacing inside the long free translation (gb4e)

I'm currently using gb4e package for my glossed examples. Their translations are sometimes quite long (more than one line). Since the paragraphs before and after have been defined \linespread{1.5}, so ...
anonymous13's user avatar
2 votes
1 answer
160 views

Gloss command and spaces

What is wrong with my \coolgl{}{} gloss command (a clone of cgloss4e's \twosent, and therefore, having brace-delimited arguments and being \hfill-compatible), which produces those unwanted spaces in ...
Vincent Krebs's user avatar
0 votes
3 answers
155 views

Parsing non-expandable commands like \small, using expl3

Using expl3 syntax, I want in my \coolgloss command to use as an optional argument one or several formatting commands such as \small and \itshape. With a command like \newcommand{\coolgloss}[3][\small\...
Vincent Krebs's user avatar
2 votes
1 answer
55 views

Typgloss small capitalization on glossing third line

I use a package called typgloss to automatically put into small capitals linguistic glosses that are in uppercase. The problem is that it works when there is only one line to gloss, but does not work ...
Silué Lacina's user avatar
0 votes
0 answers
27 views

Using hfill with cgloss4e [duplicate]

This answer shows how to use \hfill in glosses within linguex. I can't seem to load "cgloss.sty" that is mentioned in the answer to Overleaf (by adding usepackage{cgloss} in the preamble -- ...
user125234's user avatar
3 votes
1 answer
182 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 ...
NLing's user avatar
  • 343
2 votes
1 answer
190 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} \...
NLing's user avatar
  • 343
3 votes
1 answer
69 views

Using abbreviation commands in glosses

The package xspace allows for the definition of abbreviations like \NOM: \newcommand{\NOM}{\textsc{nom}\xspace} \xspace makes it possible to use \NOMin the text without a {}following the \NOM. ...
Stefan Müller's user avatar
1 vote
0 answers
44 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 ...
EspenJK's user avatar
  • 489
2 votes
1 answer
263 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
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
4 votes
1 answer
381 views

How can I get sans serif linguex glosses?

I am glossing linguistic examples with the linguex package and generally I am very happy with it, so I don't want to use any other enumerating/glossing package. But when I use the Libertine Biolinum (=...
Gesamtkonzept's user avatar
2 votes
1 answer
71 views

Baselineskip varies when using linguex.sty uses

My code as follows: \documentclass[10pt]{book} \usepackage{linguex}% \usepackage{tikz}% \usetikzlibrary{decorations.text,calc,arrows.meta}% \usepackage{tikz-qtree}% \usepackage{adjustbox} %\...
MadyYuvi's user avatar
  • 12.9k
2 votes
2 answers
861 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
1 vote
1 answer
453 views

how to 'skip' a word when using linguex glosses

I am using the linguex package for my glosses. This package allows you to write a sentence in a language, and add glosses aligned with the original example right above it. For example: \exg. \%*Wen$...
RobertP.'s user avatar
  • 751
2 votes
0 answers
246 views

Increase space between lines of glossed text, gb4e [duplicate]

I'm using gb4e in report class. I'd like to format the glossed examples created using gb4e. There are three lines in my glossed example: The original text and the gloss, which are presented in one ...
Laura's user avatar
  • 93
4 votes
1 answer
573 views

widen space between words in gb4e

I use the gb4e package for writing linguistics examples. A MWE is something like the following: \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex \gll aaaaa bbbbbb cccc\\ ...
renoh's user avatar
  • 159
4 votes
1 answer
2k views

Multiline/language linguistic glosses

I'm trying to typeset a linguistic gloss with at least two languages in it, although I'd like to add more. Unfortunately, it seems that the gb4e package doesn't support more gloss lines. I've ...
Alenanno's user avatar
  • 37k
6 votes
1 answer
878 views

How can I tweak linguex so that the first line of a glossed example is in italics?

I have used the linguex package for an article; now it turns out that in the glossed examples the original text (the first line) should be in italics. Can someone tell me how/where I can tweak the ...
Caroline's user avatar
  • 115
8 votes
1 answer
2k views

gb4e: remove extra space below preamble/header lines

I'm writing my PhD thesis on linguistics using gb4e. In a number of cases I want to add a preamble line to an interlinear example and in some other cases I need a tabbing environment embedded within ...
user82352's user avatar
2 votes
1 answer
535 views

More than 6 glossed subexamples Linguex

I'm using linguex glossed examples with subexamples (a), (b), (c), etc. using \ag. \bg. \cg. This works fine until I need more than 6 subexamples: as soon as I try \gg. or \hg. it fails to compile. Is ...
Marieke's user avatar
  • 23
2 votes
1 answer
292 views

Get rid of extra boxes in cgloss4e

I notice that glosses using the \twosent macro in cgloss4e have an extra, phantom "word" at the end. I use the following code to add a small rule indicating where each word box starts: \documentclass{...
user avatar
4 votes
1 answer
481 views

Hanging indentation with linguex (Why does this work?)

I wanted to create linguex examples where the free translation line has a hanging indent of 21.3 big points. I found that use of the hanging package, which is simple enough, does not work (second ...
user avatar
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 ...
diboogit's user avatar
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{...
Teusz's user avatar
  • 725
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 ...
Garrett's user avatar
  • 263