Tag Info

New answers tagged

0

For example: \documentclass{standalone} \usepackage[inference]{semantic} \begin{document} \inference{% \inference{% \inference{}{Det} & \inference{}{N/Sust} & \inference{% \inference{% \inference{}{nexo} & \inference{}{CI/SN} & \inference{}{N/V} } {PV/SV} ...


2

Longer post Please allow me to share my findings with you. I've divided my answer into three parts: no traffic, one-way traffic and two-way traffic, each part resulting in its own compilable TeX file. I have used Xindy because MakeIndex is rather limited for non-English languages. On the other hand, I am using rather old makeidx package, but I would ...


5

If you don't require PGF/TikZ 3.0, you can use this trick to emulate an affine transformation. I define a command whose input is a “Cartesian” coordinate in the range (0, 0) to (3, 2), and whose output is a coordinate in the barycentric system¹ defined by the four corners (called hf, hb, lf, and lb) of the trapezoid. \def\V(#1,#2){barycentric ...


2

I don't know if this is what you want: \documentclass{article} \usepackage{gb4e} \usepackage{tipa} \usepackage{array} \let\ipa=\textipa \newcounter{example}[xnumi] \renewcommand{\theexample}{(\alph{example})} \makeatletter \renewcommand{\p@example}{\thexnumi-} \begin{document} \begin{exe} \ex ...


2

As I pointed out in my comment, if there is worry about breaking things by making characters active, you can set them up with toggles to turn them on and off. Here, I demonstrate with the left bracket and the macros \newphoneON and \newphoneOFF. Use the latter when you need to employ the left bracket in its normal configuration (e.g., as an optional macro ...


0

I was able to eliminate most of the white space by fiddling with the out value in the draw command. I changed it from -90 to -180, and achieved the desired spacing.


5

This answer uses nested stacks to achieve the result. In addition to the \Longstack macro of the stackengine package, which I use to set the top-most word stacks, I introduce one additional macro. That macro is \notate{embraced letters}{lines to drop}{notation}. In this syntax, "notation" is a single line, though a \parbox[t] can overcome that. The ...


3

You could use \useasboundingbox before the \draw command, to avoid it influencing the bounding box. Some extra space below must be added for the arrow, hence the [yshift=-1.2cm] (found by trial and error). \documentclass{article} \usepackage{tikz-qtree,tikz-qtree-compat} \usepackage{gb4e} \tikzset{every tree node/.style={align=center, anchor=north}} ...


4

One option is to use pgfinterruptboundingbox to interrupt the bounding box for the curved path; some manual spacing then will have to be added (or, see below for avoiding manual intervention): \documentclass{article} \usepackage{tikz-qtree,tikz-qtree-compat} \usepackage{gb4e} \tikzset{every tree node/.style={align=center, anchor=north}} \begin{document} The ...



Top 50 recent answers are included