{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

11
votes
3answers
881 views

Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong

Background A while ago it became possible to use the letters æ, ø and å in URLs, and some websites, like the encyclopaedia Store Norske Leksikon, has made use of this. Recently, a question was ...
2
votes
3answers
284 views

How to generate this symbol~ in pdf using latex [duplicate]

Possible Duplicate: URL with tilde character? How to generate this line in pdf using latex. http://www.google.com/~find/ How can I create ~find in latex. I tried \~\ find which ...
7
votes
5answers
797 views

How does one automatically escape a sequence of text, like “verbatim” but without the formatting?

I want to escape TeX codes on a range of text; this is for a macro providing slightly neater URL formatting. The code I have now is, \newcommand{\serifurl}[2]{\textsf{\href{#1://#2}{#2}}} where the ...
22
votes
4answers
1k views

Redundancy in bib file: conditionally suppress url if same as doi?

Mathscinet gives bibtex entries with both a doi and a url field included. Typically they look something like @article {some-article, […] DOI = {10.1016/j.apal.2008.12.003}, URL = ...
19
votes
2answers
6k views

How to deal with bibliography items containing long URLs?

A picture is worth a thousand macros: I don't blame LaTeX for having difficulty in formatting this entry. What can I do, however, to alleviate the effects and avoid the Word-like indentation? A ...
2
votes
1answer
2k views

How to cite a URL in LaTeX? [duplicate]

Possible Duplicate: How can I use BibTeX to cite a web page? What is the standard method for citing a URL in LaTeX and having it in the bibliography?
35
votes
2answers
17k views

How does one typeset a URL?

I'd like to insert a URL into this document. Is there a "correct" way of doing that? If so, is there a way to turn it into a link inside the final pdf generated with pdfTeX or XeTeX?
67
votes
9answers
25k views

Forcing linebreaks in \url

I wish to typeset some relatively long URLs in a piece of text, and when I use \url{..}, the resulting text does not respect the margin boundaries that govern the main text body, instead going all the ...
18
votes
2answers
4k views

What is a good font for URLs to go with Palatino for the main text?

I'm looking for a nice font to use for my \url{...}s that goes well with Palatino. Courier does not look good at all. It's much too light. Helvetica (scaled .92) looks pretty good, but the ~ looks ...
9
votes
2answers
374 views

url in Bibliography without period at the end

I'm compiling a document with the essentially the following bib entry: @misc{name, title = {Title of Web Page}, howpublished = {\url{http://somethinghere.com}} } It compiles fine, but a ...
15
votes
1answer
4k views

Typeset URL in a non-typewriter font

I use \usepackage{url} and \url{…} to typeset URLs, but the typewriter font stands out a little too much. How can I have the URLs typeset in a different font?
94
votes
6answers
115k views

How to add a URL to a LaTeX bibtex file?

I'm using bibtex for my bibliography in LaTeX. I have some URL's I need to cite in the paper. How do I add URLs into the .bib file? A typical section in my .bib file looks like this: ...