# Tag Info

0

You know, actually there is an example of such a thing in the end of the gb4e documentation. \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex\atcenter{\arrowalign{ \lb{TP} & \emph{Seveal riots} & \lb{T}are]\lb{VP}\lb{V}believed]\lb{TP}\lb{T}to]\lb{AUXP}\lb{AUX}have]\lb{VP}\lb{V}occurred]\lb{QP}&\emph{t}&]]]]]] \cr ...

2

I don't know about the best way to create the bracketed structures, but here I show how to insert the so-called movement lines: \connect[direction]{left-end}{mid-text}{right-end}. Here is the MWE. \documentclass{article} \usepackage{stackengine,amssymb} \def\stacktype{L} \newsavebox\tmpbox \def\rlht{3ex} \def\rlwd{.8pt} \def\rloffset{3pt} ...

1

One simple approach could be use an inline math environment using \overset, but may be you can be also interested in the source of the dvgloss package. The format is not the required in this case (upper line is not centered with sans serif} but because he simpler sintaxis of \gl macro and some other feature worth take a look to source code of the package ...

7

The expex package is designed for creating interlinear linguistics examples, and it is easily adapted for texts of this type. In order to center the number above the word (or group of words), use the expex option glwordalign=center. % !TEX TS-program = XeLaTeX \documentclass{article} \usepackage{fontspec} \setmainfont{Palatino Linotype} ...

2


5

Alternatively using the stackengine package: \documentclass{article} \usepackage{stackengine} \newcommand\wrd[2]{% \stackengine{0.2ex}{\vphantom{A}#1}{{\footnotesize\sffamily\vphantom{p}#2}}{O}{c}{F}{T}{S}% } \begin{document} \wrd{hello}{12} world \end{document} See the stackengine manual, pg 6, for more information. Here is a snapshot of the ...

6


8

You need \vbox and \halign, not \valign: \documentclass{article} \newcommand\wrd[2]{% \leavevmode \vbox{\offinterlineskip \halign{% \hfil##\hfil\cr {\footnotesize\sffamily\vphantom{p}#1}\cr \noalign{\vskip\lineskip}% \vphantom{A}#2\cr }% }% } \begin{document} \linespread{1.8}\selectfont \wrd{9176}{Longword} ...

2

I always recommend that my students learn to use a Unicode IPA keyboard overlay. I've used the Keyman and MSKLC keyboards for Windows, but there are Linux and Mac options available at that page too. When the keyboard is turned on, certain keys (=, &, <, >, etc.) are activated to modify the key that's pressed next in fairly consistent ways. For ...

1

This is similar to Jason Zentz's answer, but begins with your original tree and modifies some things further. Like that solution, this uses forest, together with the manual's definition of nice empty nodes (although I implement the idea with a slight variation in coding). Implemented with forest, the code for your original tree would be like this: ...

4

The problem is not actually with the tipa package itself, but with basically any font package you would load. The problem is caused by the fact that linguex defines a \b. and and \c. macro, but both of these are used as diacritic commands (\b puts a macron under a character, and \c puts a cedilla. So loading the font package after linguex removes the linguex ...

Top 50 recent answers are included