## LaTeX forum ⇒ General ⇒ Small question regarding referencing Topic is solved

LaTeX specific issues not fitting into one of the other forums of this category.
Crysis85
Posts: 3
Joined: Wed Dec 18, 2013 8:44 pm

### Small question regarding referencing

It may be a stupid question but I wonder
what's the difference between
See picture \ref{fig:name} on page \pageref{fig:name}

and
See picture ~\ref{fig:name} on page ~\pageref{fig:name}

with the tilda?
Tried both "versions" and the output looks the same...

Tags:

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm
Presumably you actually want
See picture~\ref{fig:name} on page~\pageref{fig:name}
The tilde is used to create a non-breaking space, so with a 'normal' space as well you've got too big a gap. You want a non-breaking space here so the number can't get split to the start of a line.
Joseph Wright