Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [linguex]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
51 views

Cross-Refs: Sublabel-Skipping Variants

While cross-referencing linguistic examples, I am using zref to define commands for referring to pairs or ranges. For each command I have two "skipping" variants mainskip and maxskip, meant ...
user avatar
0 votes
1 answer
65 views

Using \zref in arguments of \ifnum (ranges)

Using zref I want to define a clever cross-ref command for ranges \clevestrip{ref1}{ref2} which returns a "stripping" string (1ab) if theExNo is equal for ref1 and ref2, and only prints ...
user avatar
0 votes
1 answer
44 views

Refer to a specific token of a cross-ref label / Clarifications on refcount and zref

First, before any downvoting, I am aware of the existence and content of this post https://tex.stackexchange.com/a/577464/262813 and let me point out that I am not asking this question out of nowhere, ...
user avatar
1 vote
1 answer
82 views

Skipping non-numeric part of counter label in local Cross-referencing

When quoting linguistic examples from authors inside a quotation, I like to use a special label specifying the name of the author. (I enclose it between square brackets but it will not appear here ...
user avatar
0 votes
1 answer
22 views

Auto infra\supra with Linguex examples

I'm trying to make this work with Linguex: https://tex.stackexchange.com/a/360869/262813 But I always get "infra". \documentclass{report} \usepackage{linguex} \usepackage{etoolbox} % ...
user avatar
1 vote
1 answer
137 views

Four levels of examples

Linguex only allows for 3 levels of examples, but I need to be able to reproduce this (except I do not need first level label to include chapter number or be flushed right). I want to keep local ...
user avatar
1 vote
1 answer
51 views

Adding a line of text in glossed examples

Here's the code I'm working with (you need cgloss.sty to run it): \documentclass[11pt]{article} \usepackage{linguex} \usepackage{cgloss} \begin{document} \ex. \ag. This is a sentence. \\ a b c d\\ \...
user avatar
0 votes
1 answer
18 views

Space between label and subexample with Linguex

I cannot increase the horizontal spacing between the label and the subexample, which is problematic with large grammaticality judgments. \documentclass{article} \usepackage{linguex} \begin{document} \...
user avatar
0 votes
0 answers
34 views

Understanding some aspects of the philex package

In Philex, you can refer locally to an example (2b) by just typing \rnx{label} and it will return just (b), otherwise just type \rn{label} and it returns (2b). Here is the syntax of the two commands: \...
user avatar
0 votes
2 answers
199 views

How to adapt \crefrangelabelformat to subexample formatting?

I would like to be able to redefine something which is supposed to be defined in the preamble. In this example and in relation to this question : Cross-referencing: more sublevels, and presets, I want ...
user avatar
4 votes
0 answers
218 views

Cross-referencing: more sublevels, and presets

I'm typing a lot of linguistic examples and I would like label formatting to gain flexibility, i.e. setting up presets would be great. That is, I'd like to be able to have ready-to-use setups ...
user avatar
0 votes
1 answer
42 views

Obtain (1)‒(3) style when referring to ranges of examples, when default \crefrangelabelformat has no parentheses

I need \crefrangelabelformat to be without parentheses, so I can type 1‒3 when in an "already between parentheses" context, as in (for this issue, see 1–3 and following examples). But then, ...
user avatar
0 votes
1 answer
57 views

Unwanted blank line / vertical space with Philex

All is in the title, there is a blank line between (1a.i) and (1a.ii). This happens when the line is long to the point it would soon break. Here the geometry package is used to set margins, which may ...
user avatar
1 vote
1 answer
66 views

Using Philex how can I change the spacing between subexamples?

Please, can someone explain how to patch Philex to customize the spacing between examples, subexamples and subsubexamples, respectively. For example, if I want spacing between subexamples but no ...
user avatar
0 votes
1 answer
173 views

Advanced Cross-Referencing with Linguex/Philex: Skipping and Stripping

\documentclass{report} \usepackage{philex} % Includes linguex. Only loading it for \phildashes. \usepackage{cleveref} % Referring to Subexample Ranges \crefname{ExNo}{}{} \crefname{SubExNo}{}{} \...
user avatar
4 votes
1 answer
94 views

Using the word "write" as a label makes compilation crash

Took me all night (literally) to figure out. Compilation was failing one time out of two, with the following original error (line 12) : "Bad space factor (0)". That was crazy because ...
user avatar
2 votes
3 answers
188 views

Refer to a range of subsubexamples

I use Cleveref to refer to subexamples such as "2a–c". Now I want to use crefrange to refer to 1ai–ii as well. \documentclass[a4paper,12pt]{report} \usepackage{philex} \usepackage{cleveref} ...
user avatar
1 vote
1 answer
26 views

How to retrieve the index of a certain sentence. I am using linguex

I am using the linguex package that can index sentences throughout the document automatically. However, very often, I will need to add example sentences, which will change the indices of all the ...
user avatar
  • 13
1 vote
0 answers
29 views

Aligning material in delimiters within linguex examples

I'm trying to put trees (drawn with tikz-qtree) inside interpretation function brackets (scaled to the tree as suggested here (https://tex.stackexchange.com/a/133465) within a linguex example. ...
user avatar
  • 11
6 votes
1 answer
66 views

Linguex Exlabelwidth/sep doesn’t work with Brill font

The combination of linguex.sty and Brill Roman font via fontspec.sty stops examples from aligning properly. When the label gets too wide (e.g., (108)), the example text ends up directly after the ...
user avatar
0 votes
0 answers
22 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 -- ...
user avatar
3 votes
2 answers
109 views

Numbering of linguex \ag. starts erroneously with a dot

I try to number my examples with numbers and letters. Unfortunately the numbering starts only from the second point with a.) but the first example is only a dot. After some experiments with taking out ...
user avatar
  • 33
2 votes
2 answers
110 views

Problems with linguex regarding spacing

I have a problem regarding changing values of parameters of linguex. In the documentation it says that you can change the value of \Extopsep, which is responsible for spacing before and after the ...
user avatar
  • 23
2 votes
1 answer
88 views

Use custom font for numbers in linguex examples

I have a custom font specifically for numbered lists -- it renders the numbers in an enumeration in a nicer way than the standard main font. Once I've loaded the font into a new font family which I ...
user avatar
  • 169
2 votes
1 answer
122 views

Linguex: gloss alignment with (square) brackets

I noticed that linguex aligns the first word of a gloss to the square bracket, and not to the actual word within the bracket. Here's a part of my document (I copied pasted all the packages I'm using ...
user avatar
0 votes
0 answers
24 views

Devanagari example with package linguex

This is an MWE formed with package linguex, for having numbered examples. I have also added an English example for the comparison. %!TeX TS-Program=xelatex \documentclass{article} \usepackage{...
user avatar
  • 2,203
1 vote
1 answer
193 views

linguex [judgment symbol]

I was wondering how to specify other judgment symbols besides *, ?, %, and # under \usepackage{linguex}. \ex. \a. *This is ungrammatical. \b. $\checkmark$This is grammatical. \c. (*)This ...
user avatar
1 vote
0 answers
125 views

More than two glossing lines linguex

I am new here. I need some help with the use of linguex. I want to be able to make more than two even up to four glossing lines with that package like in the pdf here. But I fail to do it. Would ...
user avatar
2 votes
1 answer
428 views

Continuous numbering of examples in footnotes within a chapter (and across chapters) in documentclass [report]

I am writing in the class [report] and using package linguex for numbered examples in main text and in footnotes. I need to make my examples in footnotes numbered continuously. The issue is that ...
user avatar
0 votes
1 answer
252 views

How to make linguex not number an example?

I would like to have an example without a number in parentheses on the left. Is it possible?
user avatar
  • 103
2 votes
1 answer
24 views

linguex in uclathes [duplicate]

\exi. environment sends `undefined sequence' error. How can I fix it? Here is the code of the main tex file. \documentclass [PhD] {uclathes} \usepackage[normalem]{ulem} \usepackage{linguex} \begin ...
user avatar
0 votes
1 answer
82 views

Print example with same number as previous example, but new sub-number in linguex

How do I get the following output using linguex: (2) a. James sang to himself b. James didn't sing to himself. "Lorem ipsum dolor sit amet, consectetur adipiscing elit. (2) c. James would not ...
user avatar
  • 169
3 votes
1 answer
82 views

installing linguex into a main tex thesis file

The latex file has problems installing/using the linguex package in a ucla thesis latex template (uclathes) (downloaded from GitHub). I inserted it in a preamble of the mother tex file, but it keeps ...
user avatar
0 votes
0 answers
150 views

Footnotes not working with linguex and leipzig package

The question says it all. I am using package leipzig for glossing and linguex for examples. This is the code. \documentclass[8pt]{article} \usepackage{leipzig} \usepackage{linguex} \begin{document} \...
user avatar
  • 2,203
1 vote
1 answer
112 views

the second example is indented in linguex

I'm new to LaTeX so excuse my naive question. I use \usepackage{linguex} to generate linguistic examples but when I try to write two or more examples, the second one is indented. How can I make all ...
user avatar
1 vote
1 answer
116 views

`linguex` numbered list embeddings

I'm using linguex and need a numbered list with four levels of embedding. I want to be able to have a custom number bullet (label) for the fourth level of embedding as well, and to be able to cross-...
user avatar
  • 908
4 votes
1 answer
276 views

Referring to selected linguex examples without parentheses

How to refer to selected linguex example numbers without parentheses? The editors want me not to use parentheses around example numbers that are placed within parentheses in the text. Like in the ...
user avatar
  • 319
3 votes
1 answer
194 views

How to get transparent examples in linguex

In a slide I want to explain each linguistic gloss point by point. When focusing on one sentence, I want the rest to be made transparent(translucent?), as would happen here with itemize(taken from ...
user avatar
  • 169
3 votes
2 answers
89 views

linguex forest in multicols larger than margin

I'd like to have two forest in one row. Unfortunately it is slightly over the page margin. I am new in latex. Do you have any suggestions for me? \documentclass[a4paper,12pt,DIV=15,BCOR=12mm,oneside,...
user avatar
  • 31
5 votes
1 answer
189 views

linguex - modifying labels with a bar/prime notation

I am working with the linguex package for linguist examples/data. Now I would to have a number of sentences – each being their own example – and underneath I would like to have e.g. syntactic ...
user avatar
  • 167
1 vote
0 answers
41 views

Linguex numbers turning into dot over dash symbols [duplicate]

I'm experiencing problems with Linguex. For some reason, weird symbols are appearing in some of my examples. The relevant part of the code is given below and the output is in the screenshot. Thank you ...
user avatar
1 vote
0 answers
155 views

Movement arrows in linguex in XeLaTeX [duplicate]

I need to draw (simple) movement arrows in linguex examples. I would normally use the tree-dvips package for that (as in the LaTeX example below) but this time I must use XeLaTeX, which is ...
user avatar
  • 319
1 vote
1 answer
58 views

Linguex: \makehandout doesn't work

Putting \makehandout is supposed to extract the example sentences in Linguex, as described in the documentation (page 5). It is not working for me. Here is an minimal example: \documentclass[12]{...
user avatar
  • 821
0 votes
1 answer
182 views

Italicising examples with linguex

Could anyone tell me how examples can be italicised automatically using linguex? The first line of examples with glosses is already discussed here and works fine. I need italic font for the examples ...
user avatar
  • 1
4 votes
1 answer
316 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 (=...
user avatar
1 vote
1 answer
245 views

remove line break between linguex a. b. etc sentences

I want to generate two trees (using forest) side by side numbered with linguex as a. and b. In other words I want to remove the line break between a. and b. for a single example in linguex \...
user avatar
  • 149
2 votes
1 answer
368 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{...
user avatar
  • 479
2 votes
1 answer
66 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} %\...
user avatar
  • 10.9k
0 votes
1 answer
167 views

Error when using linguex.sty package

My code follows: \documentclass{book} \usepackage{linguex}% \usepackage{tikz}% \usetikzlibrary{decorations.text,calc,arrows.meta}% \usepackage{tikz-qtree}% \usepackage{adjustbox} %\usepackage{...
user avatar
  • 10.9k
1 vote
1 answer
927 views

linguex - glossing - vertical alignment

EDIT: added an example from the original document as requested by @kmbkrkn (see below) I use linguex for linguistic glossing and have a question similar to Words not vertically aligned in gb4e glosses ...
user avatar
  • 53