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

1
vote
1answer
29 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
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 ...
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
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
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 ...
3
votes
1answer
35 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
52 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 ...
2
votes
1answer
56 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
45 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 ...
1
vote
1answer
67 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
50 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
199 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
110 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
38 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
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} ...
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 ...
3
votes
2answers
49 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
95 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
90 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
81 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
69 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
299 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
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 ...
7
votes
1answer
153 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
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
127 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
272 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
177 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
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 ...
0
votes
0answers
55 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
110 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
144 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
106 views

How to typeset linguistic AVS

How can I typeset attribute value structures (AVS) and rules like the ones seen here?
6
votes
3answers
258 views

Autosegmental Representation in tikz-qtree

This is what I want to achieve and this: But all I've been able to make with tikz-qtree is the following: \documentclass[12pt,a4]{article} \usepackage[utf8]{inputenc} ...
6
votes
2answers
135 views

Changing the size of empty nodes in forest

I want to set the following picture: The following forestcode almost does it: \documentclass{article} \usepackage{forest} \begin{document} \begin{forest} for tree={fit=band,parent ...
1
vote
1answer
66 views

Is there an easy way to indent all the linguistic examples with expex?

Like this one: I browse through the expex document but couldn't find these infos.
11
votes
2answers
224 views

Two lines in a single node in Forest

I have recently switched from the tikz_qtree package to forest. Now I'm trying to change my trees to fit the forest coding. However, I can't find the way to let a single node contain two lines. I do ...
4
votes
4answers
376 views

Horizontal brace above another brace + node in TikZ

In the following MWE, I've put a brace over the subordinate clause that he knows with a node Subordinate clause above the brace. Now I want to put a brace over the full sentence (the main clause) with ...
2
votes
0answers
64 views

Adding words centered above other words with TikZ v2 [closed]

EDIT: Please vote to close this question as "Unclear what you're asking". My problem and my understanding of it have developed in such a way that this question is now too messy. I have opened the new ...
9
votes
5answers
437 views

Adding words centered above other words with TikZ

I'm writing a sentence, and I'd like to add labels to the elements of the sentence above those elements. In the example below, I'd like the label Verb to be centered above the verb constitutes and the ...
2
votes
1answer
154 views

XeLaTeX - gb4e example numbering in footnotes - Interaction with polyglossia package?

I thought the gb4e package for linguistic example typesetting would provide automatic switching of the numbering scheme between main text examples and examples in footnotes. This is not the behavior I ...
5
votes
0answers
102 views

Brat for NLP in latex

I was wondering if there is any package for text annotation in Latex like Brat. This is the kind of result I would like to obtain in a figure: Is there a way to achieve that by using brat or some ...
8
votes
2answers
417 views

Drawing a frame or box around parts of a syntactic tree using tikz-qtree

I'm trying to make boxes around parts of my tree, but I find no command to do so. I have tried the qtree package, which has the !qframesubtree that can do the job, but only for complete subtrees. What ...
5
votes
3answers
298 views

Fonts, italics and IPA 'a' characters [closed]

I am writing a document with XeLaTeX in which I use IPA characters in italicized text. After trying a few fonts with extensive IPA support like Gentium Plus, Brill or Charis SIL, I encounter the same ...
9
votes
2answers
218 views

Drawing a tikz tree above a tikz-dependency tree with same leaves

I would like to achieve the following goal: I have two different kind of trees that I would like to merge : \documentclass{article} \usepackage{color,graphicx} \usepackage{tikz} ...
5
votes
1answer
143 views

How to patch a command from leipzig.sty

As shown in Issues with leipzig and glossaries used together, there is a problem when using the package leipzig with the glossaries package since the leipzig package relies on deprecated commands from ...
4
votes
1answer
163 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 ...