Directory macros/latex/contrib/docshots
This LaTeX package helps you show TeX 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 – TeX samples next to their PDF snapshots
This LaTeX package helps you show TeX code next to the corresponding PDF snapshots, in two-column formatting. You can use it either in .dtx documentation or in .tex files.
Package | docshots |
Repository | https://github.com/yegor256/docshots |
Version | 0.4.3 2024-02-02 |
Licenses | MIT License |
Copyright | 2021–2024 Yegor Bugayenko |
Maintainer | Yegor Bugayenko |
Contained in | TeX Live as docshots MiKTeX as docshots |
Topics | Documentation support |