Questions tagged [linguistics]

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

3
votes
2answers
23 views

customizing gb4e subexamples (not about cross-reference)

I'm using the gb4e for labeling examples in a semantic paper. The examples come with a specific context, and I want to mention that under this specific context, there are at least 2 felicitous answers....
0
votes
1answer
21 views

tikz-qtree and linguex

I am using tikz-qtree and I don't seem to able to use it properly with linguex. % !TEX TS-program = xelatex \documentclass[11pt,a4paper,twoside,openright]{book} \usepackage{linguex} \usepackage{...
3
votes
1answer
26 views

Tree diagram has lopsided branch

I'm attempting to draw a tree diagram using the forest package that shows the morphological derivation of a word. However, when I align the terminal nodes, the highest branch looks lopsided. This is ...
0
votes
1answer
28 views

Problem with spacing in syntactic trees using tikz [duplicate]

I am trying to get a tree like this using the tikz package and the syntax for this, according to a manual, is \begin{tikzpicture}[mytree] \node (top) {DP} child {node {D\\the}} child {node {NP} ...
2
votes
1answer
26 views

How to draw a fitting circle around nodes in tikz-qtree?

I'm trying to draw a circle around the final node: Here is what I've tried: \usepackage{qtree} \usepackage{tikz} \usepackage{tikz-qtree} \usepackage{tikz-qtree-compat} \usepackage{xytree} \...
3
votes
1answer
16 views

avm.sty not properly formatting in beamer

I'm putting together a presentation that includes HPSG attribute-value matrices. The matrices that work well in plain document LaTeX however are not rendering correctly in Beamer. When the file is ...
1
vote
1answer
53 views

Linguistic Formula [duplicate]

I am trying to type linguistic formulas in LateX. An example would be smilar to this: https://upload.wikimedia.org/wikipedia/en/8/8e/AmerEngFlappingRule_annotated.PNG
3
votes
1answer
65 views

Reversing the direction of the arrow in gb4e

Any suggestions on how to reverse the direction of the arrow such that it starts from the word je pointing to the word very in the example below? \documentclass{article} \usepackage{gb4e} \primebars ...
3
votes
1answer
36 views

Referring to selected linguex examples without parentheses

How to refer to selected linguex example numbers without parentheses? The editors want me not to use parentheses around example numbers that are placed within parentheses in the text. Like in the ...
0
votes
0answers
22 views

alignment between an example in gb4e and the bracketed gloss

I need to have the words on the first line not so wide apart as in ex. 1 (ovaj and zadatak) and ex. 3 (je and vazan). Also, if possible, I'd like to have the bracketed second line more aligned with ...
2
votes
1answer
35 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
50 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
26 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
88 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
68 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 ...
5
votes
1answer
316 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
344 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
44 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
126 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
91 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
103 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
70 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
125 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
53 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
128 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
87 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
112 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
58 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
46 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
89 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
107 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
53 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
28 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
45 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
87 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
958 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
91 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
27 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
107 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
38 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
102 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
256 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
73 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
98 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
94 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
49 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
102 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
72 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
197 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
50 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 ...