New answers tagged

2

A quick solution would be to use the bidi package’s \LR{} command: \glc \LR{In the beginning} created God - \LR{the heavens} and \LR{the earth.}// See §1.8 (Typesetting Short LTR and RTL Texts) in the documentation for further information.


1

To change the format of the example number you need to specify the exnoformat hook. To format the lines of the gloss correctly you should use the everygl hooks provided by ExPex. For the first line you use everygla= By default it is set to \it. But you can't use environments in these hooks, you must use switches. So I would recommend not using CJKutf8 but ...


0

This is not a good solution, but one way to deitalicize the first line is to wrap each word with \emph{}. You have to do each word in turn, otherwise the glosses get messed up. Obviously this is time-consuming, and I'm sure there is a better way to do this, but I've provided it in case it helps!


2

You can supply a manual label to any example. Remember though that you can no longer refer to an example with such a label with the regular \label and \ref system, since the label is not a counter. Here's an example: \documentclass{article} \usepackage{linguex} \begin{document} \ex. \a. First example. \b.[a.$'$] Modified example. \c.[a.$''$] Modified ...


1

The ExPex package uses its own counter/reference system which is quite powerful but somewhat idiosyncratic. It's also usable with the regular LaTeX \label and \ref system but without the extra functionality of its built-in system. The main counter used by ExPex is \excnt but this is a TeX count register and not a LaTeX counter, so it cannot be set and reset ...


0

how to set a counter : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[frenchb]{babel} \begin{document} \section{test1} \label{sec:test1} \section{test2} \label{sec:test2} \setcounter{section}{10} \section{test3} \label{sec:test3} \section{test4} \label{sec:test4} \section{test5} ...


1

The simplest way to do this is to put the phonetic transcription in the \ex line and then introduce your glossed example with a numberless \sn line. The main reason why your sample document doesn't work is that the \ex command is looking for a [ for the grammaticality judgement; you need to protect the [ in the phonetic transcription by enclosing the ...


1

The tipa package uses 8-Bit fonts because it was developed at a time when only 8-bit fonts were accessible by TeX. The underlying ancoding mimics ASCII IPA schemes (like SAMPA), so when you cut and paste them from the pdf they are somewhat sensible (but not perfect matches, specially for the more rare ones). When you want a pdf files with the "true ...



Top 50 recent answers are included