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

10
votes
3answers
1k views

Numbered examples in linguistics that I can refer back to

I do linguistics and I'm looking for a way to enumerate language examples that lets me reference to them in the text. (1) This is an example. Sentence \ref{...} provides a good example of ...
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 ...
6
votes
3answers
572 views

Accessing IPA characters when using Charis SIL

When using Charis SIL, how do I access IPA characters? Are there handy macros, as with tipa.sty? If I have to set up my own encoding using unicode numbers, how is this best done? (Code from those ...
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
2answers
395 views

Using htlatex with tikz-dependency

I am trying to generate an html file from a tex file using htlatex. The htlatex works well with simple tikz pictures, but it has problem with the pictures (trees) drawn with tikz-dependency package. ...
14
votes
1answer
1k views

How can I draw arrows between words in linguistic examples?

This is what I'm after: I'd like to have the sentence 'John loves his mother.' displayed with an arrow running from 'his' to 'John'. I looked at gb4e, but I found the documentation confusing and I ...
8
votes
6answers
2k views

Labeling linguistic examples with language information

I'm writing a linguistics paper that uses a large amount of linguistic examples from a wide variety of languages, using the gb4e package. I want to be able to label each example with information about ...
14
votes
2answers
2k views

How to use phonetic IPA characters in LaTeX

I wish to write a paper about linguistics, so I thought about trying LaTeX. Sadly I couldn't figure out how to write the unique characters I need for my work, for example epsilon with a little tilde ...
4
votes
1answer
253 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} ...
8
votes
3answers
732 views

Combining lmodern and tipa

When I use tipa and lmodern in the same document, I always get a couple of font substitution warnings. The document looks fine, though. Is there any way around this? Minimal example: ...
7
votes
4answers
430 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. ...
5
votes
1answer
600 views

Preparing a text for conversion to LaTeX: How to convert “ejective stops” in TIPA?

So I'm going to convert a lengthy document from Word to LaTeX. The document is full of glottal stops like p' t' k' (in Word format) When I passed them into a LaTeX format, the ['] symbol is ...
10
votes
3answers
318 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 ...
11
votes
2answers
2k views

Why does \usepackage[T2A]{fontenc} take over?

I want to produce a document with non-serif type. I also want to include Cyrillic characters. These two aims seem to be mutually exclusive. When I comment out \usepackage[T2A]{fontenc}, the document ...
4
votes
2answers
716 views

Type a interlinear text, bi or tri-lingual

I need to do an interlinear text. If I understood the problem correctly, I need a macro or format that will treat each word as a three-story fraction. Top store, a number reference, mid store one ...
8
votes
2answers
206 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
2answers
128 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 ...
6
votes
1answer
184 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
2answers
551 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 ...
9
votes
5answers
253 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 ...
8
votes
1answer
882 views

tikz-qtree: curved lines & multiple parent nodes

I am quite new to LaTeX, and I am stuck with a problem Google can't seem to help me with. Basically, I need some hand holding in doing something that is more complicated than my skills can handle at ...
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
2answers
139 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; ...
4
votes
1answer
382 views

gb4e enumeration format

I am using gb4e for glossing examples in my thesis. I want to have the enumeration in such a format that the chapter number precedes the enumeration of samples, such as Example (1.2) which refers to ...
2
votes
0answers
195 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 ...
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, ...
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} ...
0
votes
1answer
349 views

How can I label an interlinear gloss in gb4e? [closed]

I'd like to refer to interlinear glosses within a text. I tried putting a label beneath the \begin{exe} line (as below) to but it didn't work. I'm not sure what I'm doing wrong here. In \ref{1e1} we ...
31
votes
5answers
870 views

Using TikZ to depict intonation

I am looking into using TikZ to represent pitch patterns over a phrase or sentence (intonation). I've got it to produce some useful results, already, as in the attached MWE (although in 1.1 the ...
16
votes
1answer
374 views

Creating new characters from existing ones

In a nutshell. Is there a relatively easy way of building characters out of parts of existing ones? Rationale. (La)TeX linguists’ need for a wide palette of characters—for example, ⟨ɳ⟩ (U+0273), ⟨ɲ⟩ ...
11
votes
6answers
527 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. ...
9
votes
6answers
356 views

Create association lines between characters

I intend to create "association lines" between characters, where the start of the line is one or more characters inside a word, and the end of the line is a single character. Something like this ...
7
votes
2answers
347 views

TikZ/PGF linguistics vowel chart

I'm including a vowel chart in a linguistics document of mine, similar to this, and while I'm aware that there are a couple of packages (TIPA, pst-vowel) that can do the job, I'm interested in trying ...
8
votes
2answers
2k views

Printing interlinear translation: how to mix automatically two paragraphs, printing lines alternately

I am writing a document on a foreigh language, say French, and want to put some paragraphs in French with their translation in English. But I would like to print one line in French, the corresponding ...
6
votes
3answers
171 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 ...
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 ...
4
votes
1answer
271 views

Use arbitrary amount of underlines + descriptions using TikZ on parts of words

This is an extension of this question. In linguistics, word analyses are often necessary and I think that TikZ is an excellent tool to bring some life, color, and most of all clarity to the scene. I ...
10
votes
1answer
376 views

Movement arrow in gloss

Is it possible in gb4e to gloss an example AND have a movement arrow in the example. I'm currently using gb4e, and I want an arrow from 't' to 'een auto'. I already looked at other packages (xytree, ...
10
votes
2answers
756 views

Section based linguistic example numbering with brackets

I would like to have examples in my document look like this: Section 2 (2.1) This is an example. This is a reference to example (2.1). That is: the section number appears both next ...
10
votes
1answer
587 views

Bracketed Sentences

I am trying to achieve an effect similar to this book in diagramming sentences. Is there a package for achieving that? I can place all the brackets and subscripts manually, mixing math and text, but ...
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} ...
8
votes
2answers
776 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 ...
7
votes
1answer
239 views

Using TikZ to depict pitchlevel

After the very productive outcome of my recent question on intonation, I'm emboldened to ask a related question. In the previous one, particular pitchlevels are connected to produce an intonation ...
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 ...
6
votes
2answers
923 views

Matching phonetic/IPA font for Minion Pro

I am (tentatively) using Minion Pro in XeTeX for my book, but I need to typeset a phonetic notation, for which Minion Pro does not have the glyphs. Are there any good alternatives that can match it? ...
4
votes
1answer
269 views

Hebrew text in English LyX file

I have a LyX paper that needs some text (specifically, text within a table) to be in Hebrew. Culmus is installed, language hebrew is mapped to F10. linguistics module is activated. When I try to ...
4
votes
1answer
202 views

tree-dvips Alternative for Linguistics Document with pdftex

I'm attempting to find a way of linking two objects in avm.sty together. The result I want is exactly that specified here: http://www.essex.ac.uk/linguistics/external/clmt/latex4ling/avms/#4 I'm ...
4
votes
1answer
308 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) ...
3
votes
1answer
139 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 ...
3
votes
2answers
425 views

Macro for Typesetting Semantic Denotations (Linguistics)

I tried to write a macro for typesetting semantic denotations, using the stmaryrd package, but there are a few issues that I would like to resolve. My first attempt at the macro was the following: ...