# Reference a picture [duplicate]

I am writing a PhD thesis. Sometimes when I reference to a figure the following problem occurs. In PDF the word Fig.[number of figure] are written in two lines (Fig. and [] are separated). How to write the code that it will not be separated.

my code for figure:

\begin{figure}[h!]
\centering
\includegraphics[width=1.0\textwidth]{(4)13.png}
\caption{The dielectric permittivity bla bla bla.}
\label{(4)13}
\end {figure}


in text it is like

At the end of this chapter let us compare the numerical results for the phase mode frequency and dielectric response with experimental results. Fig. \ref{(4)13} shows the relaxation frequency ($\omega$) bla bla bla...


And in the PDF looks like:

Thank you very much for your help.

Best regards, Kristina

## marked as duplicate by David Carlisle floats 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(); } ); }); }); Jan 13 '16 at 16:58

• Welcome to TeX.SX! This is a situation where you can use a ~, which indicates a non-breaking space. I.e. Fig.~\ref{abc}. – Torbjørn T. Jan 13 '16 at 11:42