I have prepared some nice posters using beamerposter, but now I came to a poster where I would like to add a few lines of code.

By just adding [fragile] to the frame I get an error:

File ended while scanning use of \next

How could I obtain this?

1 Answer 1


Depending on the extent of your verbatim needs, the verbatimbox package might help. It will allow you to create the verbatim content and stick it into a LaTeX savebox prior to entering the frame. Then, in the frame, merely recall the savebox.

here is a test$%!
Here is another Test&*{}@\
\fbox{\VerbA}  \quad and\quad \VerbB

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .