[texhax] \url has no effect.

Piter_ x.piter at gmail.com
Mon Jul 19 15:04:41 CEST 2010


Hi
It looks like hyperref conflicts with url. Does anybody know any workaround?
Thanks.
Petro

On Mon, Jul 19, 2010 at 2:24 PM, Piter_ <x.piter at gmail.com> wrote:

> Hi all.
> I can not figure out what is wrong in my file.
> I have ugly long links and adding \usepackage(url) does not fix it.
> Here is my header:
>
> % Created 2010-07-19 Mon 14:19
> \documentclass[11pt]{article}
> \usepackage[utf8]{inputenc}
> \usepackage[T1]{fontenc}
> \usepackage{fixltx2e}
> \usepackage{graphicx}
> \usepackage{longtable}
> \usepackage{float}
> \usepackage{wrapfig}
> \usepackage{soul}
> \usepackage{t1enc}
> \usepackage{textcomp}
> \usepackage{marvosym}
> \usepackage{wasysym}
> \usepackage{latexsym}
> \usepackage{amssymb}
> \usepackage{hyperref}
> \tolerance=1000
> \usepackage{pst-optexp}
> \usepackage[font=small,labelfont=bf]{caption}
> \captionsetup{figurewithin=section,tablewithin=section}
> \usepackage[authoryear]{natbib}
> \usepackage{color}
> \hypersetup{colorlinks=true}
> \usepackage{url}
> \providecommand{\alert}[1]{\textbf{#1}}
> \title{thesis}
> \author{Petro}
> \date{19 July 2010}
> \begin{document}
>
> \maketitle
> \setcounter{tocdepth}{3}
> \tableofcontents
> \vspace*{1cm}
> \section{Page setup}
> \label{sec-1}
> 12pt font, 1.5 lines spasing
> \section{Introduction}
> \label{sec-2}
> \subsection{Electron transfer theory}
> \label{sec-2_1}
>
>  \url{[[
> http://www.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.org
> ][
> http://www.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.orgwww.wikibooks.org
> ]]}
> \section{Matherials and methods}
> \label{sec-3}
> \subsection{Preparation of TUPS derivatives.}
> \label{sec-3_1}
>
> \end{document}
>
>
> Thanks in advance.
> Petro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20100719/af1a1faa/attachment.html>


More information about the texhax mailing list