{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

13
votes
2answers
10k views

How to break long url in an item

I have an enumerate. In an item I have a long url. I use the package breakurl and it works fine outside the enumerate but not in the item. \usepackage[margin=3cm]{geometry} \usepackage{hyperref} ...
2
votes
0answers
63 views

Inserting an image using an http URL [duplicate]

Possible Duplicate: Can I use an image located on the web in a LaTeX document? I am trying to re-use the same pandoc/markdown source file to generate both HTML and LaTeX source and PDF. Is ...
8
votes
2answers
1k views

Line overflow with long filenames and urls

Consider the following text. Here /etc/postgresql/8.4/main/pg_hba.confoverflows into the margin, and is hypenated. /var/lib/pgsql/data/pg_hba.conf is also hyphenated, but does not overflow. So, I was ...
25
votes
5answers
6k views

Why are URLs typeset with monospace fonts by default?

When typesetting URLs in LaTeX using the url package, they are set in a mono space font by default. While I just accepted that as a fact for a long time, I am now starting to wonder why? In Browsers, ...
2
votes
2answers
4k views

Display urls in the reference section

I want to know how I can display a url to a site as reference in LaTeX. I need to have them at the end so that I can cite them from the other pages.
19
votes
1answer
3k views

Clickable “tel:” URL for TeX resume

I need to make my telephone number clickable. You might be familiar with this in Gmail's clickable phone numbers that dial out to your mobile phone, for example. I'm working on my resume, and I'm ...
24
votes
5answers
3k views

URL field only for certain reference types with biblatex

I'm using biblatex for my references. My bib file includes many references which I have imported from different sources. Not all references have a url entry and some of them are bogus. I now like to ...
7
votes
2answers
2k 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 ...
8
votes
1answer
3k 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 ...
14
votes
2answers
2k 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
637 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 ...
18
votes
1answer
4k 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 ...
11
votes
2answers
778 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
649 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 ...
14
votes
2answers
7k 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} ...
4
votes
1answer
582 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 ...
6
votes
1answer
506 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 ...
34
votes
3answers
3k 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 ...
7
votes
2answers
774 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, ...
5
votes
2answers
3k 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?
14
votes
1answer
2k 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
166 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 ...
3
votes
0answers
1k 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} ...
8
votes
1answer
4k 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
5k 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
361 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
309 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
15k 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
834 views

Break url in tabular

How can I break hyperref URLs in a tabular environment. Consider the following example: \documentclass{article} ...
4
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
299 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
3k 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
1k 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
500 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: ...
4
votes
1answer
6k 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
1k 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 ...
20
votes
4answers
29k 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 ...
8
votes
1answer
919 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
2k 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
519 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} ...
8
votes
3answers
6k 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.
7
votes
2answers
7k 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 ...
9
votes
1answer
997 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
248 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
933 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
2k 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
4k 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
1k 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 ...