I have a document (an article) which I am writing and it includes a references section at the end in the form of a bibliography. I am using the hyperref package and setting the bibliography manually via
\begin{thebibliography}{9}
\bibitem{..}
\bibitem{..}
...
\end{thebibliography}
In the current font size (11, which doesn't seem unreasonable) the URL's I am inserting often run over several lines. I would like to shrink them to either size 10 or size 9 point font.
How can I do this?
Is there a \fontsize{text here} command or something like that which I can use?
\urlto set the URL, then you should follow the instructions listed in Forcing linebreaks in\url. It's better to maintain the same font size rather than switching to something smaller/different from the main text. If you really have to, you can use font switches/declarations, like{\small\ttfamily <url>}. See What point (pt) font size are\Largeetc.? for a list of font switches. – Werner Aug 31 '15 at 17:22\sloppyinside yourthebibliographyenvironment and then contain the URL inside\mbox{<url>}. For stepping down one point, use\small. See What point (pt) font size are\Largeetc.? – Werner Aug 31 '15 at 17:30\sloppydo? – user3728501 Aug 31 '15 at 17:37