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
1answer
80 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
133 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
37 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
78 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
68 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
136 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
80 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
2answers
153 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
99 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 ...
5
votes
2answers
160 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
96 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: ...
6
votes
3answers
211 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
127 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
77 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
112 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
104 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
84 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
198 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
73 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 ...
3
votes
1answer
74 views

In an avm, can the horizontal space between the brackets be set manually?

I've created a simple attribute-value matrix using a custom style file avm.sty which is explained here. However, it is so narrow that the right bracket overlaps with the text. ...
2
votes
1answer
145 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 ...
4
votes
1answer
154 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
167 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
64 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
2answers
166 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
83 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
87 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
273 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
88 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 ...
3
votes
1answer
79 views

How to fix “no lowerable accent” error in XeLaTeX?

I'm writing a linguistic paper and have to use several IPA characters with certain accents (e.g. œ̞, ʉ̟). I thought I might use XeLaTeX. I have tried using the tipa-package, but I only get an error ...
8
votes
4answers
472 views

Upside-down syntax trees for linguistics with horizontal lines

I know that syntax analysis can be done in Latex using using TikZ, but the tree-structure that produces isn't really used in my country. Here, we mostly use straight lines instead of hierarchy trees. ...
4
votes
1answer
70 views

How to maintain numbering and labels inside of a tabular

I'm using gb4e in order to number examples in my paper. I want to be able to number a tabular as an example, and then have each line of the tabular be a, b, c, etc. \documentclass{article} ...
2
votes
0answers
56 views

How to automatically generate a list of linguistic examples with package linguex?

I am using the linguex package to present linguistic examples. However, I would like to make an appendix at the end which contains all the examples I've used and the page information. I am asking ...
1
vote
1answer
234 views

Lining up free translation in interlinear glossing with expex

I'm trying to line up the English translation using the expex package. expex allows you to create a side panel of the free translation. What I would like is a way to define a fixed with to this side ...
5
votes
1answer
219 views

Covington example in footnote

I'm using the covingtonpackage to display glossed linguistic examples and it has been working terrifically so far. However, I ran into a problem when I tried to put an example in a footnote. I get the ...
6
votes
1answer
204 views

Active characters in linguistics

What are the pros and cons of using active characters instead of macros in text? Would it make sense to implement a “simplified markup” parser in Latex to make code more readable? Rationale ...
5
votes
5answers
225 views

How do I make trees with straight skeletons or spines?

I'm a new/beginner LaTeX user, and I would like to make syntactic trees with straight spines, somewhat like the ones here: http://tanvirdhaka.blogspot.com/2010/01/phrase-structure-grammar.html Or ...
10
votes
3answers
356 views

Smaller roofs for forest

I have the following tree. I want the roofs to be as wide as the text not wider. Is there a way to do this with forest? In particular it should be the width of the upper text. This is important in ...
3
votes
1answer
147 views

LaTeX package to help diagram translation of one language to another

I am learning Turkish and wanted to work on translating some Turkish text to English with the help of TeX. I think it would be better suited for the job. Wondering if a package exists to help with ...
5
votes
1answer
143 views

Put a {forest} tree inside a {philex} enviromnent

I use the forestpackage to draw linguistic trees, and the linguexpackage to create numeric examples. But there seems to be a problem when I combine the two. The tree is not aligned with the number of ...
6
votes
3answers
267 views

reducing white space below tikz-qtree tree

I am including syntactic trees in my dissertation. Below each tree there is a tremendous amount of white space, which will cause the university's editorial office to scream and howl and moan, then ...
3
votes
2answers
90 views

Beamer, philex and \hfill

I'm using the package philex for linguistic examples, and I try to put a textual element at the end of the line (right centered). I tried to use the \hfillcommand, but as the MWE will show you, it ...
9
votes
3answers
241 views

Index that picks up on example numbers, not page numbers

I am producing some glossed linguistic texts in a Native American language. The sentences are labeled as, e.g., (2.3)—meaning “text 2, sentence 3”—and I’d like the index to pick up on these numbers, ...
5
votes
1answer
202 views

Prevent page break after first line of example

I would like to find a way to prevent a page break between the first line of the example in following code. \documentclass{article} \usepackage{lipsum} \usepackage{gb4e} \begin{document} ...
6
votes
2answers
128 views

Documentclass `book': How to prevent numbered examples to start over each chapter

So, I am writing my thesis (topic is to do with linguistics) and am using the documentclass book to do this. For my numbered examples I am using the `linguex' package. \documentclass[12pt, ...
3
votes
1answer
97 views

change gb4e enumeration in only one chapter

I am using gb4e for glossing examples in my thesis. I would like to set the example number back to zero for an appendix. I assume some variation of Alan Munn's solution at gb4e enumeration format ...
3
votes
1answer
104 views

Having nodes at the baseline and in mid-air with tikz-qtree

I want to draw the following tree: What I have so far is the following, but this code puts all nodes onto the baseline. I would like to keep T° and Foc° up. Is there a way to achieve this? ...
3
votes
1answer
132 views

Example numbering changes between overlays

I am trying to include overlaid expex glossed examples in a beamer presentation. However when changing between overlays, the example numbering for the same examples also changes. The code below is a ...
8
votes
5answers
659 views

Multiple diacritics on one character

As linguistics student, I have to put more than one thing on a character every now and then. For example, I need to type ā̆. I thought I could simply do that by typing \={\u{a}}, but then the macron ...
0
votes
0answers
183 views

Tabular derivations with bussproofs [duplicate]

I am trying to typeset derivations in the CCG grammar formalism. These are just derivations as in type theory, but with words as the initial premises. I've tried to typeset them using the bussproof ...