diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/covington/README | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/covington/covington.pdf | bin | 558128 -> 557927 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/covington/covington.tex | 32 |
3 files changed, 34 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/covington/README b/Master/texmf-dist/doc/latex/covington/README index ad9431e7cda..168f46b4500 100644 --- a/Master/texmf-dist/doc/latex/covington/README +++ b/Master/texmf-dist/doc/latex/covington/README @@ -31,6 +31,11 @@ The package consists of the following files: == CHANGES == +* Version 2.14 (2023 December 11) + - Add \ownexcounterprep macro to add a prefix (e.g., the chapter) + to the (owncounter) example counter. + - Document how to (not) number examples per chapter. + * Version 2.13 (2023-12-02) - Fix example numbering with chapters (#16). diff --git a/Master/texmf-dist/doc/latex/covington/covington.pdf b/Master/texmf-dist/doc/latex/covington/covington.pdf Binary files differindex d0963ed7ef9..d2187619ce4 100644 --- a/Master/texmf-dist/doc/latex/covington/covington.pdf +++ b/Master/texmf-dist/doc/latex/covington/covington.pdf diff --git a/Master/texmf-dist/doc/latex/covington/covington.tex b/Master/texmf-dist/doc/latex/covington/covington.tex index 696bfe139cf..78861d588e5 100644 --- a/Master/texmf-dist/doc/latex/covington/covington.tex +++ b/Master/texmf-dist/doc/latex/covington/covington.tex @@ -97,8 +97,8 @@ % % Titling % -\def\pversion{Version 2.13} -\def\pdate{December 2, 2023} +\def\pversion{Version 2.14} +\def\pdate{December 11, 2023} \title{\textbf{The \cvt\ Package\\\Large Macros for Linguistics}} \author{Michael A. Covington \and J\"urgen Spitzm\"uller\thanks{Current maintainer. @@ -163,7 +163,8 @@ to your document preamble. The package has the following options to customize it By default, \cvt\ uses \LaTeX's equation counter for example numbering, so that if you use equations and numbered examples in the same paper, you get a single continuous series of numbers. While some people (including the original author of this package) consider this a feature, others might prefer to number equations and linguistic examples separately. If you count to the latter sort, - use this option. + use this option. Note that the default appearance of the own counter and the equation counter differs if the document has chapters. + See sec.~\ref{sec:cbc} for details. \item{\joption{fnexamplecounter=\jparam{main|own|own-reset}}} Default: \emph{main}. Specifics of the counter for numbered examples in footnotes. @@ -890,6 +891,24 @@ as in \pxref{expl} and \pxref{sbex}. It is defined as follows and can be redefin \end{lstlisting} +\subsection{Numbering per chapter or continuously}\label{sec:cbc} + +With the default (equation) counter which is used for examples, examples automatically get numbered +per chapter if the document has chapters (e.g., (2.1) for the first example in chapter~2). +If you want continuously numbered examples instead, use +\begin{lstlisting}[moretexcs={counterwithout}] +\counterwithout{equation}{chapter} +\end{lstlisting} +which also will change the equation numbering behavior. + +With \joption{owncounter}, on the other hand, examples are always continuously numbered by default. +If you want examples numbered per chapter, do: +\begin{lstlisting}[moretexcs={counterwithin,ownexcounterprep}] +\counterwithin*{covex}{chapter} +\renewcommand\ownexcounterprep{\thechapter.} +\end{lstlisting} + + \section{Glossing sentences word-by-word}\label{sec:gloss} To gloss a sentence is to annotate it word-by-word. Most commonly, a @@ -1647,6 +1666,13 @@ it. \section{Release history} +\subsection*{2.14 (2023 December 11)} +\begin{itemize} + \item Add \jcsmacro{ownexcounterprep} macro to add a prefix (e.g., the chapter) + to the (owncounter) example counter. See sec.~\ref{sec:cbc}. + \item Document how to (not) number examples per chapter. +\end{itemize} + \subsection*{2.13 (2023 December 2)} \begin{itemize} \item Fix example numbering with chapters. |