On Wednesday 20 April 2005 11:37 am, Herbert Voss wrote:
> Steve Litt wrote:
> > I have a special LyX URL environment that references LaTeX URLL
> > environment that redefines quote, but no matter how hard I try, I can't
> > get it to underline more than the first character of the URL. I already
> > have the ulem package loaded, not that it's helped me.
> >
> > Here's one of the things I tried:
> >
> > \let\URLL=\quote
> > \let\endURLL=\endquote
> > \renewenvironment{URLL}{%
> > \begin{quote}%
> > \small\begin{uline}%
> > }{%
> > %modifications in the end of the environment
> > \end{uline}%
> > \end{quote}%
> > }
> >
> > I also tried removing the \begin, and the entire \end{uline} -- no joy.
> > What can I do?
>
> write into the preamble:
>
> \usepackage{url}
> \let\OldUrl\url
> \renewcommand\url[1]{\underline{\OldUrl{#1}}}
>
> and use insert->url in the usual way
>
> Herbert
Thanks Herbert,
Using the above code, I still have the problem that when I put it into an
environment, it only underlines the first character of the paragraph.
SteveT
Steve Litt
Author:
* Universal Troubleshooting Process courseware
* Troubleshooting Techniques of the Successful Technologist
* Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
* Troubleshooters.Com
* http://www.troubleshooters.com