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
1 vote
1 answer
21 views

Continuous numbering of examples (langsci-gb4e) over chapters

I tried to use \counterwithout{exe}{chapter} for continuous numbering over chapters of langsci-gb4e examples. But the following error appears. Latex Error: No counter 'exe' defined Working example \...
  • 13
1 vote
0 answers
45 views

Fontenc and tipa

I am layouting my PhD theses in linguistics and I am struggling with the layout of the linguistic examples. Thanks to StackExchange, I could solve the problem of font size (see here). Now, however, I ...
  • 51
4 votes
1 answer
84 views

Font size of linguistic examples (langsci-gb4e)

I need to format my thesis in linguistics as required by the publisher. The font has to be Times New Roman 10,2°, spacing 11,9°. While this works for the main text, I cannot change the font size of ...
  • 51
2 votes
2 answers
35 views

Shifting leaf nodes to the right in forest

In the following tree the edges should hit the leaves above ha, en, and o. But due to the subscripts, the edges hit at the middle of the complete node. I found a "solution" to the problem ...
2 votes
1 answer
27 views

Removing a vertical line in the vowel chart of the vowel package

I am drawing oral and nasal vowel charts of my language using the package vowel. There is a neutralization between mid-open and mid-closed vowel in that there is only ɛ̰ and ɔ̰ for that. But in my ...
1 vote
0 answers
18 views

Error using fontspec/lualatex with italic IPA unicode symbol <ɻ> (retroflex approximant) [duplicate]

Using fontspec with lualatex, and Libertine as the font, I get an obvious misalignment whenever the IPA symbol for a retroflex approximant, <ɻ>, is used in italics, but only if it has other ...
1 vote
1 answer
27 views

How can I remove punctuation/period after lettered subexamples in g4be/xlist

I have to change sub examples in xlist environments (or rather g4be's \ea \ea \ex \ex \ex \z \z ) from being letter plus period, e.g. a. to simple parentheses (a) not followed by a period/full stop. I ...
  • 13
2 votes
1 answer
29 views

Typgloss small capitalization on glossing third line

I use a package called typgloss to automatically put into small capitals linguistic glosses that are in uppercase. The problem is that it works when there is only one line to gloss, but does not work ...
0 votes
0 answers
27 views

How do I create Reed-Kellogg sentence diagrams with compound subjects, compound verbs, or compound objects

Following the excellent answer to Sentence diagramming given some years ago, I would like to create Reed-Kellogg sentence diagrams with compound subjects or objects, such as: "Aunt Amy and Uncle ...
1 vote
1 answer
60 views

Word alignment graphs

I am looking for a way to visualize word alignment between sentence pairs that would look like this: (taken from https://aclanthology.org/W11-4615.pdf) I've already come across this similar question ...
  • 13
2 votes
1 answer
34 views

Morpho-phonological insertion in syntactic tree

I need to draw a tree that partially reproduces one from a paper I'm citing in my dissertation. With the following code I obtain the tree below. However, what I need is to draw the connection between ...
  • 41
2 votes
1 answer
61 views

Alignment of elements within tikzpicture

I am trying to represent the prosodic tones of an utterance but I'm failing to align some elements which should be aligned. Here's the minimal working example of what I'm doing: \documentclass{book} \...
5 votes
1 answer
68 views

Add spacing beneath multi-line covington gloss

I would like there to be some space below the last (populated) line of a covington gloss so that long glosses are easier to read. This code: \documentclass{article} \usepackage{covington} \begin{...
1 vote
1 answer
48 views

How to add some space between subexamples of expex?

I want to add some space between the sub-examples generated with package expex. Here is an MWE: \documentclass{article} \usepackage{lipsum} \usepackage{expex} \lingset{% belowglpreambleskip=-0.5ex,% ...
  • 2,423
1 vote
1 answer
81 views

Adding a line of text in glossed examples

Here's the code I'm working with (you need cgloss.sty to run it): \documentclass[11pt]{article} \usepackage{linguex} \usepackage{cgloss} \begin{document} \ex. \ag. This is a sentence. \\ a b c d\\ \...
0 votes
1 answer
74 views

Drawing an HS tableau

I want to draw a tableau like this picture. OT tableau package is not helpful in this case. Don't care about the phonetics symbols. Just write it with a,b,c and 1,2,3 the columns and rows.
  • 1
5 votes
1 answer
25 views

Using gb4e with amsbook class

I am required to use amsbook for a project, but I find that it messed up the alignment of interlinear glosses with the gb4e package. Here's my code: \documentclass{amsbook} \usepackage{gb4e} \begin{...
0 votes
1 answer
59 views

Should I go for a table layout to create this?

I have this in a printed book and I want to create the same in LaTeX. Should I use two tables, one for the left and one for the right side? should I set hidden borders on the tables except the outer ...
0 votes
0 answers
67 views

Should I use minipages to re-create this document in LaTeX?

I would like to re-create this document in LaTeX and I was wondering how to proceed. Should I create two minipages, one for the left (45%) and the other for the right (45%)? 10% spacing between them, ...
1 vote
1 answer
68 views

Using Philex how can I change the spacing between subexamples?

Please, can someone explain how to patch Philex to customize the spacing between examples, subexamples and subsubexamples, respectively. For example, if I want spacing between subexamples but no ...
6 votes
3 answers
445 views

How can I re-create this table in LaTeX?

I would like to re-create the table below in LaTeX. It's an A4 paper in landscape orientation. The way I did it in LibreOffice Writer was using nested tables that have their borders hidden. In the ...
0 votes
0 answers
52 views

Is there anything that could be additionaly improved in my XeLaTeX document?

Thanks for @wipet for providing me this code https://tex.stackexchange.com/a/634816/263939 \documentclass[12pt,a4paper]{article} \usepackage{fontspec} \usepackage{geometry} \usepackage{enumitem} \...
3 votes
1 answer
155 views

Forest latex how to go to next line in node child

I am just experiencing with forest, and I'd like to have a responsive child, and not to be in one line as shown in the figure below: I'd like to split the text of all child of 1 level. I already ...
4 votes
1 answer
95 views

Using the word "write" as a label makes compilation crash

Took me all night (literally) to figure out. Compilation was failing one time out of two, with the following original error (line 12) : "Bad space factor (0)". That was crazy because ...
2 votes
3 answers
214 views

Refer to a range of subsubexamples

I use Cleveref to refer to subexamples such as "2a–c". Now I want to use crefrange to refer to 1ai–ii as well. \documentclass[a4paper,12pt]{report} \usepackage{philex} \usepackage{cleveref} ...
1 vote
1 answer
75 views

custom \xlist environment for simplistic speaker labels in gb4e

this is my first post to tex stack exchange so I apologise if the post is missing required information. I'm using gb4e to produce linguistic examples for my dissertation, and I'm trying to find the ...
0 votes
0 answers
24 views

Merge entries in leipzig/glossaries

I'm using the leipzig package (itself an interface for glossaries) to handle glossing in my examples. I was curious if there is any way to merge the entries for 1st, 2nd, and 3rd person in the list of ...
  • 987
0 votes
0 answers
47 views

Produce Lexical Functional Grammar Lexical Mapping Theory representations in Latex

I am using Latex for my scientific productions. However, I need a package that would help me to represent Lexical Mapping Theory representation, but I do not know how I can do that. I have attached ...
1 vote
1 answer
268 views

LaTeX symbol for c_0

Given the importance of the speed of light to so many in areas of science, engineering, computing, etc. and so many areas of daily life, particularly for example with the electromagnetic spectrum that ...
3 votes
1 answer
28 views

Turn on double spacing between gb4e lines

I need to set double spacing between the lines of linguistic examples. The command \doublespacing works for the regular paragraphs, but not inside exe environments. Below, I give a MWE. \documentclass{...
0 votes
1 answer
62 views

Numbers appearing below figures when using gb4e

I'm trying to number my figures in Latex, and in linguistics it's conventional for the number to appear above the figure. It's also conventional for all tables, figures and examples to receive the ...
  • 5
1 vote
2 answers
95 views

Problem with Computational Linguistic Template - COLI - CLV3.cls

I am trying to use the Computational Linguistic journal's latex template. In compiling their manual example "COLI-manual3.tex" I get the following: ! Extra \endgroup. \document ->\...
3 votes
2 answers
148 views

Nodeconnect lines don't show up

I just installed miktex/texmaker and run an example from here http://mally.stanford.edu/~sr/computing/latex-example.html .But the lines that connect the tree don't show up like in the example. How do ...
2 votes
1 answer
98 views

Forest Node Alignment with Tikz Rectangle Drawing

I am using MacTeX/TeXLive 2021 and the newest version of TeXStudio. For compiling, I am using Latexmk. In the tree below, I would like for the green box placed on the VP to affect the positioning of ...
  • 333
0 votes
1 answer
119 views

How to use slanted, bold, sans serif, or typewriter IPA symbols (TIPA) in ClassicThesis?

I want to use slanted IPA symbols in ClassicThesis. I am using the TIPA package. According to the package's documentation, the code below should give slanted, bold extended, sans serif, and typewriter ...
0 votes
1 answer
52 views

Reduce vertical space before and after gb4e in footnote, align example with footnote text

This is most definitely a follow-up question to Not excessively stretch vertical space between elements in gb4e (glossing verse text; issue w/ enumitem) and probably related to Adjust margins and ...
  • 987
0 votes
1 answer
44 views

Typing Brackets '[' ']' Within a Node in Tikz Q-Tree

I am trying to make a tree with Tikz Q-Tree wherein one of the nodes/the text shown needs to read: [+past]. However, brackets are used in the construction of the tree itself, so when I include them in ...
  • 333
4 votes
1 answer
82 views

Not excessively stretch vertical space between elements in gb4e (glossing verse text; issue w/ enumitem)

Part of my data is verse text which I'd prefer to gloss line by line. I toyed with this setup (MWE): \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex \gll der wídem vnd der ...
  • 987
7 votes
3 answers
1k views

Is this IPA symbol for a long vowel available?

Is the below marked symbol available in any of the font?
  • 11.3k
2 votes
1 answer
48 views

\label seems to need space when used with gb4e

I try to keep examples typeset with gb4e on the same page. I extended gb4e by two shortcodes that wrap examples in a tabular environment. This worked until recently but now I get problems with \label ...
2 votes
3 answers
107 views

limiting space used by gb4e and adding language information to the right

Often authors provide the language name together with examples. The language name is flushed to the right. This works well with short examples but looks ugly with long examples. The code below ...
1 vote
0 answers
118 views

Stacked diacritics list [closed]

I'm working on a Unicode version of TIPA, with lots of additional glyphs & diacritics. I need to define OT features governing diacritic placement, but for practical purposes it's hard to define ...
  • 11
0 votes
0 answers
49 views

Please suggest what went wrong in my code

My code are follow: \documentclass{book} \usepackage[normalem]{ulem} %\newcommand{\cmark}{\ding{51}}% \newcommand{\xmark}{\ding{55}} %\usepackage{kpfonts} %\usepackage{mdwlist} %\usepackage{fixltx2e}...
  • 11.3k
1 vote
1 answer
82 views

What causes siunitx and ot-tableau to be incompatible?

ot-tableau is a package to produce optimality-theoretic tableaux for use in linguistics. These are basically stylised tabu environments. ot-tableau offers dashed lines between constraints (=columns), ...
2 votes
1 answer
58 views

Fixing animation with forest

I used bottom up creation of trees with this solution: Presenting a {forest} tree from bottom to top in beamer. But it now seems to have stopped working. When I do the following I get some edges ...
0 votes
0 answers
23 views

Using hfill with cgloss4e [duplicate]

This answer shows how to use \hfill in glosses within linguex. I can't seem to load "cgloss.sty" that is mentioned in the answer to Overleaf (by adding usepackage{cgloss} in the preamble -- ...
0 votes
0 answers
31 views

Creating custom enumeration [duplicate]

This question must have been asked before, but I couldn't find anything. How would I create lists like this one: (1) This is a sentence (Note 1) Gloss1 ...
3 votes
1 answer
252 views

Arrows in Forest

How can I keep arrows in the forest environment from overlapping with tree elements? \documentclass[a4paper]{article} \usepackage[margin=0.5in]{geometry} \usepackage[utf8]{inputenc} \usepackage[...
0 votes
1 answer
227 views

Reset numbering using \enumsentence

I am using \enumsentence and \eenumsentence for numbering examples. I wonder if I want to reset the counter for an example, what commands are necessary? For example, I have an example whose counter is ...
  • 101
2 votes
1 answer
69 views

Overriding table alignment for linguistic glossing

A linguistics publisher wants me to switch from morpheme-by-morpheme alignment: to word-by-word alignment: I have been using the tabular environment for glossing. For the purposes of this question, ...

1
2 3 4 5
12