| 1 |
 |
| 2 |
|
| 3 |
|
| 4 |
# TypoG – Typographic Fine-Tuning for LaTeX |
| 5 |
|
| 6 |
LaTeX package `typog` provides macros for (micro-)typographic enhancements; |
| 7 |
it covers a variety of topics: |
| 8 |
|
| 9 |
* Precise hyphenation control |
| 10 |
* Disable/break ligatures |
| 11 |
* Manual italic correction |
| 12 |
* Extra kerning for slash and hyphen |
| 13 |
* Extra spacing for en-dash and em-dash |
| 14 |
* Raising selected characters (e.g. hyphen, en-dash, and em-dash) |
| 15 |
* Adjusting the vertical position of `itemize`'s labels |
| 16 |
* Aligning of the last line of a paragraph |
| 17 |
* Filling of the last line last line of a paragraph |
| 18 |
* Word spacing control |
| 19 |
* [Microtype](https://github.com/schlcht/microtype) front-end |
| 20 |
* Slightly sloppy paragraphs |
| 21 |
* Vertically partially-tied paragraphs |
| 22 |
* Breakable displayed equations |
| 23 |
* Setspace front-end |
| 24 |
* Smooth ragged-right paragraphs |
| 25 |
|
| 26 |
Moreover `typog` provides an environment to flag interesting parts of |
| 27 |
the information deluge typically accumulating in a LaTeX *log*-file |
| 28 |
and an associated tool, **typog-grep**, that selectively retrieves |
| 29 |
these parts. |
| 30 |
|
| 31 |
|
| 32 |
## Installation |
| 33 |
|
| 34 |
The minimally necessary files to install typog are *typog.ins* and *typog.dtx*. Running LaTeX |
| 35 |
on *typog.ins* in particular produces *typog.sty*: |
| 36 |
|
| 37 |
latex typog.ins |
| 38 |
|
| 39 |
After extraction from *typog.dtx* place *typog.sty* in a directory mentioned in your TEXINPUTS |
| 40 |
paths or copy it into one of the directories for your LaTeX installation's *sty*-files and run |
| 41 |
**mktexlsr** or equivalent. |
| 42 |
|
| 43 |
To build the documentation it is easier to use the GNU *Makefile*: |
| 44 |
|
| 45 |
make |
| 46 |
|
| 47 |
To construct the manual *typog.pdf* or the usage example *typog-example.pdf* a working |
| 48 |
[MetaPost](https://tug.org/metapost.html) installation and some |
| 49 |
[POD](https://perldoc.perl.org/perlpod) utilities of a [Perl](https://www.perl.org/) |
| 50 |
distribution are required. Cautious users can run |
| 51 |
|
| 52 |
make tool-check |
| 53 |
|
| 54 |
beforehand to verify that the required utilities are installed and working. |
| 55 |
For an overview over the most important *Makefile* targets use |
| 56 |
|
| 57 |
make help |
| 58 |
|
| 59 |
|
| 60 |
## Usage |
| 61 |
|
| 62 |
Load the package with the usual incantation |
| 63 |
|
| 64 |
\usepackage{typog} |
| 65 |
|
| 66 |
See Section 2 of the package documentation for available options. |
| 67 |
|
| 68 |
|
| 69 |
## Documentation |
| 70 |
|
| 71 |
The package documentation can be found |
| 72 |
[online](https://cspiel.github.io/typog/). |
| 73 |
|
| 74 |
|
| 75 |
## Credits |
| 76 |
|
| 77 |
Typog is written by Ch. L. Spiel <[email protected]>. |
| 78 |
|
| 79 |
|
| 80 |
## License |
| 81 |
|
| 82 |
Released under the |
| 83 |
[LaTeX Project Public License v1.3c](https://www.latex-project.org/lppl.txt) |
| 84 |
or later. |