texlive[59266] Master/texmf-dist: covington (19may21)

commits+karl at tug.org commits+karl at tug.org
Wed May 19 21:57:58 CEST 2021


Revision: 59266
          http://tug.org/svn/texlive?view=revision&revision=59266
Author:   karl
Date:     2021-05-19 21:57:58 +0200 (Wed, 19 May 2021)
Log Message:
-----------
covington (19may21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/covington/README
    trunk/Master/texmf-dist/doc/latex/covington/covington.pdf
    trunk/Master/texmf-dist/doc/latex/covington/covington.tex
    trunk/Master/texmf-dist/tex/latex/covington/covington.sty

Modified: trunk/Master/texmf-dist/doc/latex/covington/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/covington/README	2021-05-19 19:57:42 UTC (rev 59265)
+++ trunk/Master/texmf-dist/doc/latex/covington/README	2021-05-19 19:57:58 UTC (rev 59266)
@@ -31,6 +31,10 @@
 
 == 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.
 

Modified: trunk/Master/texmf-dist/doc/latex/covington/covington.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/covington/covington.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/covington/covington.tex	2021-05-19 19:57:42 UTC (rev 59265)
+++ trunk/Master/texmf-dist/doc/latex/covington/covington.tex	2021-05-19 19:57:58 UTC (rev 59266)
@@ -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 @@
 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,7 +336,9 @@
 (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}
 
 Sometimes a set of (paradigmatic) sub-examples gets only one main example number with alphabetic sub-numbering,
@@ -410,6 +416,9 @@
 	\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 @@
 
 \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}

Modified: trunk/Master/texmf-dist/tex/latex/covington/covington.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/covington/covington.sty	2021-05-19 19:57:42 UTC (rev 59265)
+++ trunk/Master/texmf-dist/tex/latex/covington/covington.sty	2021-05-19 19:57:58 UTC (rev 59266)
@@ -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



More information about the tex-live-commits mailing list.