# Tag Info

4

You can change \par onto \endgraf. (The height of the page is intentionally reduced on a picture). \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} % \ex[]{An example requiring a footnote\footnote{A footnote with two paragraphs.\par Here's the second paragraph.}} \ex[]{An example requiring a footnote\footnote{A footnote with two ...

3

I don’t know about tikz-qtree but with forest, you can access the tree’s node with the special ! syntax. The node (!2211) (in your examples, this is <John>), is the root’s (TP) second child’s (T') second child’s (vP) first child’s (DP) first child (<John>). Then, there is always the possibility to give a node a name with the usual TikZ key: name ...

6

You can just make the text of the roof a node. (I also simplified the arrow syntax a bit.) \documentclass{article} \usepackage{tikz-qtree,tikz-qtree-compat} \tikzset{every tree node/.style={align=center, anchor=north}} \begin{document} \begin{tikzpicture} \Tree [.TP [.DP \edge[roof]; \node (J) {John}; ] [.T$'$ [.T ] [.\emph{v}P ...

9

A completely different approach from Werner's one. Load calc package and add \makeatletter \def\myex{\setlength{\parindent}{-\leftmargin+\labelsep}\@ifnextchar [{\@ex}{\item}} \makeatother in the preamble. Then use the newly defined \myex inside the exe environments where you want the special layout, e.g. \documentclass{article} ...

9

gb4e sets the exe environment as a regular list. Moreover, every \ex macro defaults to \item (if you don't specify an optional argument). So, you can use enumitem to emulate the display, yet set some other properties as needed. The following MWE does exactly that (I grabbed the list parameters from g4be.sty) and provides myexe as the alternative: ...

Top 50 recent answers are included