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

31
votes
5answers
726 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
312 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), ⟨ɲ⟩ ...
15
votes
4answers
594 views

Any nice packages for word alignment?

I want to visualize word alignments between sentence pairs, where the positions of aligned words may differ between the sentences, and a word in one sentence may be aligned to more than one word in ...
13
votes
2answers
1k views

Using TeX for writing papers on linguistics

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 ...
13
votes
2answers
734 views

TiKZ make lines connecting nodes have the same endpoints

Using the MWE below: \documentclass{standalone} \usepackage{tikz} \usepackage{tikz-qtree} \usepackage{tikz-qtree-compat} \usepackage{ textcomp } \begin{document} \begin{tikzpicture} \Tree [ .TP [ ...
12
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 ...
10
votes
3answers
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 ...
10
votes
2answers
1k 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 ...
10
votes
2answers
587 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
469 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 ...
10
votes
1answer
318 views

ExPex no longer available

I have noticed that the excellent linguistic package ExPex is no longer available on the website of the maintainer. (This package is not in CTAN and was only maintained there.) Does anyone know why? ...
9
votes
2answers
239 views

Adjusting the gb4e {exe} environment locally

In my thesis I make extensive use of the exe environment of the gb4epackage and I love it. However, three of my approximately 100 examples need to have an alternative layout. Instead of the usual ...
9
votes
6answers
302 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 ...
9
votes
3answers
893 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 ...
9
votes
1answer
195 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, ...
8
votes
3answers
621 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: ...
8
votes
2answers
1k 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 ...
8
votes
5answers
222 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 ...
8
votes
1answer
569 views

Edged arrows with tikz-qtree

I've seen this nice little example tree drawn with LaTeX, afaik not tikz. Can I draw similar arrows with tikz-qtree by specifying start and end point only?
8
votes
1answer
827 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. ...
8
votes
1answer
717 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 ...
7
votes
4answers
713 views

Representing linguistic text annotations in LaTeX

I'm writing a document describing the semantics of opinion phrases in English, and in order to do so, I'm annotating particular spans of text as having particular semantic functions within the ...
7
votes
2answers
323 views

Manchu and Mongolian script

I am trying to write a document including Manchu script on a Mac. Manchu is written with the Mongolian alphabet with the addition of some diacritics, but the extra diacritics are included in standard ...
7
votes
1answer
82 views

Cleveref range format for gb4e “(1a-c)"

I managed to get cross-referencing with cleveref to examples in the format "examples (1a-1c)" using \crefrangeformat{xnumi}{examples~(#3#1#4--#5#2#6)} but how can I get "examples (1a-c)"? I found ...
7
votes
1answer
218 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 ...
7
votes
2answers
158 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, ...
6
votes
3answers
280 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. ...
6
votes
1answer
391 views

How to create syntactic trees and align them in LaTeX?

I want to create syntactic trees and align them in LaTeX as in the picture below. Can you help me?
6
votes
2answers
73 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, ...
6
votes
2answers
237 views

Using expex across pages

I am using the expex package to align two types of text, doing it as if it were a gloss, and it works fine. There is one problem, though: Many of the texts I'm working on are longer than a page, and ...
6
votes
1answer
141 views

Conflict between babel and university style sheet

I am a Linguistics PhD student at U.Florida, writing my dissertation. The LaTeX class from our editorial office conflicts with babel (among other packages). Is there a way to override the style sheet ...
6
votes
1answer
92 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: ...
6
votes
1answer
92 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
4answers
1k 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 ...
5
votes
2answers
340 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 ...
5
votes
2answers
763 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? ...
5
votes
2answers
100 views

Align glosses in more than one language with gb4e

I'm using the package gb4e to gloss my linguistic examples. It nicely aligns the words in the original language with its glosses. But this alignment does not extend beyond the first line of glosses. ...
5
votes
2answers
329 views

Splitting examples in gb4e

I would like to split examples in the \usepackage{gb4e} to get explanatory remarks as close to the explained item as possible. Usually, my typeset examples are looking like this: (1) blabla (2) a. ...
5
votes
2answers
390 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 ...
5
votes
1answer
367 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 ...
5
votes
2answers
113 views

How can I use the same parameter for \Tree and \exi

The qtree package permits drawing syntactic trees with a syntax like this: \ex. \Tree [.S [.NP This ] [.VP [.V is ] [.NP an example ]]] The linguex package typesets bracketed expressions with a ...
5
votes
3answers
151 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 ...
5
votes
2answers
106 views

Mis-aligned free translations in gb4e

When there is an example with a number more than three digits, the free translation line is too far to the left in gb4e examples. \documentclass{article} \usepackage{gb4e,cgloss4e} \begin{document} ...
5
votes
1answer
149 views

Relational Grammar arcs

I'm quite used to draw syntactic trees and even AVMs for different linguistic theories, but I've stumbled upon the need to draw Relational Grammar / Arc-paired grammar arcs for a paper I'm writing ...
5
votes
1answer
409 views

Keep example number together with floating table

I am using the package linguex (for 'linguistic examples') to number the examples in my text, using its command \ex. I am creating a table that I am numbering with this command \ex.: \ex. ...
5
votes
1answer
120 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 ...
5
votes
1answer
221 views

Uralic phonetic alphabet or UPA – unusual diacritics

I am writing a linguistics MA thesis in LaTeX, and I will possibly need to use the Uralic Phonetic Alphabet, for example in glossing environments. What would be the best way to do this? I've seen ...
4
votes
5answers
854 views

On syllabic trees

I have to typeset some syllabic trees. They look like this: I’m currently using the qtree package to typeset them, but I can’t figure out how to put all the last letters on the same level — like ...
4
votes
2answers
185 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 ...
4
votes
2answers
574 views

IPA characters in plain TeX

Is there a way to type IPA characters in TeX? There is the tipa package for LaTeX, but what about plain TeX? I don't have any experience with installing fonts in TeX and can't find any good resource ...