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

5
votes
1answer
46 views

Linguex bad spacing between number and examples with certain values above 99 when using old style numbers

When using linguex example numbering packing, if I use \defaultfontfeatures{Numbers=OldStyle} with xetex or luatex, then with certain example numbers exceeding 99, there is no spacing between the ...
3
votes
1answer
54 views

“Pixelated” charts when using the vowel package

I'm using the vowel package and the charts look "pixelated", like this: The charts here look perfectly fine to me, but when I generate the manual by copying the source code from here, I get the same ...
5
votes
2answers
125 views

Extending a tree

I am trying to extend the following tree, so that it is as in the picture: \documentclass[12pt,a4paper]{article} \usepackage{tikz-qtree} \usepackage{tikz-qtree-compat} ...
3
votes
1answer
37 views

What is the default anchoring style in Forest?

Drawing linguistic phrase structure trees most of the time, I use the sn edges from the forest manual as a global default, with parent anchor=south, child anchor=north. This outputs the following sort ...
7
votes
1answer
52 views

gb4e: remove extra space below preamble/header lines

I'm writing my PhD thesis on linguistics using gb4e. In a number of cases I want to add a preamble line to an interlinear example and in some other cases I need a tabbing environment embedded within ...
4
votes
2answers
42 views

Problem with gb4e and macro for tabular with curly brackets

When using the macro \CurlyBrackets at the beginning of a gb4e example, the example is not typeset as expected. Is there a better way to do this to get the desired output? MWE ...
7
votes
1answer
85 views

Targeting proper parts of nodes in `forest`

I am using forest to construct trees. I have one (minor but persistent) issue: sometimes I would like to place a node at a point that is a proper part of (e.g.) a leaf, in particular so that I can ...
3
votes
2answers
186 views

How to make a nasalized schwa [ə͂] in textipa?

I could not find anything online. I tried \~\textipa{@} but that produced only a tilde before a schwa. Any help on resolving this probably simple issue would be appreciated!
1
vote
1answer
69 views

! Paragraph ended before \@optionaltemp was complete

I'm desperate, can't figure out what's going on... So here's my code for a gloosed example: \a \begingl \gla nie ale jeśli ją \underline{pan} \underline{zobaczy} \underline{będzie} \underline{pan} ...
4
votes
1answer
135 views

Trees and fitting trees underneath them

Questions How can I fit a tree in the blank space under where I have marked Tree 2 in the photo (directly underneath Tree 1, but to the right of \Rightarrow)? How can I caption Tree 1 and Tree 2 ...
0
votes
0answers
36 views

Cross-referencing custom labeled examples

I'm having trouble with linguex cross-referencing examples with an optional argument as in: \documentclass{article} \usepackage{linguex} \title{Title} \begin{document} \maketitle ...
2
votes
2answers
60 views

Aligning ExPex interlinear glosses in multicol environment

Consider this MWE: \documentclass{scrartcl} \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} \usepackage[english]{babel} \usepackage{multicol} \usepackage{expex} \begin{document} ...
6
votes
2answers
75 views

Extra spacing before and after gb4e examples

I am using the gb4e package. When I have a list of examples, there is a large skip after the prose and before the first enumerated item. I do not want that skip there; instead, I want there to be ...
5
votes
3answers
77 views

How to typeset linguistic AVS

How can I typeset attribute value structures (AVS) and rules like the ones seen here?
6
votes
3answers
148 views

Autosegmental Representation in tikz-qtree

This is what I want to achieve and this: But all I've been able to make with tikz-qtree is the following: \documentclass[12pt,a4]{article} \usepackage[utf8]{inputenc} ...
6
votes
2answers
64 views

Changing the size of empty nodes in forest

I want to set the following picture: The following forestcode almost does it: \documentclass{article} \usepackage{forest} \begin{document} \begin{forest} for tree={fit=band,parent ...
1
vote
1answer
49 views

Is there an easy way to indent all the linguistic examples with expex?

Like this one: I browse through the expex document but couldn't find these infos.
11
votes
2answers
110 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
213 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
56 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
346 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
96 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 ...
5
votes
0answers
72 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
235 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
193 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
155 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
106 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
112 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
74 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
68 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
99 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
109 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
245 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 ...
3
votes
3answers
89 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 ...
4
votes
1answer
345 views

Typesetting phonetic symbols: Unicode or tipa?

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 symbol The ...
11
votes
6answers
573 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
112 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
119 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, ...
5
votes
2answers
123 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
151 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
2answers
93 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
78 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
75 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
98 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
73 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
165 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
97 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
63 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
292 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
366 views

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

Is there any package for typesetting Ge'ez (Ethiopic) in LaTeX?