On Mon, Aug 25, 2008 at 11:26:02AM +0100, Anthony Campbell wrote: > On 25 Aug 2008, Andre Poenitz wrote: > > On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote: > > > Is there any way to reduce the spacing between the slashes in hyperrefs > > > - http:// ? > > > > > > I don't mean to make cross-references; just to give cites in footnotes > > > and bibliographies for a book. > > > > The only solution I can think of right now is to use plain LaTeX > > in an 'ERT Box': > > > > \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)} > > > > > > Andre' > > Yes, this is the solution I've come up with myself. But it seems odd > that there is no more elegant way of doing this; it must come up often > these days.
Well, "elegant" is in the eye of the beholder. You can try to put something like \let\hreforig\href \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2} \def\href#1#2{\hreforig{#1}{\foo#2==}} in to the preamble and use the hyperref insets as usual. Andre'