I have a pchstack environment from the cryptocode package that is slightly too wide to fit within the text width. I want to center it anyway such that it encroaches on both margins. A minimal example would look like this.
\documentclass{article}
\usepackage{cryptocode}
\begin{document}
\begin{center}
\begin{pchstack}[boxed]
\makebox[1.2\textwidth]{}
\end{pchstack}
\end{center}
\end{document}
Now unsurprisingly this does not actually work. There are several answers here for figures and tables that suggest putting the content into a \makebox[0pt]{...} or an adjustbox. However for reasons I don't know, the pchstack environment can't be but in a box. Making any box around it such as
\documentclass{article}
\usepackage{cryptocode}
\begin{document}
\begin{center}
\makebox[0pt]{
\begin{pchstack}[boxed]
\makebox[1.2\textwidth]{}
\end{pchstack}
}
\end{center}
\end{document}
leads to pdflatex to complain that
! LaTeX Error: Something's wrong--perhaps a missing \item.
Is there a different way to center something that's too wide or do I need to get the cryptocode package fixed?
