
Estou tentando colocar um quadro de código gerado com listings
pacote no meio de uma página horizontal e vertical. Como eu posso fazer isso?
Editar eu:
My code is this:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\begin{document}
\begin{lstlisting}[frame=single,title=1.1]
Code goes here!
\end{lstlisting}
\end{document}
Responder1
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\begin{document}
\leavevmode\vfill
\begin{lstlisting}[frame=single,title=1.1]
Code goes here!
\end{lstlisting}
\vfill
\end{document}