diff options
author | Karl Berry <karl@freefriends.org> | 2009-12-31 01:29:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-12-31 01:29:16 +0000 |
commit | cf62e0a822d36480a91d09794f1abb2892d98303 (patch) | |
tree | 6c7bc5ffabca6c372d43ffc43a1e92cc049e0e55 /Master/texmf-dist/doc/latex/gb4e/gb4e-doc.tex | |
parent | 72c3c38a59e5666807c0f2bdbcec365259e98d96 (diff) |
gb4e update (29dec09)
git-svn-id: svn://tug.org/texlive/trunk@16540 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/gb4e/gb4e-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/gb4e/gb4e-doc.tex | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/gb4e/gb4e-doc.tex b/Master/texmf-dist/doc/latex/gb4e/gb4e-doc.tex index d9293034a94..c88b5921e4e 100644 --- a/Master/texmf-dist/doc/latex/gb4e/gb4e-doc.tex +++ b/Master/texmf-dist/doc/latex/gb4e/gb4e-doc.tex @@ -6,15 +6,15 @@ %\documentstyle[a4,11pt,gb4e]{article} %% \def\bs{$\backslash$} -\parskip1.2ex +\frenchspacing\parskip1.2ex \parindent0pt \def\bit{\vskip.05\baselineskip\hspace*{1em}\hangindent4em\hangafter1} \title{Preliminary documentation for {\tt gb\gbVersion.sty}\thanks{% Parts of ``Government-Binding style'' {\tt gb\gbVersion.sty} are - loosely based on ideas and code by M.~Covington, M.~deGroot, + loosely based on ideas and code by M.~Covington, M.~van der Goot, J.~Frampton and L.~Holt. In particular it automatically includes {\tt cgloss\gbVersion.sty}, a (heavily adapted) version of M.~Covington's - \LaTeX-adaptation of M.~de Groot's plain\TeX{} Midnight gloss + \LaTeX-adaptation of M.~van der Goot's plain\TeX{} Midnight gloss macros.} and {\tt cgloss\gbVersion.sty}} \author{hans-peter kolb $<${\sf kolb@sfs.nphil.uni-tuebingen.de}$>$\\ Craig Thiersch $<${\sf thiersch@kub.nl}$>$} @@ -37,9 +37,9 @@ The file {\tt gb\gbVersion.sty}\footnote{% NB: Make sure to get {\tt cgloss\gbVersion.sty} together with {\tt gb\gbVersion.sty}. - As time permits, we'd like to revise the rest of {\tt - gb\gbVersion.sty}, so please experiment and let us know about - bugs and/or suggestions.} + This version of gb4e includes some \emph{minimal} bug-fixes and enhancements by + Alexis Dimitriadis, with emphasis on backward compatibility. +} allows \verb"_" (subscript) and \verb"^" (superscript) to be used in ordinary text, which is handy, but because it changes their definitions it must be loaded {\bf after} @@ -110,8 +110,8 @@ set the labelwidth to, e.g., the widest label to come (in the style of are ``{\tt m.}'' for {\tt xlist}, and ``{\tt iii.}'' for {\tt xlisti}. The default labelwidth for the {\tt exe}-environment can also be changed globally by issuing a \verb,\exewidth{<string>}, command in the -preamble of your document (i.e.\ between the -\verb'documentstyle' and the \verb'\begin{document}' lines). +preamble of your document (i.e.\ between +\verb'\documentclass' and \verb'\begin{document}'). \subsection{Examples with running numbers} As just shown, every example with a running number @@ -159,8 +159,8 @@ sublist of examples follows). \bit\verb'\ex[<judgement>]{<example>}' $\Longrightarrow$ a numbered example with judgement. -The space reserved for judgements is governed by the -\verb,\judgewidth{<string>}, command which sets it to the width of +The space reserved for judgements can be controlled by the command\break +\verb,\judgewidth{<string>},, which sets it to the width of \verb,<string>, (Default: ``{\tt ??}''). It can be issued in the preamble to change the default globally, or within an {\tt exe}-environment for a @@ -266,7 +266,7 @@ Again, these commands work exactly as \verb'\ex' or \pagebreak[2] \section{Glosses}\label{gloss} {\tt gb\gbVersion.sty} offers a set of commands for typesetting glosses based -on M.\ Covington's \LaTeX-adaptation of M.\ deGroot's Midnight gloss +on M.\ Covington's \LaTeX-adaptation of M.\ van der Goot's Midnight gloss \TeX-macros.\footnote{They are defined in the file {\tt cgloss\gbVersion.sty} which is automatically read by {\tt gb\gbVersion.sty}.}\\[5pt] A gloss basically contains two elements: @@ -359,9 +359,10 @@ respectively. By default the glosses appear in ``Linguistic Inquiry style'' with all lines in \verb"\rm". To change a line -(e.g.\ to \verb"\it" if required for a particular journal), just put +(e.g.\ to italics if required for a particular journal), just put the appropriate lines in the preamble of your document, e.g., -\verb"\let\eachwordone=\it". The same for +\verb"\let\eachwordone=\it".\footnote{Font commands that take an argument, such as {\tt \bs textit}, cannot be used with versions of gb4e before 2009/12/28. Upgrade to the latest version or use argument-less font commands, such as {\tt \bs it}.} + The same for \verb"\eachwordtwo" and \verb"\eachwordthree" (used by the three line glosses introduced by \verb'\glll'). Note that it will {\em not} work @@ -404,13 +405,20 @@ uses: yields \obar{X} \ibar{X} \iibar{X} \mbar{X}. With \verb,\primebars, in the preamble, the outcome is \obar{X} X^{'} XP \mbar{X}. \item Labelled bracketings: -\verb,\lb{NP}[1]\lb{D}[1] the]\lb{\ibar{N}} example]], yields +\verb,\lb{NP}[1]\lb{D}[1] the]\lb{\ibar{N}},\break \verb,example]], yields \lb{NP}[1]\lb{D}[1] the]\lb{\ibar{N}} example]]. An analogous right-bracket (\verb,\rb,) is also defined. \item Greek letters: the frequently used letters \al\be\ga\de\ and \th\ have abbreviations \verb,\al \be \ga \de \th, which also work outside mathmode. \item Sub- \& superscripts (\verb,_, and \verb,^,) work outside mathmode, too. +\\ +{\bf Note:} This feature is known to cause problems for a number of +other packages. It is retained for backward compatibility. In case of problems, +you can disable it by adding the command \verb|\noautomath| in your preamble +immediately after loading the gb4e package. You can also re-enable later with +the command \verb|\automath|. [Added 2009/12/28] + \end{itemize} At the very end of the style-file a couple of special accents for ``exotic'' languages are defined. Also, check out the \verb,\attop,-, @@ -429,8 +437,10 @@ movement-arrows: \begin{exe} \ex\atcenter{ \arrowalign{\fillright\pd&\link3&\fillleft{\vrule\hfil}\cr - Did&\ &John&\ &t_{\mathrm{Agr}}&\ appear &t&\ to be likely &t&\ to win.\cr - &&\fillright\pu&\link3&\centr{\vrule\spacer\pu}&\lf&\fillleft\vrule\cr} + Did&\ &John&\ &t_{\mathrm{Agr}}&\ appear &t&\ to be likely + &t&\ to win.\cr + &&\fillright\pu&\link3&\centr{\vrule\spacer\pu}&\lf + &\fillleft\vrule\cr} } \end{exe} \end{verbatim} |