I have a minted code listing, displayed in a multicol environment with a separating border between the columns:
The border is too close to some of the content, like stracka(1,sg,ka).
and stracka(3,sg,ka).
. What's a good way to fix it?
test.tex:
RequirePackage[l2tabu, orthodox]{nag}
\documentclass[a4paper,12pt,oneside]{scrartcl}
\usepackage{multicol}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[swedish]{babel}
\usepackage{lmodern}
\usepackage[a4paper]{geometry}
\usepackage{microtype}
\usepackage{color}
\usepackage[all]{xy}
\usepackage{minted}
\usepackage{caption}
\setkomafont{disposition}{\normalfont\bfseries}
\renewcommand\listingscaption{Kodlistning}
\begin{document}
\setlength{\columnseprule}{0.5pt}
\begin{multicols}{4}
\inputminted[]{prolog}{someprolog.pl}
\end{multicols}
\label{Blah}
\captionof{listing}{Beskrivande text}
\end{document}
someprolog.pl:
stracka(1,c,sg).
stracka(1,sg,ka).
stracka(1,ka,o).
stracka(1,o,t).
stracka(2,c,sg).
stracka(2,sg,sm).
stracka(2,sm,r).
stracka(2,r,h).
stracka(3,c,sg).
stracka(3,sg,ka).
stracka(3,ka,o).
stracka(3,o,kr).
stracka(4,c,sg).
stracka(4,sg,ka).
stracka(4,ka,o).
stracka(4,o,j).
stracka(5,c,sg).
stracka(5,sg,sm).
stracka(5,sm,r).
stracka(5,r,n).
stracka(6,c,sg).
stracka(6,sg,sm).
stracka(6,sm,r).
stracka(6,r,h).
stracka(7,c,st).
\setlength{\columnsep}{5pt}
helps?latexmk --pdf 2>&1 | grep overfull
was blank) when compiling.