| 1 |
# Package `setspaceenhanced` |
| 2 |
|
| 3 |
Copyright © 2008–2024 Markus Kohm |
| 4 |
|
| 5 |
Release: 2024-11-12 v1.04 |
| 6 |
|
| 7 |
License: LPPL 1.3c |
| 8 |
|
| 9 |
KOMA presents the `setspaceenhanced` package to extend the functionality of |
| 10 |
package [`setspace`](https://ctan.org/pkg/setspace). The `setspaceenhanced` |
| 11 |
package is part of the *third-party enhancements* project. |
| 12 |
|
| 13 |
---------------------------------------------------------------------------- |
| 14 |
|
| 15 |
This work may be distributed and/or modified under the conditions of |
| 16 |
the LaTeX Project Public License, version 1.3c of the license. |
| 17 |
The latest version of this license is in |
| 18 |
http://www.latex-project.org/lppl.txt |
| 19 |
and version 1.3c or later is part of all distributions of LaTeX |
| 20 |
version 2005/12/01 or later. |
| 21 |
|
| 22 |
This work has the LPPL maintenance status "maintained". |
| 23 |
|
| 24 |
The Current Maintainer and author of this work is Markus Kohm. |
| 25 |
|
| 26 |
---------------------------------------------------------------------------- |
| 27 |
|
| 28 |
# Abstract |
| 29 |
|
| 30 |
For several years |
| 31 |
[KOMA-Script](https://www.sourceforge.net/project/koma-script) provided a |
| 32 |
package `scrhack`, that has been made not only to improve the compatibility of |
| 33 |
third-party packages with KOMA-Script classes, but also to generally improve |
| 34 |
third-party packages. The package consisted not only in the package file |
| 35 |
`scrhack.sty` but also in several so called hacks as separate files with |
| 36 |
extension `.hak`. In the course of splitting off former KOMA-Script packages |
| 37 |
from the KOMA-Script collection, it was decided to create independent packages |
| 38 |
from the individual hacks. These new independent packages then serve as |
| 39 |
replacements for the original packages they were intended to improve. Package |
| 40 |
`setspaceenhanced` is such an enhancement package. It provides additional |
| 41 |
features and improvements by patching package |
| 42 |
[`setspace`](https://ctan.org/pkg/setspace). |
| 43 |
|
| 44 |
# Installation for Users |
| 45 |
|
| 46 |
If you are a user, you should wait until all the package has been added to |
| 47 |
your preferred TeX distribution. Then you can use the package manager of your |
| 48 |
TeX distribution to install the packages. |
| 49 |
|
| 50 |
# Unpacking for Distributors |
| 51 |
|
| 52 |
Distributors should download [the distribution from |
| 53 |
CTAN](https://www.ctan.org/pkg/setspaceenhanced). This consists in: |
| 54 |
|
| 55 |
* `setspaceenhanced.dtx` |
| 56 |
* `README.md` |
| 57 |
* `LICENSE.md` |
| 58 |
* `setspaceenhanced.pdf` |
| 59 |
|
| 60 |
If distributors also want to distribute `setspaceenhanced.sty`, they can |
| 61 |
unpack it using |
| 62 |
|
| 63 |
tex setspaceenhanced.dtx |
| 64 |
|
| 65 |
Note, that you have to use `tex` not `latex`, `pdflatex`, `xelatex` or |
| 66 |
`lualatex`! |
| 67 |
|
| 68 |
Note also, that a legal distribution consists at least in: |
| 69 |
|
| 70 |
* `setspaceenhanced.dtx` |
| 71 |
* `README.md` |
| 72 |
|
| 73 |
The following files are optionally, but must not be distributed without the |
| 74 |
previous ones: |
| 75 |
|
| 76 |
* `LICENSE.md` |
| 77 |
* `setspaceenhanced.sty` |
| 78 |
* `setspaceenhanced.pdf` |
| 79 |
|
| 80 |
# Unpacking and Installation for Developers |
| 81 |
|
| 82 |
Developers who want the current developer version of the code to be installed |
| 83 |
for testing, should clone [the `third-party-enhancements` |
| 84 |
repository](https://github.com/komascript/third-party-enhancements), e.g., |
| 85 |
using |
| 86 |
|
| 87 |
git clone https://github.com/komascript/third-party-enhancements.git |
| 88 |
|
| 89 |
You can than either unpack and install all the third-party enhancements using: |
| 90 |
|
| 91 |
l3build install --full |
| 92 |
|
| 93 |
from within the main directory of the cloned respository. For installation of |
| 94 |
`setspaceenhanced` only run the same command from within the |
| 95 |
`setspaceenhanced` subdirectory. For installation without the manual omit |
| 96 |
option `--full`, but this is not recommended for developers. |
| 97 |
|
| 98 |
# How to get the Manual |
| 99 |
|
| 100 |
After installation you should get the user manual using: |
| 101 |
|
| 102 |
texdoc setspaceenhanced |
| 103 |
|
| 104 |
See the manual of your TeX distribution for more information. |
| 105 |
|
| 106 |
Developers or distributors can also build the manual from the source using: |
| 107 |
|
| 108 |
l3build doc |
| 109 |
|
| 110 |
# How to Contribute |
| 111 |
|
| 112 |
To become a contributor, e.g., do heavy testing. If you find an issue, please |
| 113 |
report it using [the issue |
| 114 |
tracker](https://github.com/komascript/third-party-enhancements/issues). You |
| 115 |
can also become a developer and, e.g., make new test files to the |
| 116 |
packages. See the [`l3build`](https://ctan.org/pkg/l3build) manual for more |
| 117 |
information about tests. If you've created a new test and think that it would |
| 118 |
be useful, please either do a pull request or [add a new |
| 119 |
issue](https://github.com/komascript/third-party-enhancements/issues/new/choose) |
| 120 |
and include your test file. |
| 121 |
|
| 122 |
Another kind of contribution would be to contact an author of one of the |
| 123 |
third-party packages and convince her or him to integrate the code of the |
| 124 |
corresponding enhancement package from this project into her or his package. |
| 125 |
|
| 126 |
# How to Report Issues |
| 127 |
|
| 128 |
If you think you have found a bug (or another kind of issue) using |
| 129 |
`setspaceenhanced` you should use [the issue |
| 130 |
tracker](https://github.com/komascript/third-party-enhancements/issues). Please |
| 131 |
first search for similar issues already reported and maybe also already fixed |
| 132 |
and closed. Maybe the replies to such a similar report would help you too. |
| 133 |
|
| 134 |
If your issue is new, you should report it also using [the issue |
| 135 |
tracker](https://github.com/komascript/third-party-enhancements/issues). Please |
| 136 |
be kind, not only when writing the report but also when reading replies and |
| 137 |
commenting or answering. And please always add a minimal working example and |
| 138 |
usually the relevant parts of the `log`-file to your report. Please use the |
| 139 |
[markdown for |
| 140 |
code](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks) |
| 141 |
to add such files into the text of your report. The correct language |
| 142 |
identifier for LaTeX code would be `latex`. For `log`-files you won't need any |
| 143 |
language identifier. Usually you should not use attachments for code or |
| 144 |
`log`-files unless you've been asked to do so. And please note, reports should |
| 145 |
always be self-containing. External links often break and so the report become |
| 146 |
useles. |
| 147 |
|
| 148 |
# How to Say Thank You for my Work |
| 149 |
|
| 150 |
Hey, I'm doing this as a hobby. So no need to say thank you. But I'm a vain |
| 151 |
fop, so I'm certainly up for a quick thank you by email. On komascript.de you |
| 152 |
can find an [explanation of my wishes](https://komascript.de/wunschliste) if |
| 153 |
you want to give more. If you don't understand German, just click to links at |
| 154 |
that page. |
| 155 |
|
| 156 |
# Changes |
| 157 |
|
| 158 |
Following only important changes, which are relevant for average users, will |
| 159 |
be listed. [The complete history can be found in the |
| 160 |
repository.](https://github.com/komascript/third-party-enhancements/commits/main/setspaceenhanced) |
| 161 |
|
| 162 |
v1.01 2023-09-19: |
| 163 |
|
| 164 |
- option `fontsize` has been renamed to `keepfontsize` because of |
| 165 |
incompatibility with KOMA-Script → [issue |
| 166 |
1](https://github.com/komascript/third-party-enhancements/issues/1) |
| 167 |
|