summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/covington
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-20 03:00:38 +0000
committerNorbert Preining <norbert@preining.info>2021-05-20 03:00:38 +0000
commit6d6c3b4ee419b9f485a213d2ece28b06e9ca2f7c (patch)
tree243789c085bcb650c397f86eeaaddbc45ca92dff /macros/latex/contrib/covington
parent94c996b5f40175b4a858ddd1f19e3947198b9bd0 (diff)
CTAN sync 202105200300
Diffstat (limited to 'macros/latex/contrib/covington')
-rw-r--r--macros/latex/contrib/covington/README4
-rw-r--r--macros/latex/contrib/covington/covington.pdfbin486803 -> 487245 bytes
-rw-r--r--macros/latex/contrib/covington/covington.sty8
-rw-r--r--macros/latex/contrib/covington/covington.tex21
4 files changed, 29 insertions, 4 deletions
diff --git a/macros/latex/contrib/covington/README b/macros/latex/contrib/covington/README
index 2ff405d3de..327cb913a5 100644
--- a/macros/latex/contrib/covington/README
+++ b/macros/latex/contrib/covington/README
@@ -31,6 +31,10 @@ The package consists of the following files:
== CHANGES ==
+* Version 2.6 (2021-05-19):
+ - New length \exampleind to adjust (increase/decrease) the indentation (left margin)
+ of examples.
+
* Version 2.5 (2021-03-21):
- Fix metrics of stacked diacritics with XeTeX/LuaTeX.
diff --git a/macros/latex/contrib/covington/covington.pdf b/macros/latex/contrib/covington/covington.pdf
index dbb6f3caad..5a56381da2 100644
--- a/macros/latex/contrib/covington/covington.pdf
+++ b/macros/latex/contrib/covington/covington.pdf
Binary files differ
diff --git a/macros/latex/contrib/covington/covington.sty b/macros/latex/contrib/covington/covington.sty
index 2bd80b0339..79601a2eba 100644
--- a/macros/latex/contrib/covington/covington.sty
+++ b/macros/latex/contrib/covington/covington.sty
@@ -42,8 +42,8 @@
%%% Metadata
%%%
-\def\filedate{2021/03/21}
-\def\fileversion{2.5}
+\def\filedate{2021/05/19}
+\def\fileversion{2.6}
\def\filename{covington.sty}
% Force redefinition of environments?
@@ -245,6 +245,9 @@
\newlength\examplenumbersep
\setlength\examplenumbersep{0pt}
+\newlength\exampleind
+\setlength\exampleind{0pt}
+
\newcommand*\covexnumber[1]{(#1)}
\newenvironment{covexamples}% % define "example" environment
@@ -253,6 +256,7 @@
{%
\addtolength{\labelwidth}{\examplenumbersep}%
\addtolength{\leftmargin}{\examplenumbersep}%
+\addtolength{\leftmargin}{\exampleind}%
\ifownexcounter
\setcounter{covexsave}{\arabic{covex}}%
\usecounter{covex}% % sets it to zero, unwantedly
diff --git a/macros/latex/contrib/covington/covington.tex b/macros/latex/contrib/covington/covington.tex
index e22796a1d8..74cc19f33d 100644
--- a/macros/latex/contrib/covington/covington.tex
+++ b/macros/latex/contrib/covington/covington.tex
@@ -94,8 +94,8 @@
%
% Titling
%
-\def\pversion{Version 2.5}
-\def\pdate{March 21, 2021}
+\def\pversion{Version 2.6}
+\def\pdate{May 19, 2021}
\title{\textbf{The \cvt\ Package\\Macros for Linguistics}}
\author{Michael A. Covington \and J\"urgen Spitzm\"uller\thanks{Current maintainer.
@@ -274,6 +274,10 @@ If you need more space between the example number and the text, you can increase
the length \jcsmacro{examplenumbersep} (which is preset to \texttt{0pt}). Doing \lstinline|\setlength\examplenumbersep{1em}|,
for instance, will increase the space by 1\,em (negative values will decrease the space accordingly).
+If you need to change the indentation (left margin) of examples, you can do so by means of
+the length \jcsmacro{exampleind} (preset to \texttt{0pt}). Doing \lstinline|\setlength\exampleind{1em}|,
+for instance, will increase the indentation by 1\,em, negative values will decrease it accordingly.
+
Note that, as of version 1.1, \cvt\ checks if there is already an \jenv{example} environment defined
(e.\,g., by the class). If so, \cvt\ does not
define its own one. However, there is always the alias environment \jenv{covexample} which can be used in order to
@@ -332,6 +336,8 @@ existing \jenv{examples} environments. The package will issue a warning if \jenv
(this is the case, for instance, if you use \cvt\ with the \texttt{beamer} class), telling you
how it has dealt with the situation.
+Please refer to sec.~\ref{sec:ex} for ways to adjust the spacing of the environment.
+
\subsection[The \texttt{subexamples} environment]{The \jenv{subexamples} environment}\label{sec:subexs}
@@ -410,6 +416,9 @@ for instance, will come out like this:
\item This is the first sentence.
\item This is the second sentence.
\end{subexamples}
+%
+To change the indentation (left margin) of subexamples, adjust the length \jcsmacro{exampleind}
+(preset to \texttt{0pt}). Note that this also applies to the \jenv{examples} environment.
\egroup
@@ -1095,6 +1104,14 @@ it.
\section{Release history}
+\subsection*{2.6 (2021 May 19)}
+
+\begin{itemize}
+ \item New length \jcsmacro{exampleind} to adjust (increase/decrease)
+ the indentation (left margin) of examples.
+ See sec.~\ref{sec:ex} for details.
+\end{itemize}
+
\subsection*{2.5 (2021 March 21)}
\begin{itemize}