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
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
2answers
268 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. ...
13
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 ...
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 ...
8
votes
3answers
671 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
5answers
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 ...
10
votes
3answers
230 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 ...
4
votes
2answers
609 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 ...
5
votes
1answer
489 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
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 ...
2
votes
1answer
49 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
303 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
791 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
340 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), ⟨ɲ⟩ ...
9
votes
6answers
327 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 ...
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 ...
7
votes
2answers
180 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, ...
4
votes
1answer
243 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
2answers
666 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
535 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 ...
7
votes
1answer
228 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
94 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
1answer
124 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 ...
6
votes
2answers
521 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 ...
6
votes
2answers
863 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
3answers
130 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 ...
4
votes
1answer
246 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 ...
3
votes
2answers
356 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: ...
2
votes
1answer
348 views

Filtering font substitution warnings caused by the combination of lmodern and tipa

This question is a follow-up to Combining lmodern and tipa: I tried to filter the harmless warnings that occur when using tipa with the Latin Modern font. Doing so crashes both pdflatex and regular ...
13
votes
2answers
797 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 [ ...
8
votes
1answer
793 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 ...
8
votes
1answer
871 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. ...
7
votes
2answers
406 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 ...
5
votes
2answers
454 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 ...
4
votes
1answer
264 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 ...
4
votes
1answer
525 views

\psmatrix baseline

I'm using lingmacros' \enumsentence with a \psmatrix inside. \enumsentence{ \psset{linewidth=.5pt} \begin{psmatrix}[rowsep=.2cm,nodesep=.05cm,colsep=.1cm] &\rnode{gm}{grammatical morphemes}\\ ...
3
votes
1answer
220 views

How can I underline multiple parts of the same word using braces with TikZ?

UPDATE: I opened a related question here. I work in the field of linguistics and I sometimes need to analyze prefixes, affixes, and suffixes in words. It would be nice to be able to add notes to ...
2
votes
1answer
51 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: ...
1
vote
1answer
255 views

Conflict between gb4e and my university style sheet

I am a Linguistics PhD student at U.Florida, writing my dissertation. The LaTeX class from our editorial office conflicts with gb4e (among other packages). Is there a way to override the style sheet ...