Tag Info

New answers tagged

3

I don't think it's possible to do patches with etoolbox when the search text contains ## (note that xpatch is built upon etoolbox). Also, the requested patch is just equivalent to \renewcommand*{\SetLeipzigDisplayStyle}[1]{% \renewcommand*{\glstextformat}[1]{\leipzigfont{#1}}% } so it's not clear why you're looking for a patch. By the way, xpatch is ...


3

Here are some steps you can take to alleviate this problem. You can combine them as you wish to meet your needs: Reduce the margins. You are already using geometry to set your margins to 1 inch. You can reduce this for all the margins using the margin key you're already using, but geometry also provides keys for setting the horizontal and vertical margins ...


3

I wasn't able to replicate the cascading indentation with the MWE you provided, but I've identified some problems with your MWE and provided a working version. Watch out for these: You can't put a . after a length, so I changed \usepackage[margin=1in.]{geometry} to \usepackage[margin=1in]{geometry}. linguex doesn't use \begin{exe} (that's from gb4e), but ...


2

The problem has nothing to do with linguex, but with your avm syntax. The square brackets in an avm must be introduced with a backslash. If I fix all the brackets in your example, it works perfectly. The same goes for the @ character: in order to use it to make boxed numbers, it must also be introduced with a backslash. \documentclass{article} ...


3

The expex package provides a \nogloss macro to exempt certain elements from being counted as in the gloss. I've made two bracketing macros to create upright brackets: \lb creates an upright left bracket, and \rb{XP} creates an upright right bracket with a label "XP". Unfortunately, due to the way expex is written, you can't include the \nogloss command ...


0

I like to use philex with fixltx2e, but I think, that you can combine it with your expex code. \documentclass{article} \usepackage{philex} \usepackage{fixltx2e} \begin{document} \lb{ex2}{\gll [my dog]\textsubscript{NP} ate me.\\ 1\textsc{sg}.\textsc{poss} dog eat.\textsc{pst} 1\textsc{sg}.\textsc{acc}\\} \end{document}


0

Whilst this doesn't answer the OP's specific question, it relates to the same issue as in the question title. If you use linguex then I think the best solution is to simply place the \hfill Language info after the translation line, which of course aligns your language info to the last line of your glossed example, but this avoids far worse problems. ...


1

You can use the command \gll, provided in linguex. It works just as \exg. but without producing a number.


5

Since trees in linguistics papers are treated as linguistic examples, it's typically not helpful to have them numbered independently of the system you use for numbering your example sentences. So the first place to begin should be with some of the various numbering systems for example numbering: Numbered examples in linguistics that I can refer back to ...


1

If you are only interested in placing the labels as plain text, standard TikZ \nodes can be used: \documentclass[draft]{article} \usepackage{forest} \begin{document} \begin{forest} baseline, for tree={parent anchor=south, child anchor=north, align=center, l sep+=0em, s sep+=4em} [T$'$ [T [{[past]}, name=tense2]] [VP [V$'$ ...



Top 50 recent answers are included