0

The Association for Computing Machinery is currently transitioning to a unified LaTeX Class for all of their conference proceedings after August of 2017.

I've got several Minted blocks of code, which are too long to fit in a column of a two-column article. For figures and such, I can just use \begin{figure*}, but as far as I know, there's no equivalent for Minted (or Verbatim, which I think it is based off of).

I doubt I will be the only one trying to squeeze code snippets into an ACM paper.

Is there any way to do this, or a recommended way to get Minted to play nice with 2-column papers?

  • Please have a look to the topic minimal working example (MWE). It would be great to see minimal working examples in your questions. – Bobyandbob Jun 25 '17 at 21:46
1

Well i'm not an expert but I found out two ways to extend the minted code in one column.

First one: One Column

The \onecolumn permit to extend all in one column.

\onecolumn
\begin{minted}
# some 1-column code here!
\end{minted}

Second one: Float with listing environment

\begin{listing*}
\begin{minted}
# other 1-column code!
\end{minted}
\end{listing*}
  • Welcome to TeX.SX! Some compilable code that illustrates your solution would be nice. – Bobyandbob Jun 25 '17 at 21:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.