Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linguistics]

The {linguistics} tag can be used for questions about packages designed primarily for linguists or about typesetting of linguistics-specific material.

2
votes
1answer
25 views

covington gloss in multicolumn in a Beamer slide … randomly inserted line

My wife is trying to create a presentation for her PhD linguistics class and the minimal example I have here is: \documentclass[american,table]{beamer} \usepackage{multicol} \usepackage{covington} \...
5
votes
1answer
36 views

Contour tone diacritics with tipa?

LaTeX allows for three level tones and two contours to be notated using the above-vowel diacritics: \'{} for the H tone (á), \`{} for L (à), \={} for M (ā), \v{} for LH (ǎ), and \^{} for HL (â). The ...
2
votes
1answer
21 views

Macro for expanding macro arguments to gb4e's \gll

This is a followup question to Problem with gb4e's spacing when using datatool, where I was trying to loop over glosses stored in a CSV with datatool and print them with gb4e's \gll. The issue was ...
2
votes
2answers
76 views

lmodern + tipa cause first instance of diacritic to break

When I load both lmodern and tipa, the first instance of an IPA symbol with a diacritic breaks. For example, this code \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{lmodern} \...
2
votes
1answer
64 views

Avoiding jumping nodes in a tree with forest and beamer

There is something in the manual about avoiding jumps and it is explained here Avoiding jumping frames in beamer as well. But I have maybe a different situation in trees. Is there a way to avoid the ...
6
votes
1answer
308 views

Create linguistic diagram (in TikZ?)

I want to create a dependency diagram such as the following: So far, I have done this using TikZ: \documentclass{article} \usepackage{tikz} \usepackage{calc} \begin{document} \def\mytext{The man} \...
4
votes
3answers
327 views

Draw triangle with text in vertices/edges

I'm trying to reproduce the following: I tried to use tikzpicture and made something "by hand" (even knowing that that wasn't the better way), but I was not able to find a way to have the exactly ...
0
votes
1answer
39 views

Linguistic formulae including feature matrices

I need to include linguistic formulae in my documents. The formulae look like this: <[X C ]i ↔ [N, sg]i ↔ [SG[SEM]]i > ≈ <[X C əz]j ↔ [N, pl]j ↔ [PL[SEM]j> The i's and j's should be ...
3
votes
1answer
125 views

colortbl changes array behaviour

David Reiter passed the following code to me for generating CCG proofs. This works well provided one does not load colortbl. Without colortbl I get: and with colortbl I get: Is there a way to fix ...
3
votes
1answer
81 views

trees with straight spines, and not too much vertical space?

I want to be able to typeset syntactic trees in a way that will achieve the following: straight spine when there is no label on the nonterminal node obtuse angle at each (binary) branch (so the tree ...
1
vote
1answer
86 views

!\qsetw command compulsory in complex LF trees?

I've been working with a Latex tutorial by a semanticist and I have been really struggling with the code for this LF representation (using qtree). I studied the example code for a complex tree super ...
1
vote
1answer
60 views

Can't use bold IPA symbols {lmodern}

This thread solves the problem I have, although I can't quite get it to work with lmodern fonts. \documentclass[titlepage, oneside]{book} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[...
0
votes
2answers
108 views

Roman numeration in an xlist environment

How do I set an xlist environment inside an exe environment to use lowercase roman numeration? It always defaults to lowercase letters.
6
votes
1answer
52 views

How to modify single (ranges of) characters within a custom environment?

I am a historical linguist working with Hittite and Luwian texts, which have been transmitted to us in the cuneiform script. When citing words from these languages in articles etc., we usually do not ...
5
votes
1answer
119 views

TikZ Qtree subcaptions

I'm using the TikZ Qtree package for making syntactic tree diagrams. Am wondering how to add subcaptions for individual node labels, such as shown in attached photo, as well as formating them (...
1
vote
1answer
79 views

Creating a diagram of sentences connected by labeled arrows

I am trying to create a diagram of sentences, with labeled arrows connecting sentences to each other, as well as individual words (see attached drawing). The idea of the diagram is presenting two ...
3
votes
1answer
108 views

TikZ: path-style syntax upside-down tree for adpositional grammars

I would like to reproduce in TikZ the following adpositional path-like adpositional tree, that I am able to draw in full only by hand. See here: First MWE: my minimal working example (MWE) using tikz-...
3
votes
0answers
57 views

How to input tone melodies indicated by a line above the sentence? [duplicate]

In linguistics, sentence-level tone is often indicated by a line above the sentence whose path traces the level of the tone at each point in the sentence. An example: How would I make one of these ...
1
vote
1answer
40 views

gb4e: Pull out only subexample label

Is there a way to pull out just the subexample number for a reference when using gb4e? Sometimes I'd like to do something like "In the (a) example(s)...," without having the number. It feels like this ...
2
votes
0answers
82 views

How to get limited multidominance in a forest tree

I would like to have forest trees that allow a very limited kind of multidominance, as shown in the picture below: The basic idea is that the terminal node a is centred between and dominated by both ...
6
votes
1answer
93 views

Getting straight lines with empty nodes in forest

I have the following trees and I want the lines parallel to the red lines to be straight lines. Right now they are two separate lines but it should be one straight line. Is this possible? \...
1
vote
2answers
47 views

Not able to use images if I call gb4e.sty

My tags are follows: \documentclass{book} \usepackage{gb4e,qtree,skull} \usepackage{graphicx} \begin{document} \begin{figure} \includegraphics[width=\textwidth]{../74934_Art/Hackl.jpg} \caption{...
1
vote
0answers
24 views

flushleft by using gb4e.sty [duplicate]

My tags are follows: \documentclass{book} \usepackage{showframe} \usepackage{gb4e,qtree,skull} \begin{document} \begin{exe} \ex\emph{Superiority-obeying and Superiority-violating multiple \emph{...
0
votes
1answer
40 views

POMA Template: Tex capacity exceeded with line in math mode

I am required to use the POMA template for my paper, originally written in the ACL2017 template(links below). This has lead to some serious breakdowns wrt the bibliography and math mode, that I have ...
4
votes
1answer
78 views

tufte-book and gb4e and footnotes / sidenotes

When using the tufte-book class (and other tufte classes, I imagine), footnotes / sidenotes seem to break the instant you load the gb4e package. This compiles correctly, and displays a sidenote as ...
8
votes
1answer
735 views

How to draw language family tree in LaTeX

I have been attempting to draw this language family tree into LaTeX: I have tried using the tikz package as well as the forest package, but to no avail. I do not need the colours in the tree, nor do ...
1
vote
1answer
80 views

How to fix spacing with multi-line cgloss4e examples?

(Note: This is a follow-up to this question) I am using cgloss4e to write down some language examples. Some of these examples do not fit within a single line, therefore I am trying to distribute ...
1
vote
1answer
26 views

Expex - defining \NNNext

In expex we can define commands such as \NNext and \LLLast in the header: \newcommand{\NNext}[1][]{(\anextx{#1})\xspace} \newcommand{\LLLast}[1][]{(\bblastx{#1})\xspace} The former refers to the ...
4
votes
1answer
93 views

Drawing syllable diagrammes in LaTeX

I'd like to know how to best draw syllable structure diagrammes like the following image in LaTex. I have tried using tikz-qtree, but found that it doesn't support multiple roots, and I have tried to ...
2
votes
1answer
36 views

MITWPL style template - Bibliography issue

Similar question was already asked at Problem with bibliography with the MITWPL style template but it appears the mitwpl.cls file at http://mitwpl.mit.edu/publish/#template has been updated and the ...
2
votes
2answers
97 views

Put comments (footnotes) on facing page, it is possible?

My question is more not about a specific problem, but rather, about a possibility of design. Briefly, I want to put the footnotes (the comments) of one text in facing pages, like this -------------...
3
votes
1answer
238 views

How can I use IPA (International Phonetic Alphabet) symbols in ConTeXt

I want to use IPA (International Phonetic Alphabet) symbols in ConTeXt but don't know how to do it. Please tell me how to do it, if there is a way.
3
votes
1answer
69 views

How to combine cgloss4e, colouring and pinyin?

This is a follow-up to this question. In this new question, I would like to be able to combine the colour-altering commands provided in the previous question with the automatic pinyin encoding of the ...
3
votes
2answers
91 views

How to colour text inside aligned gb4e gloss examples?

I am using the package gb4e to gloss a number of linguistic examples. Its main feature, is that it aligns the words in the original language with glosses. I would like to be able to change the font/...
7
votes
2answers
89 views

Forest Package (trees) - Direction of the branch

I'm trying to do some branches at the east of the node 'Raiz' (as is demonstrated in the image). I've tried use grow=east, but it didn't work. Thanks!! Here is what I used: \documentclass[article] \...
0
votes
0answers
42 views

Drawing bare phrase structure trees with the forest package

I need to emulate these two trees and I've been trying different things but I can't get them exactly right. Every time I try the nice empty nodes option the tree ends up too elongated vertically, but ...
2
votes
2answers
90 views

How to frame text of different lines

I'm trying to reproduce this: I was able to reproduce everything but the frame below "John sleeps": I first tried using gb4e, but I didn't find a solution. Now, my examples are written by hand, ...
2
votes
1answer
65 views

Aligning gb4e examples with tikz-qtree

I would like to fit multiple tree structures onto one and the same page (preferably next to each other), while also numbering them with gb4e so I can refer to them later on. Although this seems to ...
2
votes
1answer
161 views

Adjust margins and interline spaces in gb4e

I'm trying to condense the space around examples in gb4e, with the goal of removing unnecessary whitespace around examples in an abstract. Here's what gb4e gives me now: What I'd like is for the ...
2
votes
0answers
47 views

Continuous numbering of examples with gb4e in both main text and footnotes

I would like to continue the numbering of the examples with gb4e from my main text in my footnotes. I guess that this has something to do with resetting the counter for \ex in footnotes, but I do not ...
4
votes
1answer
74 views

linguex - modifying labels with a bar/prime notation

I am working with the linguex package for linguist examples/data. Now I would to have a number of sentences – each being their own example – and underneath I would like to have e.g. syntactic ...
3
votes
1answer
94 views

How do I put text on multiple lines in a forest tree within a gb4e example?

I'm using gb4e and forest to present (linguistic) trees in a nice format. It's been working well except that I some of the text underneath the nodes presented on multiple lines. In the forest package ...
3
votes
1answer
42 views

Centralize macros using \shortex from lingmacros (or using a different package)

I'm trying to centralize the macro that I write using the \shortex from \usepackage{lingmacros}, to get a result similar to this: Unfortunatly, my result is quite different: This is my code: \begin{...
1
vote
1answer
81 views

leipzig.sty: How to change the name of glossary [closed]

I wish to change the name of the abbreviations list, which defaults to Abbreviations. The package documentaion tolds that redefining \leipzigname would work, but it did not work. Here is the code: ¥...
1
vote
0answers
130 views

Complex dependency graph

\documentclass{article} \usepackage{libertine} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \begin{document} Word1 word2 word3. \end{document} Is the following dependency graph (from this ...
1
vote
1answer
29 views

shifting/aligning nodes with pst-tree

The following code produces nice trees with pst-trees. I have to gloss the leaves of the tree, so I put tabular environments in there and added the glosses. The problem is that the code does not align ...
1
vote
1answer
58 views

aligning glosses on the baseline

I got code for glossing leaves in linguistic trees. Unfortunately the glossings seem to be not aligned to a common baseline. This is hardly visible when the glosses are in Latin but with Chinese ...
1
vote
1answer
148 views

Chinese fonts without xelatex

To work around a bug in xelatex I have to compile a tree in pdflatex. This works nicely with English words but I need Chinese words for the Chinese version. But whatever I tried was giving error ...
2
votes
1answer
123 views

boxed text and underline within the gb4e environment

I would like to ask about boxed text and underline within the gb4e environment. I would like to box the text to indicate that this word is important. At the same time, I would like to draw an ...
2
votes
1answer
21 views

Alignment changed using linguex.sty and TeX4ht

My codes are follows: \documentclass{book} \usepackage{linguex}% \begin{document} Davidsonian events, and makes explicit how the latter relate to situations more generally. As she puts it: \ex. \...