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

2
votes
1answer
39 views

left-edge vertical alignment in gb4e

I use gb4e for formatting linguistic examples. I came to an example in which I want to show that one translation is correct and another reading is not allowed. I'd like to indicate that the second ...
3
votes
1answer
29 views

gb4e: phantom, spacing

In order to provide my interlinear examples with a preamble line providing context, I use \pream and \pglt from gb4e: remove extra space below preamble/header lines. This works perfectly fine, unless ...
3
votes
1answer
32 views

breaking line in gb4e [duplicate]

I use gb4e for my linguistic examples. When the example is long, gb4e breaks it into two lines (of the first and second, glossing, lines). However, I sometimes want to break it at a certain point. How ...
6
votes
2answers
333 views

Adding complex phonetic symbols to LaTeX

I am trying to add symbols from the International Phonetic Alphabet to my thesis. For some of the characters, I have no idea how to add them to TeX. The retroflex is giving me troubles. ...
1
vote
0answers
40 views

Using color in expex gives “Missing \cr” error

Update: The expex developer, John Frampton, has added color functionality to a pre-release version. Those interested in beta-testing should email him for the code. Original Question: Trying to print ...
3
votes
1answer
26 views

Linguex in sciposter

I am trying to create a linguistic poster with sciposter but the glossed examples appear in wrong fontsize. Here is a MWE: \documentclass[a0,28pt]{sciposter} \usepackage{linguex} \begin{document} ...
2
votes
1answer
29 views

Hanging indent in expex preamble

expex has a great way of displaying long glossed lines with a hanging indent by defining \glhangindent globall via lingset. I would like to achieve this also for preamble (\glpreamble) and free ...
3
votes
2answers
56 views

Writing English phonetic symbols when using a different language package

I'm writing a document in Spanish language, and I'd like to introduce English phonetics for some words. Is it possible to do so? I've tried this: \documentclass{article} \usepackage[T1]{fontenc} ...
10
votes
2answers
244 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 ...
8
votes
1answer
170 views

Interlinear glosses with overlaps, line numbers, and speaker labels

I am trying to come up with a way to represent linguistic examples of naturally occurring dialog. I have not used LaTeX for linguistic glossing yet so I could need some help what package(s) would be ...
1
vote
1answer
30 views

Define small caps globally in expex

A hopefully easy question for expex. Is there a way to globally define a particular line to always print in small caps, similar to how everyglb=\bf prints everything on \glb as bold face? I couldn't ...
8
votes
1answer
769 views

Typesetting phonetic symbols: Unicode or tipa?

On TeX.SX there are a lot of questions of the form "How do I typeset [some phonetic symbol]?" For example: Typesetting modifier letter U+02ED The near-close, near-front unrounded vowel symbol The ...
4
votes
1answer
210 views

Margins and positioning with tikz-dependency

I am using gb4e and tikz-dependency simultaneously to demonstrate dependency examples with my glossed sentences. But if my example sentence is too long, it doesn't get split across lines and just goes ...
3
votes
1answer
81 views

Help with Interlinear RTL Text (Persian/Farsi and English)

I'm trying to create an interlinear text that interleaves Farsi (Persian) and English but am having a couple of problems: 1) The interlinear portion of it seems to work but the actual Persian text ...
6
votes
1answer
59 views

Aligning AVMs in forest trees

I use forest to typeset trees. This works really great, but somehow AVMs are treated differently from normal text. I guess it has to do with the baseline of a tabular environment in the AVM. I tried ...
3
votes
1answer
64 views

Aligning math brackets in AVMs

I want to typeset AVMs. A colleague wrote the following code and it works quite well. However there is a little problem with the brackets. Some of them are not aligned properly. For example the second ...
2
votes
1answer
35 views

Using linguex, how can I change the spacing between subexamples?

Consider the following example: \documentclass[a4paper, 11pt]{article} \usepackage{linguex} \begin{document} \ex. \ag. Dette er ein test paa nynorsk.\\ This is a test in Nynorsk\\ ...
6
votes
2answers
53 views

nice empty nodes broken by forest 2.0?

I've been using the "nice empty nodes" style from the forest manual for trees for quite a while now. Today I updated the package, and now it throws an error (though the output still seems to work). ...
3
votes
1answer
60 views

Right-to-left interlinear translation, multiple words for one translation

I'm using ExPex for an interlinear translation in Hebrew. I'm having issues when translating one Hebrew word with multiple English words: the English words are right-to-left, while they should be ...
3
votes
2answers
65 views

How to change the label and deitalicize expex example?

I have the following code: \documentclass[11pt]{article} \usepackage{CJKutf8} \usepackage[T1]{fontenc} \newenvironment{korean}{% \CJKfamily{mj}}{} \usepackage{expex} \begin{document} ...
4
votes
2answers
650 views

IPA characters in plain TeX

Is there a way to type IPA characters in TeX? There is the tipa package for LaTeX, but what about plain TeX? I don't have any experience with installing fonts in TeX and can't find any good resource ...
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
43 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
35 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
66 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
87 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
47 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
30 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 ...
4
votes
1answer
75 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
50 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\\ ...
4
votes
2answers
70 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
275 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
286 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
167 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
63 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
69 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
229 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
60 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' ...
2
votes
1answer
95 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 ...
11
votes
3answers
535 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
210 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
527 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
150 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
54 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
131 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
55 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
112 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
81 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} ...