Questions tagged [linguistics]

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

Filter by
Sorted by
Tagged with
3
votes
3answers
260 views

Italic lowercase letter “a”

As you know there are two forms of lowercase letter A: 'a' and 'ɑ'. I am writing a linguistics article and use IPA where the two characters denote different things. There are cases where I want to ...
1
vote
1answer
35 views

Import csv file: How can I merge information from different lines?

I am trying to compile a bilingual dictionary from a spreadsheet file that was exported as csv. The file contains columns with the kinds of information that one would expect from a dictionary: lexeme, ...
1
vote
0answers
22 views

Parallel examples with glosses on same line [duplicate]

I'm writing a linguistics paper and I need to use the example environment a lot. I have noticed in some papers that examples are presented in parallel, that is with 2 different examples starting on ...
0
votes
0answers
36 views

Attaching text box to tikzpicture (syntax tree)

I'm looking to attach some text to a specific node in this syntax tree with an arrow. Currently, I can't get the text to span over multiple lines, so it just cuts off once it reaches the right margin. ...
0
votes
1answer
31 views

Trying to add labels/descriptions to syntax trees in qtree

I'm trying to add descriptions to certain nodes in a Syntax tree. I'm using qtree, but I can't seem to find a way to do this. I'm also trying to box some, but not all of the nodes in the tree. Here's ...
0
votes
0answers
44 views

How do I draw CCG derivations in Latex on Overleaf?

I have been trying to find an easy way to draw CCG derivations in Latex but nothing seems to work. I am working on a presentation, and I found this github repo but it for some reason when I try it it ...
3
votes
1answer
38 views

Adjust roof height and width in tikz-qtree

I would like to adjust the height and width of certain roofs in my syntax trees. I'm particularly interested in getting a roof with a long phrase/sentence to look better. In the image below, the "um ...
2
votes
1answer
146 views

pst-asr produces all nodes on top of each other in xelatex

I was trying to recompile an old handout that used to work, but ran into the following issue, which is shown in the minimal example below (taken from the pst-asr documentation examples): \...
1
vote
1answer
40 views

How can I define font size and style for ExPex text?

disclaimer: I am very new for LaTeX, so please do not redirect me to documentation, I read carefully several times ExPex PDF guide (http://mirrors.ibiblio.org/CTAN/macros/generic/expex/expex-doc.pdf) ...
1
vote
0answers
36 views

Producing curved lines connecting AVMs [closed]

I'd like to have curved lines connecting AVMs and I currently have the following: \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{avm} \usepackage{tree-dvips} \begin{document} \...
2
votes
1answer
19 views

linguex in uclathes [duplicate]

\exi. environment sends `undefined sequence' error. How can I fix it? Here is the code of the main tex file. \documentclass [PhD] {uclathes} \usepackage[normalem]{ulem} \usepackage{linguex} \begin ...
5
votes
1answer
61 views

tikz-qtree and tufte-book

I want to use tikz-qtree to add trees to a book formatted with tufte-book. For the most part, they work. However, one example does not. Consider the following minimal example: \documentclass{tufte-...
3
votes
1answer
53 views

Drawing a frame around a part of a syntactic tree using the `xytree` package

I am trying to make a box around a part of a syntactic tree, using the xytree package. I am aware that we can do it, using the qtree package which has the \qframesubtree command. But, I would like to ...
4
votes
1answer
77 views

environment without line breaks

I already read How can I prevent breaks in a custom environment? but this somehow does not solve my problem. I want to define an environment that defines a heading and then there is one line of text ...
1
vote
1answer
13 views

gb4e & pst-jtree: Invalid item error when using “^” inside a jtree in a gb4e example enclosed by braces

Pst-jtree throws an invalid item error when you attempt to draw a tree that uses the carat inside a gb4e example enclosed in braces. If you do the example without enclosing it in braces or without ...
3
votes
2answers
88 views

How to make one word render under another

I have text of word pairs and I want them to render by pair, one under another, like shown on the figure below: [UPDATE] In the source words arrive in pairs: word1 + word2, word3 + word4, so I need ...
2
votes
1answer
32 views

Using tikz q-tree with an embedded macro

I am trying to create a macro which will create a tree which represents a given phrase. I've seen the explanations for \expandafter and have used it here, but when I embed this macro "\phrase" command ...
0
votes
1answer
30 views

Print example with same number as previous example, but new sub-number in linguex

How do I get the following output using linguex: (2) a. James sang to himself b. James didn't sing to himself. "Lorem ipsum dolor sit amet, consectetur adipiscing elit. (2) c. James would not ...
3
votes
1answer
48 views

installing linguex into a main tex thesis file

The latex file has problems installing/using the linguex package in a ucla thesis latex template (uclathes) (downloaded from GitHub). I inserted it in a preamble of the mother tex file, but it keeps ...
0
votes
0answers
44 views

Footnotes not working with linguex and leipzig package

The question says it all. I am using package leipzig for glossing and linguex for examples. This is the code. \documentclass[8pt]{article} \usepackage{leipzig} \usepackage{linguex} \begin{document} \...
1
vote
1answer
80 views

gb4e formatting for linguistic examples

I am writing my PhD in Linguistics and I have a lot of examples extracted from the data. I'm using gb4e for numbered examples and glossing. A standard example looks like this: \documentclass{article} ...
2
votes
1answer
41 views

Create a phantom node which takes up no space with forest 2.1.5

It is basically the same question as Forest: Create phantom node which takes up no space? but the solution offered there does not work with forest 2.1.5. I want the phantom S not to take space. I ...
0
votes
0answers
37 views

Annotated linguistic resource for grammar, syntax and morphology

I stumbled upon this site (link) that have made a full syntax tree (annotated linguistic resource for grammar, syntax and morphology) of an Arabic text: Is their a package/similar approach to ...
3
votes
1answer
47 views

ExPex - Apply same formatting to a morpheme and its gloss

When using the expex package, is there an elegant way to apply the same formatting to both a morpheme and its gloss? Say, for example, that I'd like to bold each prefix in my data and its gloss, like ...
4
votes
3answers
187 views

How to include horizontal arrows in between nodes in TiKz

I’ve been attempting to recreate this language tree, and attempted to do it in TiKz, but I’m open to other solutions. However, I’m not sure how to approach the horizontal arrows which are located in ...
1
vote
1answer
52 views

the second example is indented in linguex

I'm new to LaTeX so excuse my naive question. I use \usepackage{linguex} to generate linguistic examples but when I try to write two or more examples, the second one is indented. How can I make all ...
1
vote
1answer
95 views

Fine tuning of an active character definition

I've developed a catcode with the help of this answer to make some characters of Devanagari script active. I want to redefine characters of Devanagari script as active characters, to result in a ...
0
votes
1answer
50 views

How to build syntactic tree with line crossing from one phrase to another

I need to build a line from VP to PP but the order does not allow me this. I have: \Tree [.S [.VP [\qroof{\textit{dūka dīd-a}}.NP ] [.V \textit{mšūy-ā-} ] ] [.NP [.ProN \textit{-la} ] ] [.VP [.V' ] [....
3
votes
2answers
73 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
47 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
49 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
36 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
131 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
35 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
101 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
88 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 ...
4
votes
1answer
53 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
25 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
46 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
100 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
33 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
104 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
76 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
327 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
517 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
0answers
60 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
133 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
111 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
164 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
155 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[...

1 2 3 4 5 10