# Directory macros/latex/contrib/ffcode

This 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() {
}
\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.