2) You cannot put verbatim in the argument of \parbox, \mbox, \makebox, or \fbox. That's because verbatim is vertical material (that only minipage and \parbox can be used), and it changes category codes heavily (that you can't use it in a argument). You can, when necessary, use lrbox environment to save the box, for future use: