diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-19 19:57:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-19 19:57:58 +0000 |
commit | 2c4c115f417998c568f62586deca6e3dedf4421a (patch) | |
tree | 9804d1252c0479309bd8ed6ed25ea6686d80066a /Master | |
parent | 9a87908e4c79642fc91798ea88e8f75d19ee64b0 (diff) |
covington (19may21)
git-svn-id: svn://tug.org/texlive/trunk@59266 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/covington/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/covington/covington.pdf | bin | 486803 -> 487245 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/covington/covington.tex | 21 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/covington/covington.sty | 8 |
4 files changed, 29 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/covington/README b/Master/texmf-dist/doc/latex/covington/README index 2ff405d3def..327cb913a56 100644 --- a/Master/texmf-dist/doc/latex/covington/README +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/covington/covington.pdf b/Master/texmf-dist/doc/latex/covington/covington.pdf Binary files differindex dbb6f3caad3..5a56381da26 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 e22796a1d84..74cc19f33da 100644 --- a/Master/texmf-dist/doc/latex/covington/covington.tex +++ b/Master/texmf-dist/doc/latex/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} diff --git a/Master/texmf-dist/tex/latex/covington/covington.sty b/Master/texmf-dist/tex/latex/covington/covington.sty index 2bd80b03394..79601a2ebad 100644 --- a/Master/texmf-dist/tex/latex/covington/covington.sty +++ b/Master/texmf-dist/tex/latex/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 |