I have looked at the first comment to this question on % in urls and found that I didn't need to type \
ahead of each %
. However, in WinEdt 7.1, everything from the first %
in the first URL is now greyed out and I do not know if this is why I am getting an error with the overfull \hbox
when I compile to PDF.
The problem in LaTeX is
proposal P293 (see \url{http://www.foodstandards.govt.nz/code/proposals/documents/Reanalysis%20of%20Nutriti.pdf} and \url{http://www.foodstandards.govt.nz/code/proposals/documents/P293_SD3.pdf} for the full analysis reports of the experiments).
The auto linebreak for the second URL should be after /code
and not after /proposals
as /proposals
is going past the right hand margin in my document.
How can I force the linebreak to occur in the correct place in the second URL and still have the link work correctly?
The start of my report class is
\documentclass[11pt,PhD]{muthesis}
\usepackage[english]{babel}
\usepackage{amsmath,amsthm}
\usepackage{amsfonts}
\usepackage[a4paper,layout=a4paper,
bindingoffset=4cm,left=0cm,right=2cm,
head=2.5cm, bmargin=2cm]{geometry}
\usepackage{microtype}
\usepackage{verbatim}
\usepackage{graphicx}
\usepackage{url}
\usepackage[round]{natbib}
\usepackage{listings}
\usepackage{booktabs}
\usepackage{multirow}
\RequirePackage[l2tabu, orthodox]{nag}
\usepackage{cleveref}