CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/ffcode

README.md

Fixed-Font Primitive: \ff and \begin{ffcode}

make CTAN License

This 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.

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

ffcode – Fixed-font code blocks formatted nicely

This package helps you write source code in your academic papers and make it looks neat. It uses minted and tcolorbox, configuring them the right way, to ensure that code fragments and code blocks look nicer.

Packageffcode
Repositoryhttps://github.com/yegor256/ffcode
Version0.9.3 2024-03-23
LicensesMIT License
Copyright2021–2024 Yegor Bugayenko
MaintainerYegor Bugayenko
Contained inTeX Live as ffcode
MiKTeX as ffcode
TopicsVerbatim
Line nos
Listing
...
Guest Book Sitemap Contact Contact Author