# Tag Info

2

This is another "plain" TikZ code. \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \path (0,0) coordinate (A) node[above=2mm]{PUCD} ++(-150:2) coordinate (B) node[left=2mm]{pre-PUCD} ++(-90:2.5) coordinate (C) node[left=2mm]{PUC} +(-120:2) coordinate (D) node[below=2mm]{Uwahaza} +(-60:2) coordinate (E) node[below=2mm]{...

6

pure tikz solution: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[ level 1/.style={level distance=1cm,sibling distance=3cm}, level 2/.style={level distance=2cm,sibling distance=2cm}, level 3/.style={level distance=1.5cm,sibling distance=2cm}, V/.style = {circle, fill,inner sep=2pt} ] \node (Root)[V,...

3

However, I’m not sure how to approach the horizontal arrows which are located in between two nodes, and their label to the left of them. The only problem is to properly position the nodes. To do that, the simpler is to add names to the nodes in your tree and to use standard tikz positioning methods to place the text and the arrows. Second of all, I’m not ...

4

The linguex syntax requires a blank line between each \ex. or \exg. set of examples. The glossing macros use \\ at the end of each gloss line, but not after the free translation line. This is the main problem with the code that you posted. Here's a fixed up version that does what you want. \documentclass{article} \usepackage{linguex} \begin{document} \exg....

2

If I understand correctly you want something like Where क looks ahead to add or not add ə depending if the virama combining character follows. \documentclass{article} \usepackage{fontspec} \setmainfont{Nirmala UI} \newfontfamily\ipafont{Arial} \makeatletter \catcode`\क=\active \protected\defक{\bgroup\ipafont k\futurelet\tmp\viramacheck} \protected\def\...

0

There's also the simple \label-\ref system combined with the optional example label (\ex.[]). \label right after the dot, and \ref in square brackets. Here also illustrated for sub-examples. \documentclass{article} \usepackage{linguex} \begin{document} \ex. Some text \ex. Some text \ex.\label{ex:aa} Some text (example number to be remembered: \ref{ex:...

1

Discontinuous constituents are not permissible trees, which is why none of the standard tree drawing tools will allow you to do this. But you can fake it easily with the TikZ tree packages, either tikz-qtree (which has the same basic syntax as qtree) or forest (which is much more powerful.) Here's a solution using both. I would recommend forest going ...

2

If you're going to be doing this a lot, I would create a modified version of the gb4e \exi command to line up everything properly. I've called this \exk, and its corresponding \sn version, \snk. This is preferable to redefining \exi itself. \documentclass{article} \usepackage{gb4e} \makeatletter \newcommand\exk[1]{\item[{\makebox[1.5em][l]{#1}}]\@...

0

For providing custom example identifiers you can use \exi{<identifier>}, as explained in Section 1.2 (page 4) of the gb4e manual. Identifiers are not left aligned by default, so you could consider using B0, B1, B2 to make them all the same width (although in linguistics most people probably use the prime notation). MWE: \documentclass[12pt]{article} \...

1

Just add [baseline] to the tikzpicture environment. I have also successfully tested it with expex. % !TEX TS-program = xelatex \documentclass[11pt,a4paper,twoside,openright]{book} \usepackage{linguex} \usepackage{tikz} \usepackage{tikz-qtree} \begin{document} \ex. \begin{tikzpicture}[baseline] \Tree [.DP [.D the ] [.{\itshape a}...

Top 50 recent answers are included