| 1 |
========================================================================= |
| 2 |
The covington package |
| 3 |
|
| 4 |
LaTeX macros for Linguistics |
| 5 |
|
| 6 |
Copyright 1991--2025 Michael A. Covington |
| 7 |
Robin Fairbairns |
| 8 |
Juergen Spitzmueller |
| 9 |
|
| 10 |
Current Maintainer: Juergen Spitzmueller |
| 11 |
E-mail: juergen (at) spitzmueller (dot) org |
| 12 |
|
| 13 |
Released under the LaTeX Project Public License v1.3 or later |
| 14 |
See http://www.latex-project.org/lppl.txt |
| 15 |
========================================================================= |
| 16 |
|
| 17 |
== PURPOSE == |
| 18 |
|
| 19 |
This package, initially a collection of Michael Covington's private macros, provides |
| 20 |
numerous minor LaTeX enhancements for linguistics, including multiple diacritics on |
| 21 |
the same letter, interlinear glosses (word-by-word translations), Discourse |
| 22 |
Representation Structures, and example numbering. |
| 23 |
|
| 24 |
== CONTENTS == |
| 25 |
|
| 26 |
The package consists of the following files: |
| 27 |
|
| 28 |
* covington.sty: the actual package |
| 29 |
* covington.tex: the documentation |
| 30 |
* README (this file) |
| 31 |
|
| 32 |
== CHANGES == |
| 33 |
|
| 34 |
* Version 2.16 (2025 December 30): |
| 35 |
- Add subnumberrefsep option to subexamples environment. |
| 36 |
- Fix reference to subexample that is nested in an enumeration. |
| 37 |
|
| 38 |
* Version 2.15 (2025 August 13): |
| 39 |
- Fix definition of covexercise if no chapters exist. |
| 40 |
- Enhance reflist documentation. |
| 41 |
|
| 42 |
* Version 2.14 (2023 December 11) |
| 43 |
- Add \ownexcounterprep macro to add a prefix (e.g., the chapter) |
| 44 |
to the (owncounter) example counter. |
| 45 |
- Document how to (not) number examples per chapter. |
| 46 |
|
| 47 |
* Version 2.13 (2023-12-02) |
| 48 |
- Fix example numbering with chapters (#16). |
| 49 |
|
| 50 |
* Version 2.12 (2023-06-25) |
| 51 |
- Fix issue with redefinitions of \glosslineone/\glosslinetwo/\glosslinethree, |
| 52 |
which could get lost along the text (#13). |
| 53 |
|
| 54 |
* Version 2.11 (2023-06-17) |
| 55 |
- Add support for judgment markers in examples and glosses. |
| 56 |
- Add support for customization of spacing between gloss lines. |
| 57 |
- Add support for gloss comment lines via optional arguments. |
| 58 |
- Add support for translation lines on the right side of glosses (via new tlr* option). |
| 59 |
|
| 60 |
* Version 2.10 (2023-06-02) |
| 61 |
- Use LaTeX's own keyval mechanism rather than xkeyval. |
| 62 |
- Introduce a better interface to customize the appearance of examples. Now everything can |
| 63 |
be easily adjusted globally and locally via key-val options. This entails the following changes: |
| 64 |
* Allow to globally set example options via the new macro \setexampleoptions. |
| 65 |
* Add way to customize example and subexample number format. |
| 66 |
* Add new example options: fs, fsno, fspreamble, fspostamble, leftmargin, addnumbersep, |
| 67 |
addsubnumbersep, numberformat, subnumberformat, and fnnumberformat. |
| 68 |
- Add new gloss options: fspreamble, fspostamble, fstl, and enquotetl. |
| 69 |
This allows for full customization of glosses via options, both locally and globally. |
| 70 |
- Package options now all have a key-value format as well. |
| 71 |
- Introduce new package choice-option fnexamplecounter that supersedes the two boolean, |
| 72 |
mutually exclusive options ownfncounter and ownfncounter* (which are still supported |
| 73 |
for backwards compatibility reasons). |
| 74 |
- Major documentation revisions. |
| 75 |
|
| 76 |
* Version 2.9 (2023-05-26): |
| 77 |
- Add postamble and postamble* options to example and subexamples environment. |
| 78 |
- Add \expreamble, \subexpreamble, \expostamble and \subexpostamble macros. |
| 79 |
- Some documentation fixes. |
| 80 |
|
| 81 |
* Version 2.8 (2022-08-30): |
| 82 |
- Add ownfncounter and ownfncounter* options to allow for separate counting |
| 83 |
of examples in footnotes. The starred option resets the counter at each footnote. |
| 84 |
- Add preamble option to example environment. |
| 85 |
|
| 86 |
* Version 2.7 (2021-09-01): |
| 87 |
- Add postamble gloss macro option for arbitrary text that is appended to the free |
| 88 |
translation line (after closing quotation marks). |
| 89 |
- Add glosslinepostamble command to markup this text. |
| 90 |
|
| 91 |
* Version 2.6 (2021-05-19): |
| 92 |
- New length \exampleind to adjust (increase/decrease) the indentation (left margin) |
| 93 |
of examples. |
| 94 |
|
| 95 |
* Version 2.5 (2021-03-21): |
| 96 |
- Fix metrics of stacked diacritics with XeTeX/LuaTeX. |
| 97 |
|
| 98 |
* Version 2.4 (2020-01-02): |
| 99 |
- Fix definition of covexercise if no subsection counter exists. |
| 100 |
|
| 101 |
* Version 2.3 (2019-06-21): |
| 102 |
- Add preamble option to subexamples environment. |
| 103 |
- Allow to use covington together with the drs package. |
| 104 |
- Documentation fixes and restructuring. |
| 105 |
|
| 106 |
* Version 2.2 (2019-06-04): |
| 107 |
- Add new option owncounter that makes covington use an own counter for examples |
| 108 |
(rather than the equation counter). |
| 109 |
- Add starred \exampleno* command that outputs the current example number value |
| 110 |
without stepping it. |
| 111 |
- Add macros \covexamplefs and \covexamplenofs for global setting of example text |
| 112 |
markup. |
| 113 |
|
| 114 |
* Version 2.1 (2019-05-12): |
| 115 |
- Add new option noglossbreaks that tries to prevent page breaks within glosses. |
| 116 |
- Add \glosspreamble command and preamble gloss macro option for arbitrary text |
| 117 |
preceding glosses. |
| 118 |
|
| 119 |
* Version 2.0 (2018-12-10): |
| 120 |
- Add new gloss macros (\digloss and \trigloss) for a more convenient, |
| 121 |
flexible and robust gloss insertion. |
| 122 |
- Add \glot command for customizable gloss translation line, |
| 123 |
together with customization possibilities. |
| 124 |
- Add possibility to customize \sentence font setting. |
| 125 |
- Add \lexp, \lcon and \lmean markup macros. |
| 126 |
|
| 127 |
* Version 1.8 (2018-12-07): |
| 128 |
|
| 129 |
- Fix font markup of second gloss line (do not force rm). |
| 130 |
- Add possibility to customize gloss line font setting. |
| 131 |
- Add possibility to customize example number display. |
| 132 |
|
| 133 |
* Version 1.7 (2018-09-08): |
| 134 |
|
| 135 |
- Fix alignment in subexamples. |
| 136 |
- Improve manual. |
| 137 |
|
| 138 |
* Version 1.6 (2018-09-07): |
| 139 |
|
| 140 |
- Introduce new environment subexamples for sub-examples such as 1a. |
| 141 |
- Introduce new command \pxref that outputs references to examples including |
| 142 |
parentheses. |
| 143 |
|
| 144 |
* Version 1.5 (2018-08-24): |
| 145 |
|
| 146 |
- Introduce new option "keeplayout" that allows to opt-out the |
| 147 |
layout presettings covington does (\raggedbottom, \textfloatsep). |
| 148 |
|
| 149 |
* Version 1.4 (2017-05-23): |
| 150 |
|
| 151 |
- Introduce a new macro \twodias that supersedes the rather odd \twoacc |
| 152 |
(which is kept for backwards compatibility). |
| 153 |
|
| 154 |
- Introduce macro \SetDiaOffset for more convenient setting of vertical |
| 155 |
distance in stacked diacritics. |
| 156 |
|
| 157 |
- LaTeX 2.09 is no longer officially supported (it might continue to work, |
| 158 |
but is not tested). |
| 159 |
|
| 160 |
- Documentation file converted to un*x line endings. |
| 161 |
|
| 162 |
* Version 1.3 (2017-04-05): |
| 163 |
|
| 164 |
- Gloss variants \xgll and \xglll that work inside macros (such as footnotes) |
| 165 |
but require explicit gloss line end markers (\xgle). |
| 166 |
|
| 167 |
- Provide way to globally alter indentation and vertical distance of reflists |
| 168 |
(new lengths \reflistindent, \reflistparsep and \reflistitemsep). |
| 169 |
|
| 170 |
* Version 1.2 (2016-08-26): |
| 171 |
|
| 172 |
- New length \examplenumbersep to adjust (increase) the horizontal space |
| 173 |
between example number and example text. |
| 174 |
|
| 175 |
- Add some more info about bibliography generation. |
| 176 |
|
| 177 |
* Version 1.1a (2016-07-07): |
| 178 |
|
| 179 |
- Fix encoding problem in documentation and some typos. No change in functionality. |
| 180 |
|
| 181 |
* Version 1.1 (2016-07-06): |
| 182 |
|
| 183 |
- The package now uses NFSS font commands if available (fallback for LaTeX 2.09 |
| 184 |
is still provided). |
| 185 |
|
| 186 |
- Work around clash with classes/packages that define their own example and |
| 187 |
examples environments (most notably the beamer class) as well as execise |
| 188 |
environments. The covington package no longer blindly attempts to define |
| 189 |
these environments. By default, it does not define them if they are already |
| 190 |
defined (covington's own environments, however, are still available via aliases). |
| 191 |
By means of a new package option, a redefinition can also be forced. |
| 192 |
|
| 193 |
- New length \twoaccsep allows for the adjustment of the distance between stacked |
| 194 |
accents. |
| 195 |
|
| 196 |
- Update manual. |
| 197 |
|
| 198 |
- New maintainer: J. Spitzmueller. |
| 199 |
|
| 200 |
- License has been changed to LPPL (in agreement with M. Covington). |
| 201 |
|
| 202 |
- Introduce version numbers. Arbitrarily, we start with 1.1. |