{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

2
votes
2answers
937 views

bibtex large spacing

I couldn't find a solution to my problem searching. Apologies if it has been asked before. My problem is: on a few of my bibliography entries, there are massive spaces in the text to pad out the ...
5
votes
2answers
458 views

Url is not displayed correctly

I am using some big faculty LaTeX template for my thesis, so I do not really know, which packages I am supposed to mention here ... Anyway, I am trying to write some urls. I write them like ...
26
votes
2answers
11k views

Line breaking of URLs in bibliographies

I have a problem with the line break of an URL. The URL can´t break correct and extends into the border. I´ve tried some things. Amongst others I loaded the package breakurl, but without any success. ...
6
votes
2answers
4k views

Url references in bibliography

I am using TexMaker. I would like to know how to include web site references in the .bib file. I am using bibliography style , alpha. How does the website reference appear in the bibliography
0
votes
0answers
182 views

How to reference websites / programming languages ? [duplicate]

Possible Duplicate: How can I use BibTeX to cite a web page? Hi I want to reference in bibtex the Python Programming Language Using: @MISC{Python, title = "The Python Language", url ...
11
votes
1answer
3k views

Url with fragments in bold

I need to write document containing a lot of URLs but some fragments of these URLs have to be in bold. How can I accomplished this? For urls I use \nolinkurl but I can't use \bf in it.
22
votes
2answers
4k views

Getting percent sign into an URL in a footnote

I'm using the url package. Now, I have some some url with a percent sign in it and want to place it in a footnote. When I let the % where it is, I get a comment, and the whole thing fails to compile ...
2
votes
1answer
349 views

Include source text from URI (e.g., Wikipedia)

Background Wikipedia content is reasonably current and free to use. Consider the tabular content at: http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java Problem Copying ...
3
votes
2answers
5k views

How to make my own reference for some arbitrary weblink

How could I make my own reference (bibtex or other) to some arbitrary weblink like http://www.inf.ed.ac.uk/teaching/courses/anlp/slides/anlp13.pdf so that it appears under the 'References' of the PDF ...
9
votes
3answers
652 views

Hyperref using the wrong language script for \url?

In a mixed language document, I try to use a URL. Here is minimal input demonstrating \documentclass{article} % compile with xelatex \usepackage{hyperref} \usepackage{polyglossia} ...
10
votes
2answers
5k views

moderncv : \homepage - can't handle a tilde

I'm using the latest version of moderncv from CTAN. When I set : \homepage {homepage: my.homepage.url/~username/} The tilde doesn't show up. So I tried: \usepackage{textcomp} \homepage {homepage: ...
23
votes
1answer
7k views

Underfull \hbox in bibliography

I am getting lots of "Underfull \hbox" warnings that point to the *.bbl file. It looks like these messages appear only when URLs are very long, like in the below example: @techreport{nistguidesec, ...
24
votes
2answers
18k views

URL with tilde character?

I'm trying to make a URL with a tilde character (~) in it: \usepackage{url} ... \url{http://lyle.smu.edu/~tspell/jaws} It looks right in the resulting PDF, but when clicking on it the browser goes ...
7
votes
6answers
6k views

How to avoid link higlighting when using package hyperref?

I'd like to include some http links in my document. So i Included the hyperref package so that i can use the command \url{} Microsoft Surface\footnote{\url{http://www.microsoft.com/surface}} This ...
6
votes
1answer
5k views

URLs break compilation

Just as a preamble, I use MikTex 2.8, the latest TeXworks for Windows, the natbib, hyperref, and pdftex packages, JabRef to manage my citations, and the pdfLatex option in TeXworks for compilation. ...
5
votes
1answer
4k views

hyperref url breaking

References: Forcing linebreaks in \url So, in a plain document with \usepackage{url} \begin{document} You can find this at \url{very-long-url}. \end{document} the URL will be broken down, e.g. ...
1
vote
2answers
8k views

Reference to URL not showing up [duplicate]

Possible Duplicate: URL of cited web site in bibliography I want this reference to a URL to show up, but it doesn't. This is how I add the entry in the bib file. I've also tried it as ...
3
votes
2answers
475 views

Expand directory names using nested macro definitions

Background Would like to use values from macros that reference other macros (n-levels deep) and apply their values to the \path command. Problem (Scenario A) The following works: \usepackage{url} ...
11
votes
2answers
3k views

Obey spaces with URL package (path command)

Background Using the \path command from the URL package to mark-up directory paths. Some of the paths have spaces. Problem The preamble is set to: \usepackage{algorithm} \usepackage{booktabs} % ...
7
votes
2answers
673 views

Using \nameref within \path

Background Looking to apply a consistent style to file and directory names. The book's appendix has a subsection for every file referenced by the book. Every subsection has a label whose value is ...
14
votes
3answers
1k 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
321 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
1k 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 ...
23
votes
4answers
2k 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
9k 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?
40
votes
2answers
23k 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?
86
votes
9answers
38k 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
6k 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
411 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 ...
17
votes
1answer
6k 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?
128
votes
6answers
171k 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: ...