summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-22 20:19:47 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-22 20:19:47 +0000
commita5d7ec213c9a99c3ed2f0bea186ac271d7178e7d (patch)
treea6759107a70df0b54416644a2576a409ca956230 /Master/texmf-dist/doc
parent2343619e5df72635118c615acbb6cf617e4dc55c (diff)
linguex update (Version 4.0 --- September 2009)
git-svn-id: svn://tug.org/texlive/trunk@16129 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/linguex/linguex-doc.pdfbin100736 -> 103689 bytes
-rw-r--r--Master/texmf-dist/doc/latex/linguex/linguex-doc.tex70
2 files changed, 57 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/linguex/linguex-doc.pdf b/Master/texmf-dist/doc/latex/linguex/linguex-doc.pdf
index def722ac69a..f34f1a0cf63 100644
--- a/Master/texmf-dist/doc/latex/linguex/linguex-doc.pdf
+++ b/Master/texmf-dist/doc/latex/linguex/linguex-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/linguex/linguex-doc.tex b/Master/texmf-dist/doc/latex/linguex/linguex-doc.tex
index fa96f12d607..a44b7556a8e 100644
--- a/Master/texmf-dist/doc/latex/linguex/linguex-doc.tex
+++ b/Master/texmf-dist/doc/latex/linguex/linguex-doc.tex
@@ -1,9 +1,9 @@
%% linguex-doc.tex version 2.0
-%% documentation of linguex.sty version 3.7
+%% documentation of linguex.sty version 4.0
%% Author: Wolfgang.Sternefeld@uni-tuebingen.de
%% filedate 2008/06/30
\documentclass{article}
-\usepackage{linguex}
+\usepackage{linguexVPagin}
%\usepackage{linguho}
%\usepackage[*]{linguho}
%\documentstyle[linguex]{article}
@@ -13,7 +13,7 @@
\begin{document}
\title{linguex.sty Documentation}
\author{Wolfgang Sternefeld\\
-Version 3.7 --- June 2008}
+Version 4.0 --- September 2009}
\date{}
\maketitle
@@ -113,8 +113,8 @@ Reference to subexamples can only be obtained by adding an (optional) argument
to the above Next- and Last-commands. For example, saying
\verb.\NNext[g-ii]. right now yields \NNext[g-ii]. The dash between
\addtocounter{ExNo}{2}\arabic{ExNo}\addtocounter{ExNo}{-2} and g is
-defined as \verb|\refdash|. It can be suppressed by
-\verb|\renewcommand{\refdash}{}|.
+defined as \verb|\firstrefdash|. It can be suppressed by
+\verb|\renewcommand{\firstrefdash}{}|.
\subsection*{Footnotes}%
@@ -370,6 +370,24 @@ are given a negative indentation. This is controled by the lengths
\verb.\alignSubExnegindent. and \verb.\Exlabelsep.,
which can be customized by \verb-\setlength-. after \verb.\begin{document}..
+The spacing between two subsequent examples is defined by
+\verb.\Exredux., whose default is \verb.-\baselineskip.. Saying
+\verb.\resetExdefaults. returns to all defaults as defined below:
+\begin{verbatim}
+\newcommand{\resetExdefaults}{%
+ \setlength{\Exlabelsep}{1.3em}%
+ \setlength{\Extopsep}{.66\baselineskip}%
+ \setlength{\SubSubExleftmargin}{2.4em}%
+ \setlength{\SubExleftmargin}{2em}%
+ \setlength{\Exindent}{0pt}%
+ \setlength{\Exlabelwidth}{4em}%
+ \setlength{\alignSubExnegindent}{\Exlabelsep}%
+ \ifalignSubEx\addtolength{\Exlabelsep}{.7em}%
+ \addtolength{\alignSubExnegindent}{.7em}\fi
+ \setlength{\Exredux}{-\baselineskip}%
+}
+\end{verbatim}
+
\subsection*{Customizing Labels}%
The labels of the examples are created by the counters \verb-ExNo-,
@@ -458,30 +476,56 @@ and Linguistics} requires examples of the following form:
\setlength{\Exlabelsep}{2em}
\exi.
-[v [v broke_i $\emptyset$ ][VP the vase [V$'$ t_i into
+[V [V broke_i $\emptyset$ ][VP the vase [V$'$ t_i into
pieces ]]]
-\ex.\def\SubExLeftBracket{(}\def\SubExRightBracket{)}
+\ex.\def\SubExLBr{(}\def\SubExRBr{)}
\a. It kept warm
\b. She kept it warm\global\alignSubExfalse
Apart form
specifying \verb.\alignSubExtrue. before \verb.\begin{document}.
-this requires to redefine the brackets of sublabels, as shown below:
+\Last requires to redefine the brackets of sublabels, as shown below:
\resetExdefaults
\begin{verbatim}
-\renewcommand{\SubExLeftBracket}{(}
-\renewcommand{\SubExRightBracket}{)}
+\renewcommand{\SubExLBr}{(}
+\renewcommand{\SubExRBr}{)}
\setlength{\Exlabelsep}{2em}
-\exi. [v [v broke_i $\emptyset$ ][VP the vase [V$'$ t_i into
+\exi. [V [V broke_i $\emptyset$ ][VP the vase [V$'$ t_i into
pieces~]]]
\ex.\a. It kept warm
\b. She kept it warm
\end{verbatim}%
-In addition, \verb|\renewcommand{\refdash}{}| changes cross
-references from eg. \Last[b] to \renewcommand{\refdash}{}\Last[b].
+In addition, \verb|\renewcommand{\firstrefdash}{}| changes cross
+references from eg. \Last[b] to \renewcommand{\firstrefdash}{}\Last[b].
+
+The following definitions generate the left (=L) and right (=R)
+environments of example numberings in ordinary text, in footnotes,
+and in cross-references:
+
+\begin{verbatim}
+ \newcommand{\ExLBr}{(}
+ \newcommand{\ExRBr}{)}
+ \newcommand{\FnExLBr}{(}
+ \newcommand{\FnExRBr}{)}
+ \newcommand{\theExLBr}{(}
+ \newcommand{\theExRBr}{)}
+ \newcommand{\theFnExLBr}{(}
+ \newcommand{\theFnExRBr}{)}
+ \newcommand{\SubExLBr}{}
+ \newcommand{\SubExRBr}{.}
+ \newcommand{\SubSubExLBr}{(}
+ \newcommand{\SubSubExRBr}{)}
+\end{verbatim}
+For example, one might want to replace \LLast--\Last with
+{\def\theExRBr{}\LLast}--{\def\theExLBr{}\Last} by saying
+
+\begin{verbatim}
+{\renewcommand{\theExRBr}{}\LLast}--{\renewcommand{\theExLBr}{}\Last}
+\end{verbatim}
+
\subsection*{$\backslash$\tt Exlabelwidth}%