The {linguistics} tag can be used for questions about packages designed primarily for linguists or about typesetting of linguistics-specific material.

learn more… | top users | synonyms

9
votes
2answers
55 views

Two lines in a single node in Forest

I have recently switched from the tikz_qtree package to forest. Now I'm trying to change my trees to fit the forest coding. However, I can't find the way to let a single node contain two lines. I do ...
4
votes
4answers
129 views

Horizontal brace above another brace + node in TikZ

In the following MWE, I've put a brace over the subordinate clause that he knows with a node Subordinate clause above the brace. Now I want to put a brace over the full sentence (the main clause) with ...
2
votes
0answers
38 views

Adding words centered above other words with TikZ v2 [closed]

EDIT: Please vote to close this question as "Unclear what you're asking". My problem and my understanding of it have developed in such a way that this question is now too messy. I have opened the new ...
9
votes
5answers
251 views

Adding words centered above other words with TikZ

I'm writing a sentence, and I'd like to add labels to the elements of the sentence above those elements. In the example below, I'd like the label Verb to be centered above the verb constitutes and the ...
2
votes
1answer
59 views

XeLaTeX - gb4e example numbering in footnotes - Interaction with polyglossia package?

I thought the gb4e package for linguistic example typesetting would provide automatic switching of the numbering scheme between main text examples and examples in footnotes. This is not the behavior I ...
4
votes
0answers
52 views

Brat for NLP in latex

I was wondering if there is any package for text annotation in Latex like Brat. This is the kind of result I would like to obtain in a figure: Is there a way to achieve that by using brat or some ...
8
votes
2answers
125 views

Drawing a frame or box around parts of a syntactic tree using tikz-qtree

I'm trying to make boxes around parts of my tree, but I find no command to do so. I have tried the qtree package, which has the !qframesubtree that can do the job, but only for complete subtrees. What ...
4
votes
3answers
143 views

Fonts, italics and IPA 'a' characters [closed]

I am writing a document with XeLaTeX in which I use IPA characters in italicized text. After trying a few fonts with extensive IPA support like Gentium Plus, Brill or Charis SIL, I encounter the same ...
8
votes
2answers
105 views

Drawing a tikz tree above a tikz-dependency tree with same leaves

I would like to achieve the following goal: I have two different kind of trees that I would like to merge : \documentclass{article} \usepackage{color,graphicx} \usepackage{tikz} ...
5
votes
1answer
91 views

How to patch a command from leipzig.sty

As shown in Issues with leipzig and glossaries used together, there is a problem when using the package leipzig with the glossaries package since the leipzig package relies on deprecated commands from ...
4
votes
1answer
71 views

Margins and positioning with tikz-dependency

I am using gb4e and tikz-dependency simultaneously to demonstrate dependency examples with my glossed sentences. But if my example sentence is too long, it doesn't get split across lines and just goes ...
2
votes
2answers
58 views

A set of glossed phrases do not align to a list (uses linguex package)

I've loaded a set of packages as shown below in the main.tex file \usepackage{linguex} \usepackage{tipa} \usepackage{pst-vowel} \usepackage{setspace} \usepackage[T1,T2A]{fontenc} ...
2
votes
1answer
43 views

Linguex and LFG f-structures (avms)

I am trying to put my LFG f-structures into numbered example environments. I had no problem when I was using Covington, but now that I have switched to linguex, my avms all fail to line up, and if I ...
0
votes
2answers
55 views

Square brackets and subscript in expex glossing

I'm new to Latex and trying to figure out how to do the following thing with expex: I would like to use square bracket as well as a subscripted word such as 'NP' in the transcription line, where ...
4
votes
2answers
80 views

How to add a numbered label to syntax tree?

\documentclass{article} \usepackage{forest} \begin{document} \begin{forest} baseline, for tree={parent anchor=south, child anchor=north, align=center, l sep+=0em, s sep+=4em} [T$'$ ...
6
votes
1answer
187 views

Good way to draw two perpendicular lines at midpoint of a TikZ path

What would be a good way to draw two perpendicular lines at the midpoint of a TikZ path, like in the following picture? Specifically, what would be a good way to draw such perpendicular lines at ...
2
votes
2answers
60 views

Linguistics: what are the best packages to use create bracketed structures with movement lines?

I've been working with gb4e to manage numbered examples for a long time, but I was wondering it was possible to incorporate movement lines, or if I should use some other package. More concretely, I ...
2
votes
0answers
194 views

Typesetting phonetic symbols: Unicode or tipa?

Background On TeX.SX there are a lot of questions of the form "How do I typeset [some phonetic symbol]?" For example: Typesetting modifier letter U+02ED The near-close, near-front unrounded vowel ...
11
votes
6answers
526 views

How to do centered interlinear text in LaTeX

How to do interlinear text like below? Especially, number over the word is centered in relation to this word. I tried with hbox and centering command but not works. ...
6
votes
1answer
79 views

Linguex and Tipa

The numbering of the sentences shows as underlined dots when using \ag. \a. \b. of linguex and tipa . \bg. works fine but starts numbering from (a.) ...
2
votes
2answers
91 views

Tikzmark between syntactic tree and matrix?

I am trying to draw a line between the S node and the matrix, but have not been able to get it to work. What am I doing wrong? MWE: \documentclass[a4paper,12pt]{article} \usepackage{fontspec,tikz, ...
4
votes
2answers
73 views

A long list of glossary-items in two columns

I have tried hard to look for a solution to my problems, but I can't manage to find it on this site or with Google. I have tried: minipage, multicol, longtable, tabu. I've read the documentation on ...
4
votes
2answers
135 views

How to use \underline and \emph over several words with gb4e?

How can I underline several words in a gloss without messing up the alignment? Here is an MWE. \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex[*]{\gll Me ...
2
votes
1answer
81 views

Example numbers in right-to-left environment with ExPex

I was delighted to see that expex does interlinear text in right-to-left languages nearly perfectly. One issue, however, is that the example number is placed in the right margin instead of aligned to ...
3
votes
1answer
50 views

Controling spacing between wrapped gloss lines in expex

I'm glossing long lines of text with the expex package. When the glwords wrap to a new line, there doesn't seem to be any space added. For a large block of text it helps to have a little space there. ...
1
vote
0answers
60 views

Covington Examples Sub-list not lining up

I'm trying to use Covington to generate my examples for my thesis, but anywhere I have sub-examples, the (a) and (b) examples don't line up. Here is my code: (edited to show min working example, as ...
3
votes
1answer
62 views

lingmacros.sty: Add chapter numbers and decrease the space between examples

I am using the lingmacros package for numbered examples. By default it works like this: \enumsentence{This is the first example.} \enumsentence{This is the second example.} (1) This is the first ...
3
votes
1answer
65 views

Incompatibility of calc and some styles for forest

I got a cool solution for integrating a tabular-like object into a forest figure (Relating tree nodes in forest to content in a table) but this is incompatible with another cool solution for fixing ...
6
votes
1answer
136 views

Relating tree nodes in forest to content in a table

I want to draw the following figure: I now converted my trees to forest and the following code is what I have: \documentclass{article} \usepackage{forest} \forestset{ sn edges/.style={for ...
2
votes
1answer
74 views

How to remove wrong indentation of linguex examples in footnotes?

Footnotes of the scrbook class come with a default indentation. Unfortunately, linguex seems to ignore it and falls back on the margins of the main text. \documentclass{scrbook} ...
1
vote
1answer
50 views

gb4e: A package specific \ref{}-definition

I use \usepackage{gb4e} to reference and to contiuously number my linguistic examples. It works like this: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{gb4e} \begin{document} ...
2
votes
3answers
272 views

The near-close, near-front unrounded vowel symbol

I'm trying to get the near-close near-front unrounded vowel symbol into LaTeX (in the context of a dictionary-style definition). It looks like " i " but without the dot. The closest I've got is ...
9
votes
2answers
321 views

Is it possible to typeset the Ge'ez alphabet in LaTeX?

Is there any package for typesetting Ge'ez (Ethiopic) in LaTeX?
3
votes
1answer
64 views

Shifting a node over another node in forest

I have the following tree, which is non-projective and this is where the problems start =;-). In order to be able to draw it at all, I had to use a lot of phantom nodes and no edge declarations, but ...
1
vote
1answer
119 views

Typesetting Japanese in LaTeX errors because of gb4e

I'm trying to include Japanese and English text in the bibliography of LaTeX document while also using the package gb4eand no matter what Japanese text I input it comes out in the pdf as ...
1
vote
1answer
66 views

Problem with gb4e's spacing when using datatool

Say that I have a .csv file with sentences in IPA, their glosses, and their translations that I want to incorporate into a document. However, using datatool to loop over the .csv doesn't work with ...
1
vote
1answer
57 views

Automatically enclose \glt line from gb4e in \enquote{}

How can I automatically enclose the \glt (\trans) line in gb4e's interlinear glosses in context-aware quotation marks with \enquote{} from csquotes? \documentclass{article} ...
3
votes
1answer
109 views

using gb4e keeping interlinear glosses together on the same page

I am using gb4e for several hundred interlinear glosses in my dissertation. Several of the examples span more than one page, that is, the vernacular and gloss will be on one page, while the free ...
3
votes
2answers
122 views

Aligning forest trees and getting the bounding box right

I want to set the following figure: I managed to recreate it using forest, but for reasons I do not understand, my command \menge, which I use for sets things that the forest trees are much larger ...
3
votes
1answer
44 views

Conflict between gb4e and standalone

Using an \exe environment in a document with the class ‘standalone’ is problematic for me. Here’s a MWE: \documentclass[12pt]{standalone} \usepackage{gb4e} \begin{document} \begin{exe} \ex ...
3
votes
0answers
33 views

Connecting two nodes from different forest trees [duplicate]

I want to draw the following figure without pstricks: What I have is the following code: \documentclass{minimal} \usepackage{forest} \usepackage[external]{adjustbox} ...
4
votes
1answer
80 views

Getting old school trees with forest

According to the manual of forestit was developed to get trees like the one on the right-hand side of the following figure rather then the one on the left-hand side: Usually I want the dense trees ...
2
votes
1answer
76 views

Passing a command as an argument

I got a solution for my quoestion about Smaller roofs for forest but I want to pass a command instead of text to a procedure and this causes an error: ! Argument of \@rsbox has an extra }. ...
4
votes
2answers
109 views

Aligning several forest trees in centered way

I want to align three trees in the way shown in the following figure: What I have now is the following code: \documentclass{minimal} \usepackage{forest} \forestset{ tag/.style={for ...
2
votes
1answer
32 views

gb4e center example text

I'm writing an article with several short example sentences. The document as a whole would look better if my example sentences were horizontally centered rather than left-aligned. Of course, I still ...
4
votes
2answers
70 views

Is it possible to put brackets round a Forest tree?

I want to create a tree using forest with large \llbracket and \rrbracket around it (semantic interpretation brackets). schemabox looks hopeful but doesn't seem to work. How do I do this? ...
2
votes
1answer
63 views

Defining a special edge style for connecting nodes in forest

I want to draw certain edges in a dependency tree with a piece of line pointing upwards as in the following picture: The code for this is: \documentclass{article} \usepackage{forest} ...
5
votes
1answer
118 views

Connecting arbitrary text in `forest`

I already asked this question with regard to tikz-qtree (Connecting text in a tikz-qtree with other text by arrow), but maybe there is a better way to do this in forest. I have the following tree: ...
6
votes
1answer
66 views

Eliminate distance from phantom node in forest

Ignasi's answer to Forest trees on the same line shows how to effectively draw two trees in the same forest environment using the phantom trick noted in the forest documentation. Doing this, however, ...
8
votes
1answer
140 views

Issues with leipzig and glossaries used together

I am preparing a document containing some interlinear glossing, the glossing conventions themselves appearing as a separate list. I use the leipzig package to typeset the glosses, the expex package to ...