How to get two verbatim environments inside floats with auto side-by-side header?
\usepackage{float,fancyvrb} ... \DefineVerbatimEnvironment{filecontents}{Verbatim}% {fontsize=\small, fontfamily=tt, gobble=4, frame=single, framesep=5mm, baselinestretch=0.8, labelposition=topline, samepage=true} \newfloat{fileformat}{thp}{lof}[chapter] \floatname{fileformat}{File Format} \begin{fileformat} \begin{filecontents} ABC \end{filecontents} \caption{example.abc} \end{fileformat} \begin{fileformat} \begin{filecontents} CBA \end{filecontents} \caption{example.cba} \end{fileformat}
So basically I just need these examples to be side by side (and while maintaining automatic font deletion). I tried for a while.
layout latex tex
Egon
source share