Directory macros/latex/contrib/ffcode
This LaTeX package helps you write source code in your academic papers and make sure it looks neat. The package uses minted
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}
The full example and all commands are available in the ffcode.tex
file.
If you want to contribute yourself, make a fork, then create a branch, then run make
in the root directory. It should compile everything without errors. If not, submit an issue and wait. Otherwise, make your changes and then run make
again. If the build is still clean, submit a pull request.
Download the contents of this package in one zip archive (186.7k).
ffcode – Fixed-font code blocks formatted nicely
This LaTeX package helps you write source code in your academic papers and make sure it looks neat. It uses minted and tcolorbox, configuring them the right way, to make sure code fragments and code blocks look nicer.
Package | ffcode |
Bug tracker | https://github.com/yegor256/ffcode/issues |
Repository | https://github.com/yegor256/ffcode |
Version | 0.4.1 |
Licenses | MIT License |
Copyright | 2021–2022 Yegor Bugayenko |
Maintainer | Yegor Bugayenko |
Contained in | TeX Live as ffcode MiKTeX as ffcode |
Topics | Verbatim Line nos Listing |
