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

15
votes
1answer
2k 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 ...
1
vote
1answer
27 views

Modify labels in linguex

I'm using the linguex package for writing examples. Now, I'd like to modify the labels in some cases to yield a', a'' for example. So, a MWE would be: \documentclass{article} \usepackage{linguex} ...
3
votes
1answer
29 views

Is it possible to insert a non-aligned line in gb4e?

I'm using gb4e for my linguistics examples. Is there any way to have one line that is not vertically aligned before the \gll or \glll line? I'd like to write a line of phonetic transcription (i.e. ...
2
votes
2answers
42 views

How to restart ExPex numbering from a specific point in the document?

I'm currently working on my linguistics thesis, and I would like to add several example texts into the appendix. So I would like the ExPex numbering to restart from the beginning of every different ...
2
votes
1answer
68 views

How to use the real letters in a pdf?

Firstly, I write a grammar about a language. Secondly, I use \usepackage{tipa} to represent letters LaTeX (TeXmaker) can't represent by itself. If for example I want a ɢ or χ, I use \;G and X ...
1
vote
1answer
37 views

How can I use resizebox within a custom environment (or is there a better way to scale an environment's contents)?

I'd like to create a custom environment that automatically expands my syntactic trees to a specific width. I am using the xparse LaTeX3 syntax for my environments. Relevant Snippet: I would like to ...
1
vote
0answers
26 views

'Missing }' with phonrule package

My first time messing around with the phonrule package, but I kept getting the same error in my larger, more complicated document to I recreated the diagram in this super-simple document - compiled ...
2
votes
1answer
55 views

Multiline/language linguistic glosses

I'm trying to typeset a linguistic gloss with at least two languages in it, although I'd like to add more. Unfortunately, it seems that the gb4e package doesn't support more gloss lines. I've ...
3
votes
1answer
33 views

widen space between words in gb4e

I use the gb4e package for writing linguistics examples. A MWE is something like the following: \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex \gll aaaaa bbbbbb cccc\\ ...
3
votes
2answers
51 views

How can I use Bengali script in an English document?

I am a Linguist and I need to use Bengali script inside an English article which is predominantly English. I have found many answers but they only seem to be useful when the whole document is in ...
9
votes
1answer
271 views

Formatting footnotes as a table (not footnotes for tables!)

Is there some way a person could format footnotes as a table? What I'm trying to do is put translations and transliterations from English to Japanese in footnotes on my pages in the form WORD ...
3
votes
2answers
261 views

How to typeset superscript IPA characters

I'm using TIPA and I'm trying to do something like this: \textipa{/bI"wIl.d@r.IN/} Which works, but I want the @ character to be an upper index. How do I do this? I've tried this ...
6
votes
2answers
147 views

How to use IPA symbols in pst-asr package?

\documentclass{article} \usepackage{pstricks,pst-xkey,pst-asr,graphicx}\psset{everyasr=\tiershortcuts} \begin{document} \asr pem \endasr \end{document} Hi, there How can I use IPA symbols ...
2
votes
1answer
44 views

gb4e roman enumeration format

I'm using gb4e package to enumerate examples in a paper, but in the footnotes I need no enumerate with roman numbers in small letters (i.a), (ii.b), etc. not in small capitals (I.a), (II.a), etc. I ...
1
vote
1answer
63 views

gb4e tabbing problem

I am using gb4e to align examples. But when elements within [] are complex, sentences cannot be aligned. For example, in the picture attached, two 'which' are not aligned. How can I align sentences ...
7
votes
2answers
207 views

Documentclass `book': How to prevent numbered examples to start over each chapter

So, I am writing my thesis (in linguistics) using the book documentclass to do this. For my numbered examples I am using the linguex package. \documentclass[12pt, a4paper, oneside]{book} ...
3
votes
1answer
49 views

Making the output in forest a bracketed labels instead of tree

I have made a simple tree in the forest package, using the string of code below. \documentclass{article} \usepackage{gb4e} \noautomath \usepackage{forest} \begin{exe} \ex \begin{forest} [DP [D' ...
1
vote
1answer
65 views

How to get single line spacing in ALL examples (anything within \ex. or \exg.) in a document using Linguex (to the exclusion of the main text)?

Is there a way of defining single spacing for the examples written using Linguex (I do not use other packages for examples) throughout the whole document, without having to use \singlespace over 100 ...
10
votes
2answers
212 views

Issues with leipzig and glossaries used together

I am preparing a document containing some interlinear glossing, the glossing conventions themselves appearing as a separate list. I use the leipzig package to typeset the glosses, the expex package to ...
11
votes
3answers
460 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
4answers
196 views

Create dependency graphs between characters

I was asked in thread 139691 to open a new question - so here we go: I need to create dependency graphs between characters in LaTex. As the output shall be processed via "pdflatex" later on, I opted ...
10
votes
6answers
504 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 ...
3
votes
2answers
109 views

Changing the number of a sentence in a linguistics example

I'm using the gb4e package for examples in syntax. As an example: \begin{exe} \ex It is scary PRO to be near dogs. \end{exe} It shows up as sentence 1 in the PDF automatically. How do I make it, ...
6
votes
2answers
49 views

Using pst-asr with linguex

I'm figuring out how to do metrical phonology using the pst-asr package, and using this code: \documentclass{article} \usepackage{fontspec} \setmainfont{Charis SIL} ...
0
votes
0answers
36 views

Typesetting Metrical Phonology [duplicate]

I am trying to achieve graphics similar to that in this image: Currently, I'm using pst-asr, which seems like a good tool for the job, however, after scouring the documentation, I'm still not sure ...
4
votes
2answers
115 views

Arcs in linguistic functional structure (LFG)

this is my first question here (so I apologize hereby for any formatting/formulating error). My textbook in Lexical-Functional Grammar (P.R. Kroeger's "Analyzing Syntax") does f-structures in quite ...
4
votes
1answer
52 views

Trees with tangent curved arrows

The arrow controlled by \draw[semithick, dashed, ->] (pe)..controls +(south west: 50) and +(south: 50) .. (re); dissects the tree. I want it to curve round the bottom-most node of the tree. I ...
4
votes
1answer
94 views

How can I tweak linguex so that the first line of a glossed example is in italics?

I have used the linguex package for an article; now it turns out that in the glossed examples the original text (the first line) should be in italics. Can someone tell me how/where I can tweak the ...
3
votes
1answer
73 views

Vertical top align gloss with \gll from gb4e in tabular

I looked through the questions but couldn't find someone with the same problem. \documentclass[12pt,a5paper]{book} \usepackage{gb4e} \usepackage{tabularx} \begin{document} ...
7
votes
1answer
1k views

gb4e + biblatex error “patching footnotes failed”

I'm having a problem while using gb4e and biblatex in the same file. It does compile, but I get an "patching footnotes failed" warning. Minimal example: \documentclass[11pt,a4paper]{article} ...
3
votes
1answer
88 views

Centering trees

How can I centre a tree, moving it to the middle of the page, whilst keeping \ex. in its normal position? \documentclass[12pt,a4paper]{article} \usepackage{tikz-qtree} ...
5
votes
1answer
80 views

Linguex bad spacing between number and examples with certain values above 99 when using old style numbers

When using linguex example numbering packing, if I use \defaultfontfeatures{Numbers=OldStyle} with xetex or luatex, then with certain example numbers exceeding 99, there is no spacing between the ...
3
votes
1answer
68 views

“Pixelated” charts when using the vowel package

I'm using the vowel package and the charts look "pixelated", like this: The charts here look perfectly fine to me, but when I generate the manual by copying the source code from here, I get the same ...
2
votes
2answers
111 views

Example numbers in right-to-left environment with ExPex

I was delighted to see that expex does interlinear text in right-to-left languages nearly perfectly. One issue, however, is that the example number is placed in the right margin instead of aligned to ...
8
votes
2answers
298 views

Extending a tree

I am trying to extend the following tree, so that it is as in the picture: \documentclass[12pt,a4paper]{article} \usepackage{tikz-qtree} \usepackage{tikz-qtree-compat} ...
7
votes
1answer
149 views

gb4e: remove extra space below preamble/header lines

I'm writing my PhD thesis on linguistics using gb4e. In a number of cases I want to add a preamble line to an interlinear example and in some other cases I need a tabbing environment embedded within ...
3
votes
1answer
59 views

What is the default anchoring style in Forest?

Drawing linguistic phrase structure trees most of the time, I use the sn edges from the forest manual as a global default, with parent anchor=south, child anchor=north. This outputs the following sort ...
4
votes
2answers
58 views

Problem with gb4e and macro for tabular with curly brackets

When using the macro \CurlyBrackets at the beginning of a gb4e example, the example is not typeset as expected. Is there a better way to do this to get the desired output? MWE ...
7
votes
1answer
125 views

Targeting proper parts of nodes in `forest`

I am using forest to construct trees. I have one (minor but persistent) issue: sometimes I would like to place a node at a point that is a proper part of (e.g.) a leaf, in particular so that I can ...
3
votes
1answer
175 views

! Paragraph ended before \@optionaltemp was complete

I'm desperate, can't figure out what's going on... So here's my code for a gloosed example: \a \begingl \gla nie ale jeśli ją \underline{pan} \underline{zobaczy} \underline{będzie} \underline{pan} ...
3
votes
2answers
271 views

How to make a nasalized schwa [ə͂] in textipa?

I could not find anything online. I tried \~\textipa{@} but that produced only a tilde before a schwa. Any help on resolving this probably simple issue would be appreciated!
4
votes
3answers
106 views

Linguistics: what are the best packages to use create bracketed structures with movement lines?

I've been working with gb4e to manage numbered examples for a long time, but I was wondering it was possible to incorporate movement lines, or if I should use some other package. More concretely, I ...
5
votes
3answers
704 views

Making mixed trees with and without text-containing nodes

I’m using TikZ to draw linguistic syntax trees where some nodes have textual labels and some nodes don’t. I’d like the branch from a labelless node to continue at the same angle into the right hand ...
4
votes
1answer
157 views

Trees and fitting trees underneath them

Questions How can I fit a tree in the blank space under where I have marked Tree 2 in the photo (directly underneath Tree 1, but to the right of \Rightarrow)? How can I caption Tree 1 and Tree 2 ...
8
votes
3answers
686 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 ...
15
votes
2answers
4k 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 ...
0
votes
0answers
54 views

Cross-referencing custom labeled examples

I'm having trouble with linguex cross-referencing examples with an optional argument as in: \documentclass{article} \usepackage{linguex} \title{Title} \begin{document} \maketitle ...
2
votes
2answers
109 views

Aligning ExPex interlinear glosses in multicol environment

Consider this MWE: \documentclass{scrartcl} \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} \usepackage[english]{babel} \usepackage{multicol} \usepackage{expex} \begin{document} ...
6
votes
2answers
143 views

Extra spacing before and after gb4e examples

I am using the gb4e package. When I have a list of examples, there is a large skip after the prose and before the first enumerated item. I do not want that skip there; instead, I want there to be ...
6
votes
3answers
105 views

How to typeset linguistic AVS

How can I typeset attribute value structures (AVS) and rules like the ones seen here?