{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

4
votes
1answer
183 views

PDFLaTeX: Straight quotes in URLs (no smartquotes in urls)

Is it somehow possible to have straight quotes in URL's? Especially the single quote sign would be important to me, as this is the most confusing character within URL's, as the reader might not know ...
4
votes
1answer
218 views

URL linebreaks W/O \sloppy

Hours of reading the different articles on url linebreaking did not reveal a solution for the following problem: I've got a long url, which I do not intend to short using online services. The url ...
5
votes
0answers
286 views

Changing/disabling the mouse over/hover text of a hyperlink

I am using hyperref package to create links in my tex file. To define a link, I do \href{https://www.google.com}{google} When mouse is over the text, the destination, https://www.google.com in this ...
0
votes
0answers
22 views

BibTeX rendering error with URL [duplicate]

I put the following reference in my .bib file: @ONLINE{MyID, title = {My title}, howpublished = {\url{URL}} } However, since the used URL contains underscores, the URL is visualized as a ...
6
votes
1answer
385 views

Problem with url link-`~` is replaced by %257E

I am adding a url in my document using \url{}. The link, however doesn't lead to where it is suppossed to lead. My code is \documentclass{article} \usepackage{hyperref} \begin{document} ...
25
votes
2answers
535 views

Auto generate List of \url usages within document

I am writing a thesis and I have made extensive use of hyperlinking through \url or \url within a \footnote. Now I would like to add a list (kind of like a simplified bibliography where each link ...
0
votes
0answers
24 views

Biblatex url in new line [duplicate]

How do I force biblatex to print a url in a new line? I'm using biblatex with bibtex8. greetz
3
votes
2answers
797 views

How to use URLs in BibTeX database when using natbib in TeX file?

I will first give you the codes then I will explain my problem: \documentclass[a4paper,10]{article} \usepackage[utf8]{inputenc} \usepackage{natbib} \usepackage{hyperref} \begin{document} I hereby ...
4
votes
3answers
197 views

What's a better way to define individual link colours for a url in a macro?

I've got a document where I'd like two colours of links - cyan for links in headers that since it's brighter, and navy blue for links in the main body which is more subtle/less distracting. I already ...
0
votes
0answers
25 views

URLs out of page margin [duplicate]

I am writing a report in LaTeX. I am done with all of the work. Last thing that is remaining is that some of my references are going out of the margins and I don't know how to handle them. I Googled ...
8
votes
1answer
282 views

Biblatex: Convert doi-url into doi field

I use biblatex and would like my bibliography to only include a DOI field, whenever there is DOI information available. This involves two things: Biblatex has to suppress the URL field whenever a ...
4
votes
2answers
137 views

Labeling links, Markdown style

In Markdown, you can do [google.][1] ... [1]:http://www.google.com In LaTeX, I've tried \href{\ref{1}}{google?} ... \label{1}{http://www.google.com} But that doesn't work, and I'm tired of ...
1
vote
1answer
259 views

Spurious percent symbol in bibtex url

Using pdflatex and bibtex, this code gives me a spurious percent symbol. \documentclass[twocolumn]{article} \usepackage{url} \begin{document} hello \cite{hello}. \bibliographystyle{plain} ...
1
vote
1answer
631 views

Bib compilation blocks pdf compilation

I am pretty sure this is not a syntax mistake. I am using a .tex file with the following form: \documentclass[a4paper,12pt]{article} \title{Here goes the title} \author{Here goes my name} ...
3
votes
1answer
153 views

Producing clickable hyperlinks in ipe

I'm starting to use ipe to create slides for a presentation. But LaTeX does not behave the way I am used to. For example, I want to use the hyperref package to have URLs with a different font which ...
1
vote
0answers
66 views

Different errors while compiling, depending on distribution [closed]

When compiling my TeX document in PCTeX the _ in the bibliography url's appear as “˙. When compiling it in TeXworks the _ appears fine, but all the table references appear as ??. Any ideas to how I ...
2
votes
1answer
5k views

bibtex display URL in reference

I am trying to display a URL in a reference using the bibliography style ieeetr. According to here I can use the howpublished field in my bibtex entry, but it seems that this doesn't work for me. ...
13
votes
1answer
337 views

(Another) problem with url hyphenation in bibliography

What I am about to ask has already been asked many times, but nothing seems to work for me so far. Basically I am having troubles in getting urls hyphenated correctly in the bibliography. I modified ...
1
vote
1answer
404 views

getting rid of DOI URL etc fields in aipnum4-1.bst

I tried the solution suggested by Mico suggested in Getting rid of DOI, ISSN links from bibliography but no luck I get error messages like You can't pop an empty literal stack for entry ...
9
votes
1answer
776 views

Why does url.sty appear in 3 different places in the TeX Directory Structure?

On my up-to-date MiKTeX system, there is a copy of url.sty in three different places in the TDS: texmf\tex\xelatex\xetexurl (part of MiKTeX package xetexurl, packaged on 2007-Sep-05) ...
5
votes
1answer
1k views

URLs in bibliography: LaTeX not breaking line as expected

I am trying to include long URLs in a bibliography, but those often overflow into the margin of the document. I have seen a number of questions about breaking URLs in bibliography, but after trying ...
4
votes
2answers
335 views

How to use \url in sloppypar to make url into multi-lines?

I met a problem about how to make the long link into a multi-lines one. The following is LaTeX code: \documentclass[11pt]{article} \usepackage[colorlinks,citecolor=black,linkcolor=black]{hyperref} ...
5
votes
1answer
486 views

\urlstyle{same} with apacite

I use apacite to create a bibliography according to APA guidelines for my article. Some of the references contain URLs. By default, LaTeX shows these in a different, monospace font than the rest of ...
0
votes
1answer
601 views

Insert footnotes with \href [duplicate]

This seems like a very common practice, but an hour of researching the question has gotten me nowhere. Is it not possible to insert the URI for the call to \href (#1) as a footnote? I've tried ...
4
votes
2answers
352 views

Problem with hyphen in URL when using fancyvrb with hyperref

There seems to be a problem using a hyphen in a URL inside a fancyvrb Verbatim environment when using the hyperref package. The Problem The following document: \documentclass{article} ...
7
votes
3answers
474 views

Using variables in a command results in ! Argument of \reserved@a has an extra }

I want to define a command, which separates a string an later adds a different \href to the first part, than to the second (e.g. \qname{foaf:Person}). But the code as I have it doesn't work, I get ! ...
4
votes
2answers
190 views

Unwanted extra spaces are included before and after backslashes in biblatex URL

I have a biblatex reference with a URL field. However, every backslash is surrounded by spaces. I am using \usepackage[sorting=nyt, citestyle=authoryear, bibstyle=authoryear, isbn=false, ...
5
votes
1answer
165 views

Not allowing hyphenation of urls in references

Is there a way to globally turn off hyphenation of links in bibliography? Current state doesn't please me: Minmal working example: \documentclass[12pt,a4paper,oneside]{report} \usepackage{url} ...
5
votes
1answer
125 views

Trying to suppress URLs with BibLaTeX, using a simple person's method

Based on other questions here, I'm trying to create an annotated bibliography, using \fullcite, where I want to suppress all URLs. I'm using what appears to be a simple solution, which works for a ...
5
votes
1answer
62 views

Spaces in references

I have the following reference : @misc{pcons, author = {Energy.Gov}, title = {{Estimating Appliance and Home Electronic Energy Use}}, Howpublished = ...
3
votes
2answers
968 views

Problem while using bibtex reference of a url

@online{senfus, title={article name}, url= {https://m**.s*/U****d/Om%20MPB/F****g/Kxyzy.pdf}, } While citing this reference, I am getting following error because of the term "%" in the url. ...
1
vote
1answer
467 views

Insert a url in a footnote [duplicate]

I would like to insert a url in a footnote but that isn't working. I use the following code : \documentclass[a4paper,11pt,final]{article} \usepackage{color} ...
6
votes
2answers
3k views

How to add “date accessed” or “date retrieved” in BibLaTeX? [duplicate]

I have the following in .bib file: @online{solarfarm, author = {Buckley, Alastair and nee Hall, Lisa Clark and {Colantuono, Giuseppe Everard}, Aldous}, file = ...
4
votes
1answer
422 views

Biblatex: Adding time information to “online” field and a label in front of url

I am trying to add some "time" information to my online-fields in biblatex. I tried to use the note entry, but that won't work as intended. Right now I got the following: \documentclass[a4paper, ...
6
votes
2answers
94 views

textrm is not displaying certain characters

I am trying to make a web URL display in my document: \documentclass{article} \begin{document} \subsection{test} \label{sec:test} [0] "test" $\emph{test}$. test, test. ...
3
votes
2answers
142 views

tilde in a url in the address portion of a letter

I am trying to include my website address in the address block of a letter. My webaddress has a tilde character, and my usual solution, $\sim$, to the tilde formatting problem is not working. The ...
2
votes
1answer
130 views

How to stop Latex from inserting $ in my URLs? [duplicate]

When I type this \footnote{ http://www.cems.uvm.edu/~tlakoba/math337/notes_12.pdf. Page 3.} LaTeX inputs $ $ in for me when I do not want them. How can I stop this from happening?
5
votes
1answer
2k views

Font size of \url in footnote

I use this \renewcommand{\UrlFont}{\normalsize} for make the fontsize smaller. I will like to make somthing similar for making only the \url smaller and only when it is used in a footnote. Text in ...
4
votes
2answers
385 views

How to add url to footer in Beamer

I'm new to LaTeX and am having trouble adding a url to the footer. I currently have this: \documentclass[]{beamer} \usepackage{beamerthemebars} \title{Title} \author{Author} ...
3
votes
1answer
283 views

References are printed with spaces between them?

Is it possible to better format this so that I can remove the huge spaces between words? Code used: \bibliographystyle{abbrv} \bibliography{library} Code in .bib library: @misc{marsrover, ...
4
votes
1answer
93 views

\url wrapping extends into marginal notes space

This is a slightly odd one. I've been trying to get \url{} blocks to wrap really long URLs, and the only thing that seemed to work was to renew the \UrlBreaks command to allow breaking on practically ...
4
votes
2answers
136 views

\lowercase inside \url

Why is this snippet: \newcommand{\Subject}{Skeleton} \url{http://www.cheatsheet.jim.pm?subject=\lowercase{\Subject{}}} rendered to this? http://www.cheatsheet.jim.pm?subject=\lowercase{Skeleton} ...
5
votes
2answers
1k views

Biblatex: URL-breaking not working in DVI-mode

I'm preparing my bibliography and noticed that biblatex-printbibliography produces Overfull \hbox several times. Examples (gray lines indicates text margins, red line is the physical page margin): ...
3
votes
1answer
438 views

How to typeset a backslash and get line breaks in URLs?

I have a lot of Windows file/folder paths and register paths in my document. And I'm having 2 problems: The \ is seen as and escape character which obviously doesn't compile. \\ Starts a new line ...
0
votes
1answer
285 views

How to change the font of URL in the bibliography [duplicate]

When using the natbib package the URLs are printed and formatted in the bibliography in a different font from the rest of the document which looks nasty i.e. monospace Typewriter. I am having ...
0
votes
0answers
37 views

Changing formatting URL biblatex verbose stile parentheses and Times New Roman Font [duplicate]

I am writing my thesis and I have some problems with the URL reference notes. I am using the verbose footcite package. I did some changes to the style but I still have problems with the URL's in ...
1
vote
0answers
54 views

Line breaking and long URL strings [duplicate]

I'm an B.Sc. in industrial engineering student who decided to grab a B.Sc. in finance as well and I'm currently working on my B.Sc. thesis in finance regarding risk management in mortage houses. The ...
1
vote
1answer
1k views

Problems with Natbib: strange URL format and urldate not shown

I have a strange problem with natbib. This code @misc{CornellUniversity., author = {{Cornell University}}, title = {Benedict R. O'G. Anderson}, url = ...
3
votes
1answer
1k views

URL in new line Bibtex

I'm being asked to put the url field in a new line after the reference information. Is there a way to do this using IEEEtran? Edit: Noting the initial suggestions, you can find the idea of the task ...
5
votes
1answer
498 views

Manually URL linebreak with Biblatex

First I should say that I don't have much experience with LaTeX. I'm using BibLaTeX and Biber. My Problem: I have a (justified) bibliography with long URL's containing long words. BibLaTeX makes a ...