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

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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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} ...
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 ...
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
34 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 ...
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} ...
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 ...
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
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
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 ...
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 ...
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 ...
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 ...
2
votes
1answer
94 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 ...
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' ...
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 ...
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, ...
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 ...
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 ...
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} ...
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 ...
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
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
142 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
97 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
72 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 ...
8
votes
2answers
313 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} ...
3
votes
1answer
64 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 ...
7
votes
1answer
200 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 ...
4
votes
2answers
61 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 ...
8
votes
1answer
158 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
2answers
301 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!
3
votes
1answer
250 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} ...
4
votes
1answer
168 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 ...
0
votes
0answers
63 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
127 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} ...