Tag Info

New answers tagged

2

As mentioned in the comments, you have two simple options that I present below. However, I'm not quite sure what you are after. \documentclass{minimal} \usepackage{forest} \forestset{ with translation/.style={ l sep=0,inner xsep=0, append translation/.expanded/.wrap pgfmath arg={\gettranslation{##1}}{content}, content/.expanded/.wrap ...


0

This is an answer to the edited question concerning the problem combining the code given in Sašo Živanović's answer with the use of a custom macro. The trick is to replace the use of \trace in the tree with a new style, trace which executes the macro and overrides the application of with translation to nodes with 0 children. \documentclass[tikz, ...


3

The problem, I think, is that you do not really want with translation to apply to the nodes which constitute the tabular. So the code you have for the translation stuff assumes that the nodes with 0 children are the right ones to apply with translation to but that won't work. You need instead to apply this to the nodes marked terminus which are the final ...


4

This implements a suggestion ajeh made in comments. EDIT Here is a version which adds back the vertical rules, which I'd originally omitted (see below), since these are evidently required in this case. \documentclass{article} \usepackage{forest} \forestset{ sn edges/.style={for tree={parent anchor=south, child anchor=north,align=center,base=top}}, ...


0

I'm assuming that you want the free translation panels of each style to be left-aligned with each other. As far as I can tell from the expex documentation, you can't specify a fixed width for the free translation panel, but you can use the parameter ssratio to specify the width of the left panel relative to the overall gloss width. Its default value is 0.6. ...


1

linguex redefines the \footnotetext which seems to be incompatible to scrbook: Try this: \footnote{Here comes an example sentence within a footnote:\\ \parbox{\linewidth}{\ex. Here it is. } And now it's over.} One needs to add \\ before \parbox here, in order to avoid the indentation with \parindent.


4

Search for its unicode, check the fonts which support it (or look, if it already exists on your machine), and include it with \symbol{} of the package fontspec. This requires Xe- or LuaLaTeX: % arara: lualatex \documentclass{article} \usepackage{fontspec} \setmainfont{Linux Libertine O} \begin{document} \symbol{"026A} \end{document}


3

I think you're looking for \textsci in the tipa package. \documentclass{standalone} \usepackage{tipa} \begin{document} I \textsc{i} \textsci \end{document}


6

Use the tipa package for phonetic symbols. \documentclass{article} \usepackage{tipa} \begin{document} \textipa{I} \end{document} If you want an i without the dot, use \i: \documentclass{article} \begin{document} \i \end{document}


1

I realize this is an old question, but for posterity's sake, I thought I'd point out that expex provides several ways to include language name or other example annotations. Right-aligned, on first gloss line This is the format suggested in the answer by @Alan Munn: Explanation Use \rightcomment{} between \gla and the first word. See section 11.2 of the ...


6

From the documentation of ethiop package, I used a line, but I have no idea whether this is a correct form. Just compile with pdflatex. \documentclass{article} \usepackage[ethiop]{babel} \usepackage{ethiop} % only needed for older TeX distributions \begin{document} 'abAs : 'alamenahe \end{document} Edit I don't know whether this is 'Ge'ez' at all...


3

If you want to have the second subject on the "ob", then its maybe best to restructure the tree. I placed the subjects on top of their first part and used the hidden nodes and explicitly drawn edges to link them to their later parts. Lets hope the structure is still the same :) albeit the word order seems to be off for the German version... I also added ...


3

In theory this ought to work: \DTLforeach{glosses2}{% \IPA=IPA, \GLOSS=GLOSS, \TRANS=TRANSLATION}{% \begin{exe} \edef\doex{% \noexpand\ex[]{\noexpand\gll \expandonce\IPA \noexpand\\ \expandonce\GLOSS \noexpand\\ \noexpand\trans `\expandonce\TRANS'}% } \doex \end{exe} } However it seems there's a bug in datatool that's causing the first ...


4

\glt is a very simple macro and it seems you can add \nobreak and it works in this case at least... \documentclass[11pt,letterpaper]{article} \usepackage{lipsum} \usepackage{gb4e} \def\glt{\nobreak\vskip.17\baselineskip} \noautomath \begin{document} \lipsum[1-4] \begin{exe} \ex \gll wuz x̃ũch it-ak xohish-em\\ 1\textsc{sg.prn} bread ...



Top 50 recent answers are included