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
1answer
280 views
Prevent caption to appear on separate page
I'm using a custom listing environment which does not float taken from
Code spanning over two pages with minted, inside listing with caption.
The caption is done with the caption package.
The ...
5
votes
2answers
763 views
minted's listing environment with hyperref and caption package together
I use the minted package for code highlight. I use its listing environment.
I also use the hyperref package to provide links all through my document: figures, tables, listings, etc.
If I import the ...