I want to center a box containing a verbatim environment. The (almost)MWE below is my attempt to use the answer at Center-align the verbatim environment .
\documentclass{article}
\usepackage{verbatimbox}
\usepackage{amsmath}
\begin{document}
The table at \verb!http://www.census.gov/govs/state/10lottery.html!
lists the following data for the 2010 Texas lotteries:
\begin{center}
\begin{verbbox}
Income Apportionment of funds
(ticket sales Prizes Administration Proceeds
excluding available
commissions)
3,542,210 2,300,182 184,980 1,057,048
\end{verbbox}
\end{center}
Since
%
\begin{equation*}
\frac{2,300,182}{3,542,210} = 0.649363533 \approx 65\%
\end{equation*}
%
Texas returned 65 cents on the dollar in lottery payouts in 2010 --
three cents more than the national average.
\end{document}
In the output, the boxed text has disappeared: