CTAN Comprehensive TeX Archive Network

Verzeichnis macros/latex/contrib/docshots

README.md

Nicely Rendered Examples for Your .dtx File

l3build CTAN License

This package helps you show code next to its PDF snapshot, in two-column formatting. You can use it either in .dtx documentation or in a .tex file.

First, install it from CTAN and then use it like this:

\documentclass{article}
\usepackage{docshots}
\begin{document}
Here is how you can use \LaTeX:

\begin{docshot}
\documentclass{article}
\pagestyle{empty}
\begin{document}
  Hello, \LaTeX!
\end{document}
\end{docshot}

For more information, read \TeX{} Book by Donald Knuth.
\end{document}

Otherwise, you can download docshots.sty and add it to your project.

If you want to contribute yourself, make a fork, then create a branch, then run l3build ctan in the root directory. It should compile everything without errors. If not, submit an issue and wait. Otherwise, make your changes and then run l3build ctan again. If the build is still clean, submit a pull request.

Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (431.3k).

docshots – samples next to their PDF snapshots

This package helps you render examples from your DTX documentation and then embed PDF snapshots into it, next to the source code.

Paketdocshots
Repository
Version0.5.0 2026-07-15
LizenzenMIT License
Copyright2021–2026 Yegor Bugayenko
BetreuerYegor Bugayenko
Enthalten inTeX Live als docshots
MiKTeX als docshots
ThemenDokumentation
...
Gästebuch Seiten-Struktur Impressum Autor kontaktieren