Tagged Questions
5
votes
1answer
485 views
How to get caption above listing with minted?
I'm using the minted package. How can I get the caption to show before the code in the document?
\documentclass[a4paper]{scrartcl}
\usepackage{minted}
\begin{document}
\begin{listing}[H]
...
2
votes
0answers
272 views
The [H] “put it here” placement option doesn't work with floatrow [closed]
I'm using the minted, floatrow, caption, and listing packages to create code blocks like these:
To do this, I'm using a hack based on this answer. Here is what I have:
...
\usepackage{listings}
...