CTAN Comprehensive TeX Archive Network

Verzeichnis macros/latex2e/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).

...
Gästebuch Seiten-Struktur Impressum Autor kontaktieren