Hang caption in lstlisting
If I use the following command \usepackage[skip=20pt,hang]{caption} when a
caption is very long it hangs in figures and tables, however, if the
caption is of a lstlisting environment it doesn't. Besides, I haven't seen
any "hang" option in the listings package. How could it be solved?
Figure hanging:
Lstlisting not hanging:
No comments:
Post a Comment