{urls} is about handling URLs in (La)TeX documents, commonly by using the \url macro provided by the {url} and {hyperref} packages.

learn more… | top users | synonyms

6
votes
2answers
962 views

How to put the url centered under the caption of a figure?

I would like to put a source under the caption of my figure. The only thing that is not working is when I put the URL, the caption and the URL don't stay in the middle. Also \url{...} didn't work by ...
7
votes
1answer
2k views

Difference between pdf code produced by \href and \url

I am trying to use \href to link local video files to my LaTeX document. The problem is that while the \url command works fine, the \href command (used with "run:") does not. Case 1: The files do ...
13
votes
2answers
1k views

Two questions on biblatex: remove parentheses on urldate, and change “url” label

I have a couple of questions on biblatex. First: When I use the urldate field in a biblatex entry, I get as a result the following string (e.g.): . . . (visited on 01/02/2012). With ...
7
votes
1answer
331 views

How can I set the urlseen label of biblatex?

I'd like to set the default visited on <date> to accessed on <date> (as per my teacher's specifications). I believe I need to change the urlseen label to accomplish this. Is changing the ...
7
votes
1answer
2k views

Avoiding “\Url Error ->\url used in a moving argument.” in a custom environment

I have a document I'm trying to render using two classes -- my university's dissertation .cls, and tufte-latex (my uni's styleguide is ugly, and I want to make a pretty-print version for my own ...
10
votes
2answers
618 views

How to emulate \url hyphenating without using the url package?

I'm forced to avoid the url package in a proceedings paper (!) but my bibliography includes a long URL. I already \newcommand{\url}[1]{{\tttext{#1}}} but the URL spills over to the margin as it ...
1
vote
1answer
454 views

Last visited URL in apa style

I'm using the apa-good.bst file to typeset my bibliography in APA style. I need to include something like "Last visited..." (using the urldate variable) when I cite a webpage but I don't know how I ...
13
votes
1answer
3k views

Hyperref + \url: long URL with dashes won't break

I've discovered a rather weird behaviour of PdfLaTeX. In this example \documentclass{article} \usepackage[breaklinks]{hyperref} \begin{document} ...
3
votes
1answer
460 views

How do I turn titles into hyperlinks in verbose mode using BibLaTeX and hyperref?

I'm using hyperref and BibLaTeX's verbose style, and would like for bibliography entries and initial (but not subsequent) citations, instead of printing out a URL, to use the URL to make the titles of ...
5
votes
1answer
303 views

Selective URLs in bibliography using alpha or alphaurl

Is there a way to selectively adding URLs to bibliorgraphy elements? I use Mendeley and it automatically adds URLs to the DOI entries but I dont want these. I don't want to eliminate all URLs though, ...
8
votes
2answers
2k views

Flash animation and beamer

I want to have a flash file (.swf) in my beamer document on a Linux machine, using pdfLaTeX and Evince. Is there a way to make a link to that file which runs an external player or even better, is it ...
25
votes
2answers
2k views

biblatex: make title hyperlink to DOIs, URL or ISBN

This is a follow up question to biblatex: Make title hyperlink to doi url (if available). My reference database contains some DOI codes, but mainly normal URLs and some ISBN/ISSN codes. What I would ...
6
votes
2answers
436 views

How to make URL bold?

%url package \usepackage{url} %code that makes URL font the same \newcommand{\urlwofont}[1] { \urlstyle{same}\url{#1} } \begin{figure}[htbp] \centering \includegraphics[width=8cm, ...
2
votes
2answers
634 views

How can I have a footnote with an \url in a section title?

When I have a footnote with an \url in the section-header, the table of contents shows nothing with it. Why and how can I fix the issue?
11
votes
1answer
1k views

Breaking links and escaping characters in bibliographies with backlinks and ocgcolorlinks set

I have the following situation: I have to use the ocgcolorlinks option in hyperref, so that links are not broken. So I had the idea to set each char as a link with \href. After putting some code ...
3
votes
1answer
151 views

Trying to stop altering symbols in URLs

I am trying to create a bibliography and my main source of information are websites. The problem I'm having is when copying the URL into the bibliography, LaTeX doesn't like typesetting all the ...
2
votes
0answers
853 views

URLs with many special characters defined using \urldef [closed]

I am attempting to use an \urldef defined URL to print as a clickable link. But it's resulting in an error. So far I have this: \documentclass{article} \usepackage{hyperref} \usepackage{url} ...
6
votes
1answer
2k views

Remove URL in IEEEtran bibliography

The question refers to the topic: Disabling URLs in bibliography Could you think of a solution, which allows to have the URL in bibliography entry or not depending on the entry type. I. e. remove the ...
2
votes
1answer
2k views

Method for LaTeX to ignore special characters in a phrase

Is there an easy way for Latex to ignore all special characters in a given phrase? For example, I had to copy several links which contained the symbol _ . I know that it is possible to put \ in front ...
10
votes
1answer
327 views

biblatex: only wrap url string in \url if it is not already wrapped that way

I am using a customized BibLaTeX bibliography style in which I use the following macro: \newbibmacro{archive}[1]{\\\textsc{Archived:}\ \url{#1}}. I use this to format certain urls, it is called from ...
2
votes
3answers
213 views

Bibtex stretches the first line

The first line looks very "stretched". How can I improve the formating? @misc{Rel1, author = {J. Citizen}, title = {Kinect used as Topshop dressing room}, month = {may}, year = {2011}, ...
5
votes
2answers
4k views

Displaying % (percent) symbol in footnotes using \url [duplicate]

Possible Duplicate: Getting percent sign into an URL in a footnote In reference to this question: Getting percent sign into an URL in a footnote I'm using the url package and am still ...
4
votes
2answers
560 views

Break url in tabular

How can I break hyperref URLs in a tabular environment. Consider the following example: \documentclass{article} ...
3
votes
2answers
2k views

Best practice for quoting a website

How should I quote a website? E.g. I'm using the android reference. Here is my BibTeX entry: @ELECTRONIC{Google2012, author = {Google}, month = {01}, year = {2012}, title = {Android ...
2
votes
1answer
175 views

Wrapfigure & Footnote, hyperlinks

I want to include a figure in my text. The text should be wrapped around this figure, thus using environment wrapfigure. In the figure's caption I need a footnote, that includes the reference to the ...
5
votes
1answer
2k views

How to hide URL from bibliography by using a harvard style?

I want my bibliography without URL fields. After modifying natbib here: \newcommand\harvardurl[1]{\textbf{URL:} \textit{#1}} to \newcommand\harvardurl[1]{} I noticed a blank line where the URL ...
4
votes
1answer
890 views

Displaying URL in bibliography exported from Mendeley

After following instructions from Mendeley on creating and exporting bib using bibtex, citations containing URL were incomplete in the bibliography output (url absent). For example: ...
2
votes
2answers
380 views

biblatex URL shown twice in bibliography

I didn't find a solution in the web, so I'm asking here. I am using authoryear-icomp style for my bibliography (without any modification). When I have a BibTeX entry like: ...
2
votes
1answer
2k views

add urls in reference

i want to add urls in my reference i am using the following code in my .tex file \bibitem{bl}Business Logic layer, \url{http://en.wikipedia.org/wiki/Business_logic_layer}, 23 12 2011. however, ...
3
votes
1answer
913 views

Undefined color error for URL, when compiling with XeLaTeX

I've defined a different color for hyperlink using \hypersetup command with urlcolor. When I am compiling it with XeLaTeX I am getting undefined color error for the URL link, but it works fine when I ...
15
votes
3answers
12k views

URL of cited web site in bibliography

I am using natbib und the chicago style as bibliography style. I am trying to cite a web site, but in the bibliography the URL (given in the BibTeX entry) is not printed. Is there a simple solution ...
7
votes
1answer
571 views

long URL's containing “-” in bibtex going beyond page

I have tried several top answers with no luck. Here is what I have in my preamble(compiling with xelatex and bibtex). \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{natbib} ...
6
votes
1answer
1k views

Special footnotes for URL

I've made one command so as to not polluate text with web links. I would like to improve my command so as to do the following things. I would like that the footnotes used for URL have their own ...
6
votes
1answer
365 views

National characters in URLs not working with hyperref [duplicate]

Possible Duplicate: Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong Consider the following example: \documentclass[a4paper]{article} ...
7
votes
2answers
2k views

Tool for generating a website's BibTex using the URL?

Is there an existing tool for generating BibTeX of a website using its URL? What I'm thinking is something like a web tool or a Python script that does this.
6
votes
2answers
4k views

Get rid of ISSN, URLs and DOIs in references

I am having the same problem as described here (i.e., I get unwanted URLs, DOIs, etc showing up in my reference section): Biblatex: Get rid of ISSN, URLs and DOIs in references Two caveats: I am ...
8
votes
1answer
822 views

Avoiding inelegant splits on URLs

I am using biber and biblatex to process my bibliography. URLs are handled with breaklinks=true under hyperref. I have found an inelegant breakup of a hyperlink resulting in a reference like this ...
1
vote
1answer
230 views

lowtilde option for URL package

[edited to correct confusion over paths] My Mac version of latex includes two versions of url.sty --- one is from 2006 and supports [lowtilde] while the other is from 1999 and does not: $ grep 'ver ...
2
votes
0answers
168 views

LaTeX: Show return symbol at url line break [duplicate]

Possible Duplicate: Option to break urls with carriage-return symbol? I wonder if there is a possibility to show symbol (for example return symbol U+23CE or latex \hookleftarrow) at line ...
5
votes
2answers
637 views

urls do not show up in in biblatex-mla Works Cited list

Using the texlive distribution on Arch Linux. I have: \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style=mla]{biblatex} \bibliography{sources.bib} ... In sources.bib I have: ...
6
votes
1answer
571 views

How can I change the @ symbol in e-mail addresses?

I use \documentclass{article} \usepackage{hyperref} \begin{document} \href{mailto:e.xmaple@example.com}{e.xmaple@example.com} \end{document} This way I can write an email address, but I don't like ...
11
votes
3answers
3k views

Option to break urls with carriage-return symbol?

There are several ways to get long, uncooperative URLs to line-break in LaTeX. If you're using pdfLaTeX, then the hyperref package can break them across lines for you, roughly after any /. If you ...
2
votes
2answers
616 views

How to print '~' character using latex [duplicate]

Possible Duplicate: URL with tilde character? I tried \~, which doesn't work; the ~ will appear on top of the following letter. ~ will print nothing but an empty spot. What I want is to ...
2
votes
1answer
2k views

Problem with escaped characters in bibliography when using Mendeley, natbib & url

This is my first question here, so apologies if I miss any conventions. I'm writing a dissertation in LaTeX. My sources are in Mendeley, which is generating a BibTeX file. I'm using the natbib ...
20
votes
6answers
9k views

Disabling URLs in bibliography

I use Mendeley for article management and export the related items to a bib file for referencing in LaTeX documents. I use IEEEtran style and see that the bibliography items include URLs which I don't ...
1
vote
1answer
884 views

biblatex & Mendeley - remove obsolete data from bibliography [duplicate]

Possible Duplicate: Biblatex: Get rid of ISSN, URLs and DOIs in references I recently started using Mendeley and got very excited about the fact that it searches for all the data about the ...
2
votes
0answers
999 views

BibTeX style file with hierachical use of DOI, URL fields [closed]

My custom BibTeX style currently does almost exactly what I want it to do: The title of the paper is a hyperlink, using the URL field in the BibTeX if one is provided, and using http://dx.doi.org/ ...
8
votes
1answer
2k views

URL linebreak in footnote

I use a footnote with a too long url, so that I'd like to see a linebreak. The url package does linebreaks automatically as far as i know, but in the footnote it won't do it. Anyone have a solution to ...
28
votes
3answers
3k views

Biblatex: Get rid of ISSN, URLs and DOIs in references

My .bib files are generated by Mendley desktop and usually contain URLs, ISSN and DOIs, but I don't want those to be displayed in my list of references. How can I get rid of them (short of deleting ...
3
votes
1answer
673 views

Bad formatting using URLs in bibtex

Is there a better way to include URLs in bibtex which result in a fine formatting? At the moment I do the following: @misc{jvmti, author = {Oracle}, title = {{JVM TI Reference}}, ...