Skip to main content

New answers tagged

1 vote
Accepted

How to use verbatim code in the bib file?

I would do it this way: \documentclass{article} \usepackage{biblatex} \usepackage{minted} \addbibresource{main.bib} \begin{document} \nocite{*} \printbibliography \end{document} where main.bib @...
hair-splitter's user avatar
0 votes

How to use verbatim code in the bib file?

It works to move the code in to a separate file and then input that file in \printbibliography: \documentclass{article} \usepackage{biblatex} \addbibresource{main.bib} \usepackage{minted} \setminted{...
jakun's user avatar
  • 6,085
3 votes

Syntax highlighting with lua

Instead of outputting colour-changing macros, we can scan in the verbatim text with token.scan_list(), change the colour of the glyph nodes with optex.set_node_color(), then write them to the page ...
Max Chernoff's user avatar
  • 7,461

Top 50 recent answers are included