{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

3
votes
1answer
81 views

How to adjust \UrlFont according to its placement (footnote vs. bibliography)?

In my previous post I learned how to make the URL and DOI font smaller. However there is an issue with the URL font size in footnotes specifically, because the font size is already smaller there. When ...
8
votes
2answers
253 views

How to fix the URL and DOI font? Say, make it smaller

I am using Biblatex to handle the full citations in footnotes and the bibliography. With @online Bibtex/Biblatex entries, I understand the DOI and URL fields in a citation need to be in some special ...
4
votes
2answers
155 views

Why is hyperref inverting URL /'s to a backslash

This code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \begin{document} \begin{center} ...
1
vote
0answers
135 views

Citing a url with bibtex using \url does not show url [closed]

I am using BibTeX with ieeetran.bst to format my bibliography and I would like to cite a URL. Initially I tried using the following code: @electronic{Nobelprize.org2009, Author = ...
2
votes
1answer
137 views

How to solve problem with url and hyperref packages?

I have the following code: \documentclass{article} \usepackage{url} \usepackage[colorlinks=true,urlcolor=blue]{hyperref} %Hyperlinks \begin{document} Fatal error: Call to undefined method ...
13
votes
2answers
416 views

Crawler Resistance Email Address

So I have my CV publicly available on my website and it has both my email address on it, and the email addresses of my references. In the interest of protecting my self and them from spam, I was ...
3
votes
0answers
41 views

Space is sometimes gobbled with microtype and url

I experimented with condensing URLs slightly and thought everything worked fine, until I noted a problem in the final proofreading. The first "this" in the following minimal example seems to have no ...
1
vote
0answers
45 views

Clickable URL gets segmented by the new line?

In my reference, I have a clickable link. It is cut into two lines automatically. Problem comes when I click it. When I click it, the part in the 2nd line is not included. I am directed to the ...
1
vote
2answers
334 views

Inserting a clickable URL into moderncv not working anymore

I tried inserting a clickable URL into ModernCV but somehow the output doesn't feature a clickable URL. This has worked in the past(on Ubuntu 12.04; with few changes such as including hyperref. Not ...
5
votes
1answer
92 views

url in footnote spans two pages

In my document LaTeX has chosen to continue a long footnote on the next page. That's usually just fine. But in this case the page break in the footnote is inside a url, so the whole second page is a ...
0
votes
0answers
43 views

Function to make url appear ONLY in electronic entries

I am using TexStudio and IEEEtran as bibliography style but it shows all the url in the reference which is not helpful. I would like to know is there anyway to write a function that identify the ...
4
votes
1answer
110 views

Left-aligning URL with line breaks in bibliography

URLs break fine in my bibliography. My problem is that they are justified which creates a gap between "URL:" and the URL itself (see below). Is there a way to left align only the URL? I am using ...
7
votes
1answer
113 views

How to test if I'm currently in a footnote or not

Is there a way to test if the current point is inside or outside a footnote? The use case I have in mind is to provide two versions of a document, a "screen" one and a "printed" one and I'd like in ...
6
votes
1answer
156 views

Can I define a variable that contains a URL (youtube) and call \includemedia with it?

I can successfully embed a video in my latex file using a syntax like this: \documentclass[10pt,letterpaper]{book} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} ...
1
vote
2answers
665 views

LyX and BibDesk (OS X): Citation of URLs in footnotes and bibliography doesn't work

I have a problem concerning citation of URLs in LyX with BibDesk. Whenever I try to cite a URL, for example an entry in Wikipedia, LyX only gives me a question mark ("?") in my footnote and no entry ...
2
votes
1answer
82 views

How can I break a long URL in bibliography

I have a problen with a long url on LaTeX, I want to break it but I don't know how. The line in LaTeX is: \bibitem{} Information Intel 8085: \\ ...
1
vote
0answers
106 views

Bibtex webpage citations, including journal and title?

I'm working on a LaTeX bibliography using natbib and apa-good.bst that includes a number of web sources, including both websites and newspaper articles published online. Based on other responses on ...
2
votes
0answers
62 views

Bibliography: cleanest way (no bib encoding!) to add URLs and their related info?

I use LaTeX for writing my thesis and I'm trying to come up with a clean and elegant bibliography format for web page references. I've been searching and trying different things for hours, but none ...
3
votes
2answers
304 views

\url{} links with percent (%) signs and overfull hbox error

I have looked at the first comment to this question on % in urls and found that I didn't need to type \ ahead of each %. However, in WinEdt 7.1, everything from the first % in the first URL is now ...
2
votes
0answers
207 views

DOI link with special characters [closed]

I use the bibtexstyle statto which gives a hyperlink of the DOI to the respective site. For the title it seems to take preferentially the url provided in the bibtex file. I have few DOIs of the form ...
2
votes
2answers
140 views

How to create a double underscore with no space in between?

I want to add a link to my link of citations, and in the link there are several places where there are two consecutive underscores. Using the usual _ for an underscore, I did this: \_\_ ...
0
votes
0answers
46 views

How can I add a URL and a source/citation to a glossary entry?

Two questions (apologies!), but they're related. I'm using the glossaries package, and I want to add external information to my glossary entries. My questions are: How can I add a URL hyperlink to ...
3
votes
1answer
334 views

Lyx: How to add option to package automatically load

I got the problem, that links in \url only break in LyX when there is a \ character in it. I found the solution to add \usepackage[hyphens]{url} to my preamble. But the problem is, LyX loads the ...
0
votes
0answers
48 views

Make pagenumber-field hyperlink with Doi in Bibliography

My tex \usepackage{natbib, doi} \hypersetup{ colorlinks=true, linkcolor=blue, citecolor=blue, } \RequirePackage[ backend=bibtex, natbib=true, bibstyle=verbose, citestyle=verbose, % ...
7
votes
1answer
236 views

How to deal with % sign in url when using hyperref and bibentry

In few of my citations I have a % sign in the url, which gives a problem when I use the bibentry environment (Paragraph ended before \BR@c@bibitem was complete). How can I deal with the % sign? ...
3
votes
1answer
277 views

Hyperlink in moderncv with acrobat reader

The hyperref in moderncv for urls and the email address cannot be opened with adobe acrobat reader. The links are working in other pdf readers. It's only an issue with moderncv opened in adobe acrobat ...
0
votes
0answers
60 views

Footnote horizontal spacing of text within footnotes [duplicate]

I'm having a problem with some of my footnotes. Many of them which span multiple lines have this odd spacing between words. I've attached a screenshot of a PDF for a better explanation. In this you ...
3
votes
1answer
129 views

LaTeX on the reference including the wave line

There is a reference I have to use, which is just an URL but there is a wave line (tilde) located in the middle of the URL. I don't know how to express it exactly. The code I used now is as follows: ...
5
votes
1answer
153 views

Hyperref with pagebackref requires manual escaping of percentage signs in URLs

URLs in bibliography items with a %20 (to represent a space) work fine with the package hyperref as long as the option pagebackref is not used. If it is used, Latex fails with: xxx.bbl:xx: Paragraph ...
10
votes
2answers
189 views

How to avoid the “http:” part in hyperref's \url?

is it possible to use the \url command from the hyperref package with "shorthand" URLs, e.g. \url{ipython.org} instead of \url{http://ipython.org} ? It seems that the former would only link to ...
3
votes
1answer
87 views

How can I open an online .pdf to a specific page from a LaTeX generate .pdf from footnote? [duplicate]

I'm try to open a .pdf to a specific page from my pdf generate using pdflatex, this is a valid urlthat do what I want in my browser: http://www.icomos.org/charters/venice_e.pdf#page=4 #page=4 ...
1
vote
0answers
25 views

Hyperref package. Is there any way to include multiple url addresses in one word (or in any given set of words)? [duplicate]

For example, you can write the following if you want the word ''LINK'' to be clickable and you want to be redirected to Wikipedia every time you click on ''LINK'': ...
0
votes
1answer
175 views

Problem while using \href the “%” sign creates problem [duplicate]

I am using \href{http://abcd/x/y%z/abcd.html} but % creates problem. It is getting commented after % but I have % in my address, and \% did not work.
6
votes
1answer
354 views

Omitting fields in Bibliography

When building my bibliography using the \bibliographystyle{plainnat} The output looks like [88] G. R. Ruetsch and M. R. Maxey. Small-scale features of vorticity and pas- sive scalar fields ...
5
votes
1answer
95 views

Is it true that it is impossible to insert manual line breaks in URLs that are part of a biblatex reference?

After having looked through quite a number of questions about inserting line breaks within URLs, I'm still wondering about a specific case: manual insertion of line breaks in a URL in biblatex. So the ...
9
votes
2answers
139 views

How to rigidly chop long lines in plain TeX

I am using plain TeX and want to typeset an appendix that contains several hundred URLs. When a URL goes past the right margin, I would like TeX to stop printing (i.e. not carry into the margin, not ...
7
votes
2answers
465 views

How to make a link open multiple pages when clicked?

I have to create a hyperlink which opens two links with one click. Is it possible using LaTeX? I'm using \href{<url>}{Open two links}.
1
vote
1answer
164 views

bibtex URL not complete

I have a BibTeX entry that looks like this: @url{ClaimsReservingManual, Author = {Institute and Faculty of Actuaries}, Date-Added = {2013-10-02 08:18:21 +0000}, Date-Modified = ...
5
votes
2answers
166 views

How do I add the URL to a phjcp/similar bibliography style?

I like the phjcp style. [Authors][Journal][Volume in bold][First Page][(Year)]. I would also like to include the URL of the paper by the end. I haven't figured out how to do this. I have loaded the ...
1
vote
0answers
61 views

Can I use letter ä in urls? [duplicate]

I have the following beginning on my tex file: \documentclass[a4paper]{amsart} \usepackage[utf8]{inputenc} \usepackage[finnish]{babel} \usepackage{url} Now I need to put an URL to the document that ...
10
votes
1answer
972 views

Line breaks of long URLs in bibliography?

I have some long URLs which doesn't contain special "line break characters" like "-" or "/". How can I automatically break these URLs? \documentclass{scrreprt} \usepackage[ngerman]{babel} ...
3
votes
1answer
129 views

Remove URLs from journal articles but not web pages in bibtex?

I'm using BibTeX (requirement of the journal I'm submitting to), and I'm referencing mostly journal articles, but also one blog post. I would like to hid the urls in the references list, but only for ...
2
votes
2answers
267 views

url hyperref does not work with French accent characters

I am using pdflatex. The following creates a live link the the first URL ("mousse" with no French accent). When I click on it in the PDF, I am brought to that page. The second URL (containing two ...
1
vote
1answer
163 views

Reverse order of fields “note” and “url” for entry types “electronic” and “article” (biblatex)

I use biblatex for the table of contents with: \usepackage[bibstyle=authoryear, autocite=footnote, citestyle=authoryear-icomp, backend=biber]{biblatex} I have several entries with fields url and ...
0
votes
0answers
28 views

URLs and justification [duplicate]

I am having difficulties in keeping long URLs inside the correct margins in LyX. I can understand why there are difficulties in hyphenating URLs at a point that will ensure the average reader will ...
0
votes
2answers
1k views

How to cite articles from a well known website

I would like to cite articles and the specific authors from well known websites. My problem is that I would also like to include the website info in the citation. For example I am citing an article ...
5
votes
1answer
273 views

Unicode symbols in hyperref links

EDIT: It looks like this solution \detokenize{} is working in my situation. Mark it for answered. I've searched all over Internet including Stackoverflow, but I can not found a solution in this ...
4
votes
1answer
212 views

BibTeX (TeX Live 2013) doesn't escape & in url

BibTeX (TeX Live 2013 on ubuntu) doesn't escape the & specifically in urls. The % escapes but not &. For example I have the following reference: @article{benson1975, title = {The ...
1
vote
1answer
329 views

MiKTeX Update: Error `\textfont is undefined` with Package `url`

The following MWE does not compile with XeLaTeX anymore after a MiKTeX update today: \documentclass{article} \usepackage{fontspec} \setromanfont[Path=./]{LinLibertine_R.otf} \usepackage{url} ...
5
votes
1answer
157 views

Remove backslashes from url fields in .bib entry

The problem I'm having is that urls with backslashes in the .bib file are not linking correctly. I'm using Mendeley to generate a .bib file that gets imported and used in the references section of a ...