Verzeichnis macros/latex/contrib/ffcode
Fixed-Font LaTeX Primitive: \ff and \begin{ffcode}
This LaTeX package helps you write source code in your academic papers and make sure it looks neat. The package uses listings and tcolorbox packages.
First, install it from CTAN and then use in the preamble:
\documentclass{article} \usepackage{ffcode} \begin{document} The function \ff{r()} reads the file: \begin{ffcode} void r() { // read the file } \end{ffcode} \end{document}
Otherwise, you can download ffcode.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.
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (509.3k).
ffcode – Fixed-font code blocks formatted nicely
This LaTeX package helps you write source code in your academic papers and make it looks neat. It uses listings and tcolorbox, configuring them the right way, to ensure that code fragments and code blocks look nicer.
| Paket | ffcode |
| Repository | https://github.com/yegor256/ffcode |
| Version | 0.11.0 2025-07-08 |
| Lizenzen | MIT License |
| Copyright | 2021–2025 Yegor Bugayenko |
| Betreuer | Yegor Bugayenko |
| Enthalten in | TeX Live als ffcode MiKTeX als ffcode |
| Themen | Verbatim Zeilennummern Listings |