On 11.12.07, [EMAIL PROTECTED] wrote: > On Tue, 11 Dec 2007, Jürgen Spitzmüller wrote:
> I forgot to mention that I have terms like: > /home/\emph{user}/public\_html/ > (I can remove the \_ with _ if using \url{}.) > How can I emphasize a part of the \url{} output? 1. The `listings` package comes to my mind. The documentation says Other features There are still features not mentioned so far: automatic breaking of long lines, the possibility to use LaTeX code in listings, automated indexing, or personal language definitions. It supports inline "code" The command \lstinline pretty-prints the code, for example `var i :integer;' is typeset by `\lstinline!var i:integer;!'. The exclamation marks delimit the code and can be replaced by any character not in the code; \lstinline$var i:integer;$ gives the same result. However, listings is really complex, so reading the users guide and experimenting with settings is almost a must. 2. Alternatively, insert "soft-breaks without hyphen", I know they exist with the Babel "German" option as "" (two "), however trying this in LyX with ERG did not work here (and I do not have the time to test) :-( 3. there is a LaTeX package path.sty (however it seems to be rather a predecessor of url.sty also typesetting in tt) GM