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

1
vote
1answer
32 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 ...
4
votes
2answers
66 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 ...
4
votes
2answers
83 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 ...
4
votes
2answers
37 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 ...
10
votes
3answers
260 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 ...
7
votes
2answers
573 views

More efficient way to draw movement arrow to roof in tikz-qtree

When drawing syntactic representations in linguistics, one often uses a triangle to represent a unit whose internal structure is irrelevant. This can be accomplished with the tikz-qtree command ...
4
votes
4answers
161 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 ...
6
votes
1answer
2k views

Draw curved arrows between nodes in tikz-qtree

Is there a "clever" way to draw curved lines between nodes without them to go all through the picture? Here is my MWE : \documentclass[11pt]{beamer} \usepackage{ulem} \usepackage{tikz-qtree} ...
3
votes
1answer
84 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
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 ...
3
votes
1answer
184 views

Tikz-Qtree asymmetric and ref to label turning up at the bottom of the tree instead of the top

I recently switched to tikz-qtree from qtree, but I run into two problems: The tree is asymmetrical. The reference (1) turns up at the bottom of the tree instead of the top I am thankful for any ...
2
votes
0answers
53 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?
9
votes
2answers
277 views
0
votes
0answers
29 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
23 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
1answer
38 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
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
1answer
102 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 ...
4
votes
1answer
3k views

Align the top of two tables horizontally (side-by-side with minipage)

I'm using \minipage to put two tables side by side. But when the two tables are not of equal length, the shorter of the two is vertically centered with respect to the other. I would like both tables ...
4
votes
2answers
286 views

How can I cross-reference cross-references with primes?

When I try to cross-reference with \ref to gb4e's cross-references with primes (\exp) I fail. Consider the following example: \documentclass{article} \usepackage{gb4e} \begin{document} ...
9
votes
1answer
887 views

Positioning of numbers in gb4e.sty examples

I'm planning to use the following numbered examples in a document (see example below). I would like the number to be at the top of the example, but for the ones with diagrams it ends up in the middle. ...
4
votes
2answers
334 views

How do I make gb4e.sty's commands overlay aware for beamer?

I use the gb4e package to set numbered examples. I want to put these on slides made with beamer. According to the beamer userguide I can make any command overlay specification aware using this in my ...
4
votes
1answer
215 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} ...
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 ...
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} ...
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, ...
2
votes
1answer
224 views

Increase distance after examples created with gb4e

The package gb4e is used to create linguistic examples. I have noted, however, that the vertical space set before an exe environment in gb4e is larger than the space set after it. I don't really see ...
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? ...
1
vote
1answer
90 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 ...
5
votes
2answers
499 views

Making mixed trees with and without text-containing nodes

I’m using TikZ to draw linguistic syntax trees where some nodes have textual labels and some nodes don’t. I’d like the branch from a labelless node to continue at the same angle into the right hand ...
2
votes
2answers
144 views

Cross-referencing to the number of a customized environment with a counter

On the internet I found a possibility to create an example environment that is helpful for linguistic research papers, because it provides all examples with numbers: \newcounter{exa} ...
1
vote
1answer
138 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 ...
3
votes
2answers
82 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 ...
2
votes
1answer
28 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 ...
11
votes
4answers
2k views

How to draw syntactical trees with parallel leafs for a natural language?

I need to draw syntactical trees for a natural language. The problem is that I need all the leafs to be parallel. How the other nodes are sorted in relation to the other at the same depth is not ...
3
votes
1answer
61 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
3answers
169 views

Oversized parentheses around tabular

I'm having the following problem. I'm using a tabular environment to create a phrase structure rule (linguistics stuff, don't care about it) and I need parentheses for those parts in the rule which ...
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} ...
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\\ ...
5
votes
1answer
130 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} ...
2
votes
1answer
224 views

Restate linguistic example

I have made a numbered example with the package GB4E. I want to restate this example with the same number. I.e. istead of just refering to the example with \ref, i want the whole thing to show up ...
4
votes
1answer
131 views

Push table in a gb4e exe environment (almost?) to the margin

I use the package gb4e to number my (linguistic) examples in tabular format. In some of these tables, I add an extra letter counter to (some of) the rows. When there is a letter counter in the first ...
5
votes
1answer
97 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 ...
5
votes
2answers
4k views

Angle brackets in non-math-mode text

Is there a way to directly input angle brackets into text without resorting to math-mode symbols? I'd like to correctly indicate orthography in a linguistics paper, and have been resorting to single ...
3
votes
1answer
99 views

LyX linguistics module - table within example

Using LyX with the linguistics module. I want to have a table as a Numbered Example. When I insert a table float after the example, the number appears after the table on the PDF, rather than before ...
4
votes
2answers
216 views

How to format an arbitrary number of lines in interlinear text

I'm searching for packages for formatting interlinear text with an arbitrary number of lines. So far, it seems that the packages gb4e, covington, expex only format up to three aligned lines. ...
5
votes
1answer
105 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 ...
18
votes
3answers
1k views

Doing an interlinear text

I want to produce a three-line interlinear text with numbers and asterisks in the top line, Greek in the middle, and the vernacular (Portugese) in the bottom. An example is below: The challenge, as ...
3
votes
1answer
246 views

How can I indent the second line of a linguistic gloss with gb4e.sty?

In accordance with the documentation, I've been happily plodding along making interlinear glosses. So far so good! But things get ugly when I make a longer gloss. Looking at example (5) on page (6) ...
8
votes
1answer
136 views

Expex glosses get broken when unicode-math is loaded in XeLaTeX and LuaLaTeX

I'm trying to typeset multiline numbered examples with John Frampton's expex package (version 4.1). Since I'm using XeLaTeX (TeXLive 2012), I've picked unicode-math to typeset maths. The ...