# tkzexample.sty — Package for the documentation of all tkz-* packages.

Release 1.51 2026/10/20

## Note

This package is highly experimental and subject to change without notice. tkzexample is a package to present examples and their sources. It is essential if you want to compile the documentation of my packages like \tkzname{tkz-euclide}. I needed for my first packages to work in UTF8 and to present my sources in French. These sources had accents so I had to adapt the code used by \tkzimp{T.Tantau} to present the examples of \tkzname{pgfmanual}. There are still some imperfections so I invite you to improve this code if necessary

## License

This work may be distributed and/or modified under the conditions of the
[LaTeX Project Public License](https://www.latex-project.org/lppl/), version 1.3c
or (at your option) any later version. See the files `LICENSE` and `lppl-1-3c.txt`.

This work has the LPPL maintenance status "maintained".
The Current Maintainer of this work is Alain Matthes.

## Installation

The package `tkzexample.sty` is present in `TeXLive` and `MiKTeX`, use the
package manager to install.


## How to use it

\begin{tkzexample}[options]  
    your code      
\end{tkzexample}  

The brackets are optional (since 1.50). With the option `break code`,
a long code can be split across pages (since 1.51).

## Changes

- 1.51 (2026/10/05) new option `break code` (`auto`, `fill`, `always`, `never`);
  `above skip` works; the options may contain `\par`.
- 1.50 (2026/10/05) corrections: xcolor and pgfkeys loaded, optional brackets,
  `overhang=false`, `inner right margin`, `inner bottom margin`, `hsep` in
  tkzltxexample, end of lines with `latex` and `vbox`, option `saved`
  (code only, overflow, files no longer overwritten), `\tkzSavedCode`.



## Author

Alain Matthes, 5 rue de Valence, Paris 75005, al (dot) ma (at) mac (dot) com
