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

2
votes
2answers
64 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
38 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 ...
3
votes
2answers
86 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 ...
1
vote
1answer
35 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 ...
2
votes
1answer
26 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. ...
0
votes
0answers
31 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 ...
2
votes
1answer
29 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
57 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
107 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
52 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
39 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
235 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
277 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
46 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
92 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
52 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
39 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
74 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
80 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
36 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
32 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
56 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
71 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
67 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
24 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
66 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
53 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
102 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
58 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, ...
6
votes
1answer
52 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 ...
4
votes
2answers
78 views

Forcing a node or a tier to be set below a certain other node in forest

Working from Typesetting Dependency Grammar trees with discontinuous constituents I try to set a graph with two discontinuities. The first figure does what I want. It has nacc and the other N aligned ...
4
votes
2answers
85 views

sn edges and nice empty nodes styles in forest lead to dividing by zero; what's going on?

The forest manual defines two styles: sn edges and nice empty nodes. They are defined as: sn edges/.style={for tree={parent anchor=south, child anchor=north}} and nice empty nodes/.style={for ...
2
votes
1answer
56 views

Typesetting Dependency Grammar trees with discontinuous constituents

I managed to typeset simple Dependency Grammar trees (Typesetting Dependency Grammar trees), but now want to have non projective graphs. The solution with forest is the following: ...
5
votes
3answers
134 views

Typesetting Dependency Grammar trees

I try to typeset dependency trees: Is there a package that does this? It should be compatible with xelatex, i.e. not be based on pstricks. I could not find anything with google or on CTAN. If ...
2
votes
1answer
81 views

gb4e item numbers with tikz-qtree trees

I am using gb4e for numbered examples in my dissertation, since most of my examples are interlinear glosses. I am also including syntax trees, using tikz-qtree. One problem, though, is how to keep ...
5
votes
1answer
63 views

Remove parenthesis (and add period) from gb4e examples

I'm using the gb4e package to number my linguistic examples, cf. the example below. \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex \gll Dies ist ein Beispiel\\ ...
2
votes
1answer
73 views

Typesetting unicode phonetic signs

This discussion says that to use unicode phonetic signs one needs the following: \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage[T1]{tipa} \usepackage[tipa]{ucs} ...
4
votes
1answer
84 views

How to bold (\textbf) an entire example in gb4e?

I am presenting linguistic examples using gb4e. For one example, I would like to make the entire example bold, either the source utterance or the entire thing (including gloss and free translation). ...
1
vote
1answer
55 views

ExPex: Continuing labels of subparts in multipart examples

I rely heavily on ExPex and have a problem in automatically labeling subparts of multipart examples: Consider the following construction: \pex<like> \a[label=0] I like X \xe Some folks might ...
4
votes
1answer
109 views

Making hhline work together with arydshln

I am trying to create Optimality Theory tableaux (a specific type of tables used in linguistics). These tableaux generally look like the following - the important thing is that both the first column ...
3
votes
1answer
62 views

qtree with fullstop

I want to draw a constituent tree for a sentence ending with a full stop, but this gives errors in qtree. This is the example without a full stop. Now I want to add a full stop to the end, which is ...
2
votes
1answer
89 views

Set more than one font feature in gb4e

I'm trying to get in gb4e glosses the first line to be in bold roman font but I can only set roman or bold, not both. How can I set both? The document is a beamer presentation with a sans serif font ...
3
votes
1answer
82 views

gb4e leaves extra space before translation

gb4e leaves extra (unwanted) blank line space between gloss and translation. Same problem as here: Why is the gap between the translation and the last line of the gloss so wide in my interlinear ...
6
votes
1answer
120 views

Autosegmental Representation with pst-asr

I am using Texmaker and MiKTeX to try and produce an autosegmental representation such as the one in this image: The following code is given in John Frampton's pst-asr user's guide: ...
1
vote
0answers
63 views

What's the “standard” way to express a zero/null morpheme in an interlinear gloss in LaTeX? [duplicate]

I'm interested in what the "norm" is for the field. I tried both $\oslash$ and $\emptyset$, but neither looks normal... or maybe I'm over thinking this. Is there a standard in linguistics ...
4
votes
1answer
99 views

Unnumbered linguistic examples with glosses

I want to have an unnumbered and unindented linguistic example with glossing and free translation. In other words, I want what \exg. produces in linguex, but without the numbering and the indentation; ...
1
vote
1answer
52 views

gb4e breaks math subscripts in \caption

As @egreg notes in this answer to Can't compile XeLaTeX document with biblatex and gb4e together, the package gb4e makes _ and ^ active to be able to use subscripts and superscripts in ordinary ...
0
votes
1answer
64 views

Extra space between gloss and translations [duplicate]

In some examples in which I have an example (especially a multi-tier one) made in an example environment with gb4e, there's a huge gap between the the \glt line and the one directly above it. This ...
1
vote
1answer
168 views

pstricks and tikz packages conflicting with other packages?

Why is it that whenever I add \usepackage{pstricks} or \usepackage{tikz}, I always get the error below? Latex Error: /usr/local/texlive/2013/texmf-dist/tex/latex/xcolor/xcolor.sty:60 TeX ...
0
votes
1answer
53 views

Reset numbering in example using Covington package

I'm currently trying to reset the numbering of my examples in my appendix. I'm using the covington package, and my problem is that the examples of the appendix follow the numbering of the previous ...