I am using the memoir class, Lyx 1.6.4 and want to write the following: Web sites:
University Hospital Llandough, Cardiff: \url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405&_dad=portal&_schema=PORTAL} East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, Cardiff Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR http://www.wales.nhs.uk/hospitals.cfm Ysbyty Gwynedd Hospital, Bangor: http://www.northwestwales.org/WiSSCMS-en-308.aspx _______________ I have the following in the preamble: \usepackage{booktabs} \usepackage{graphicx} \usepackage{color} %\usepackage[% %colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,% %pdfstartview=FitH,% %bookmarksopen=true,bookmarksopenlevel=0,% %plainpages=false,pdfpagelabels,% %pagebackref=true,% %pdftoolbar=false]{hyperref} \usepackage{url} %% Define a new 'leo' style for the package that will use a smaller font. %\makeatletter %\def\...@leostyle{% \...@ifundefined{selectfont}%{\def\urlfont{\sf}}%{\def\urlfont{\small\ttfamily}}} %\makeatother %% Now actually use the newly defined style. %\urlstyle{leo} \usepackage{breakurl} Problem despite trying the insert URL option in lyx or the above putting the url as ERT i have not been able to get it to break appropriately and the url goes beyond the text margins. I have tried the suggestion to put it as \href{url}{...} as well I would appreciate any help with this Regards Vivek