# contents in list of figures are crossing the border [duplicate]

This question already has an answer here:

Please look at the figure above. The contents in the List of Figures are crossing the border and they are not appearing fully.

This is the code that I found in the source latex file.

 \newpage
\makeatletter
\let \asas \ps@plain
\let \ps@plain \ps@empty
\makeatother \large
\tableofcontents
%\makeatletter
%\let \ps@plain \asas
%\let\asas\relax
%\makeatother
%\thispagestyle{empty}
\listoffigures
%\thispagestyle{empty}
\listoftables
%\thispagestyle{empty}


What can be done ?

## marked as duplicate by Johannes_B, Gonzalo Medina tables StackExchange.ready(function() { if (StackExchange.options.isMobile) return; $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() { var$hover = $(this).addClass('hover-bound'),$msg = $hover.siblings('.dupe-hammer-message');$hover.hover( function() { $hover.showInfoMessage('', { messageElement:$msg.clone().show(), transient: false, position: { my: 'bottom left', at: 'top center', offsetTop: -7 }, dismissable: false, relativeToBody: true }); }, function() { StackExchange.helpers.removeMessages(); } ); }); }); Feb 18 '15 at 22:33

• Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Jul 1 '14 at 5:52
• The long entries in your list of figures have their origin in the \caption command of some \begin{figure}...\end{figure} environment. \caption has an optional argument, where you can provide a short title designed for the List of figures such as \caption[Short title]{This is a really long,long,long description which should not be in the LOF} – user31729 Jul 1 '14 at 5:54
• The \let\asas stuff looks strange. What is your intention? – user31729 Jul 1 '14 at 5:55