CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/docshots

README.md

l3build CTAN License

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

First, install it from CTAN and then use 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 informaiton, read \TeX{} Book by Donald Knuth.
\end{document}

Otherwise, you can download docshots.sty and add 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.

Download the contents of this package in one zip archive (338.0k).

docshots – samples next to their PDF snapshots

This package helps you show code next to the corresponding PDF snapshots, in two-column formatting. You can use it either in .dtx documentation or in .tex files.

Packagedocshots
Repositoryhttps://github.com/yegor256/docshots
Version0.4.3 2024-02-02
LicensesMIT License
Copyright2021–2024 Yegor Bugayenko
MaintainerYegor Bugayenko
Contained inTeX Live as docshots
MiKTeX as docshots
TopicsDocumentation support
...
Guest Book Sitemap Contact Contact Author