19 votes

Americanist Phonetic Alphabet (APA) Glottalized Plosive

This is encoded in Unicode as "Combining Comma Above" (U+0313} and with a suitable font and XeLaTeX or LuaLaTeX can be entered directly. In the example below I've made a \glottal macro to make input ...
Alan Munn's user avatar
  • 217k
17 votes
Accepted

Is this IPA symbol for a long vowel available?

As commented by campa, below might be a solution. \documentclass{article} \usepackage{times} \usepackage{tipa} \begin{document} p\^{e}l /pe\textlengthmark l/ \end{document}
citsahcots's user avatar
  • 7,982
16 votes
Accepted

I get tofu instead of Lepcha (tibeto-burmese script)

There are multiple issues here (and the error message isn't for the reason you guessed): fontspec does not know about Lepcha, polyglossia does not know about Lepcha either, but that is ok, your expex ...
ShreevatsaR's user avatar
  • 45.2k
16 votes
Accepted

Incompatibility between siunitx and gb4e

The cause of the problem The redefinition of ^ and _ that gb4e does has nothing to do with this problem, because (as @cfr notes) it isn't solved by \noautomath. The problem is some code in the ...
Alan Munn's user avatar
  • 217k
13 votes
Accepted

gb4e package causing capacity errors

The gb4e package redefines the underscore character so that it can be used in regular text mode. Although this is very useful for linguists, it can easily cause problems and in your case the problem ...
Alan Munn's user avatar
  • 217k
12 votes
Accepted

Adding complex phonetic symbols to LaTeX

As explained by this answer, you can either use tipa and compile using pdfLaTeX or load a Unicode IPA font using fontspec and compile using XeLaTeX or LuaLaTeX. I strongly recommend using a Unicode ...
Jason Zentz's user avatar
  • 4,158
12 votes
Accepted

squiggly trees in latex

I would, naturally, use Forest because I happen to like it. It is very powerful and extremely flexible. I would load it with the linguistics library defaults \usepackage[linguistics]{forest} use a ...
cfr's user avatar
  • 196k
11 votes

While using package gb4e all the dental marks in IPA go berserk

This is caused by a bug in gb4e that arose after changes to the LaTeX kernel a few years ago. The solution is to add. \makeatletter \def\new@fontshape{} \makeatother before you load gb4e. But ...
Alan Munn's user avatar
  • 217k
11 votes
Accepted

How to draw language family tree in LaTeX

Here's another version: \documentclass[landscape]{article} \usepackage[margin=1in]{geometry} \usepackage{textcase} \usepackage[edges]{forest} \forestset{list/.style= {l sep=2pt,l=0, ...
Alan Munn's user avatar
  • 217k
11 votes
Accepted

Italic lowercase letter "a"

You could switch to a font that is made for this use case, e.g. Charis SIL. It has wide Unicode support including IPA and it has a stylistic style set for switching to a two-story italic a. Example: \...
Ralf Stubner's user avatar
  • 2,614
9 votes
Accepted

How can I get sans serif linguex glosses?

You need to tell cgloss4e (style file invoked by linguex to handle glosses) that each word in the first and second line of the glossed example is to be set in a sans serif font by adding the following ...
Pavel Rudnev's user avatar
9 votes
Accepted

colortbl changes array behaviour

the colortbl doc does warn against using infinite stretch in colortbl, so you need to squash it more strongly: \documentclass{article} %all the %% are needed... \newcommand{\deriv}[2] {%% %\...
David Carlisle's user avatar
9 votes

Is this IPA symbol for a long vowel available?

In Unicode, it is triangular colon (U+02D0): MWE \documentclass{article} \usepackage{fontspec} \newcommand\ffontaname{DejaVu Serif} \newcommand\ffontbname{Gentium Plus} \newcommand\ffontcname{...
Cicada's user avatar
  • 10.1k
8 votes

Adding complex phonetic symbols to LaTeX

As was told you in the comments, you can (and should if you're using xelatex) use a font that supports all IPA glyphs. Since you're using a table, you can automatize this so that only the cells with ...
Alenanno's user avatar
  • 37.2k
8 votes
Accepted

TIPA problem with the symbol n with right leg

This character is only available if you also load the tipx package. So you should use: \usepackage[T1]{tipa} \usepackage{tipx} This is documented, but easy to miss in the documentation. The list of ...
Alan Munn's user avatar
  • 217k
8 votes
Accepted

Example number from bottom to top of a Tree in Forest

In the linguistics library, the root node is automatically set as baseline. However (since forest v2.0.3), baseline on phantom nodes is ignored --- as it should be, as they are not drawn. To set the ...
Sašo Živanović's user avatar
8 votes
Accepted

ExPex - hide the example number

It's true that you can create an unnumbered example using \begingl...\endgl without a surrounding \ex...\xe. However, you will not get the extra vertical space around it that you would with a numbered ...
Jason Zentz's user avatar
  • 4,158
8 votes
Accepted

expex: box around phrase and its gloss

A different version than David's using the fit library of TikZ. You need to specify three points with \tizkmark rather than two because TikZ has no way of knowing which of the groups of words being ...
Alan Munn's user avatar
  • 217k
8 votes

Specify length of each line in forest

There are two parameters l and l sep. Parameter l tries to keep the reference points of the child nodes a the same vertical distance, whereas l sep ensures a minimal distance between the parent and ...
Heiko Oberdiek's user avatar
8 votes

TikZ Qtree subcaptions

You don't give an example, but if you add \tikzset{every tree node/.style={align=center,anchor=north}} you can allow explicit tabular newlines in node labels. I've used the ulem package for ...
Alan Munn's user avatar
  • 217k
8 votes
Accepted

Lines in qualitative linguistic transcription

Here's an example using the movement-arrows package which provides a \mkword macro to mark text and give it a node name. Then I've created a \link macro which links the speaker labels. I've made the ...
Alan Munn's user avatar
  • 217k
8 votes
Accepted

Stacking multiple TikZ tree labels?

Adaptation (I added some line breaks for better readability) give the first node a name (a) place a second node below (using \usetikzlibrary{positioning}), with option align=center, to allow line ...
dexteritas's user avatar
  • 9,131
7 votes

How can I use Bengali script in an English document?

Using the polyglossia package, it works quite well in XeLaTeX: \documentclass[preview, margin=0.5cm]{article} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{bengali} % Replace ...
Arun Debray's user avatar
  • 7,096
7 votes

squiggly trees in latex

The first tree is barely a tree, and so you may want to draw it manually with a matrix of nodes. The second tree is fairly straightforward but needs some trickery to have the multidominance structure ...
Alan Munn's user avatar
  • 217k
7 votes

phonological structures

First off, pst-asr documents require latex+dvips for compilation, and cannot be processed with pdflatex. The line: % !TEX TS-program = pdflatex needs to be changed to % !TEX TS-program = latex. ...
Alan Munn's user avatar
  • 217k
7 votes

Strikethrough lines on a phonological tree

Here's a different approach to the problem which requires less manual intervention, and has an intuitive syntax. It also allows you to use it as an \edge style on an existing branch of the tree ...
Alan Munn's user avatar
  • 217k
7 votes
Accepted

Americanist Phonetic Alphabet (APA) Glottalized Plosive

You can use a smaller apostrophe, that can be stacked on the letter with tabular. \documentclass{article} \makeatletter \DeclareRobustCommand\glottal[1]{% \check@mathfonts \begingroup \...
egreg's user avatar
  • 1.1m
7 votes
Accepted

MITWPL style template - Bibliography issue

The class file still has the same error as reported in the linked question. Here's a simple solution. (Also, note that the sample document provided with the class uses pstricks and requires ...
Alan Munn's user avatar
  • 217k
7 votes
Accepted

How to get limited multidominance in a forest tree

\documentclass[border=9pt]{standalone} \usepackage[linguistics]{forest} \forestset{ declare toks={multi name}{}, multi dom/.style={ if={>On={level}{0}}{}{% delay/.process={OOw2}{name}{...
cfr's user avatar
  • 196k

Only top scored, non community-wiki answers of a minimum length are eligible