{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

0
votes
1answer
26 views

URL causes Missing $ inserted error

I'm trying to add this to my bibliography: \bibitem{nasa}Alliance, N.P.A.R.C. Computational fluid dynamics (CFD) verification and validation web site: ...
4
votes
0answers
26 views

Defining a command where the argument could contain percent signs [duplicate]

This minimal example won't compile: \documentclass{article} \usepackage{url} \newcommand{\mycommand}[1]{#1} \begin{document} \mycommand{\url{http://www.example.org/index.php?a=Hello%20World.}} ...
0
votes
1answer
21 views

Automatic line breaks in path{} command?

i use the \path{} command to print out a path to a directory in my *.tex File. I searched a lot around the internet to solve the problem to automatically linebreak the path-url. I found some hints ...
0
votes
0answers
11 views

Make cross references and table of contents linked, clickable objects [duplicate]

I'd like to ensure my PDF is easy to navigate so is there a way to have the TOC allowed to be clicked to get to various chapters and sections, similarly with the cross references to allow jumping ...
3
votes
1answer
57 views

Stretched character spacing with url citation

When printing a citation with a long URL lacking good break points, in a wide text block, the character spacing gets stretched out. \documentclass{article} ...
0
votes
1answer
23 views

how to let the long web-link automatically break line?

I use the \tt in the latex, however, it can not break line automatically. Then, I add \\ in the link, e.g. \tt{http://tex.stackexchange.com/ \\\\ questions/ask}. Then, in the generated pdf file, it ...
3
votes
1answer
30 views

\cventry with \url with %

I'm using an \url command within \cventry. Unfortunately, my url contains a %. This sign seems to cause this error: Paragraph ended before \\cventry was complete. [] What can I do about it? Here ...
1
vote
0answers
14 views

URL of web page in bibliography not output

First time trying to write my thesis in Lyx which has been great up until this point, and getting rather close to submission time I have noticed that webpage references are not outputting with the URL ...
0
votes
0answers
49 views

Percent sign in URL without hyperref

Suppose you want to create a URL that has embedded % signs. One option is to just use \%, but you don't get the benefit of nice line breaks. Another option is to use the hyperref package and its ...
0
votes
0answers
33 views

Can not compile my latex file with \urldef

I have the following line in my latex file: \documentclass[runningheads,a4paper]{llncs} \usepackage{amssymb} \setcounter{tocdepth}{3} \usepackage{graphicx} \usepackage{amsmath} \usepackage{url} ...
1
vote
1answer
22 views

How to type French accent in URL in Latex

I want to add this URL: https://fr.wikipedia.org/wiki/Projet:%C3%89valuation to my Latex I tried \usepackage[french]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
1
vote
0answers
10 views

Combine multi-line cell and \url [duplicate]

I have a bigger table in my document, including several urls. I made them active with the \url{...}-command, and now I wanted to make them multi-line-cells by using the \specialcell{..\\..}-command, ...
5
votes
1answer
58 views

Clickable URLs: no click possible after the line break

I use \url to make an URL clickable. When the line breaks, the part of the URL after the line break is not clickable. Why, and how to fix it? Demo: \documentclass[11pt,letterpaper]{article} ...
2
votes
2answers
79 views

Inserting URLs without the hyperlink

I know already that \usepackage{url} and then using the \url{} command will allow me to insert URLs without the hyperlink, but, I do not even use this package and used the \url{} command and it gives ...
0
votes
0answers
39 views

Long references not breaking across lines [duplicate]

In the reference section of my paper, some of the references are very long and therefore look rather out of place. Is there a way to fix this?
1
vote
0answers
43 views

Apacite: Supress URL % DOI except for Web Pages

I am using apacite with natbib and have all my literature in Mendeley. I just found how to supress the URL in the bibliography when DOI is present (Linebreak in url). However, I`d like to supress ...
0
votes
1answer
17 views

Show tilde in footnote, with correct text formatting [duplicate]

I need to show a unix url in a footnote of my article document. Some of the posts such as How to show ~(tilde) in footnote? have been very helpful, but I still have some questions. I am using URL ...
3
votes
0answers
30 views

\DeclareUrlCommand with optional second argument

Creating a hyperlinked DOI is possible: \documentclass{article} \usepackage{hyperref} \DeclareUrlCommand\adoi{\def\UrlLeft##1\UrlRight{\href{http://dx.doi.org/##1}{DOI:##1}}}% \begin{document} ...
1
vote
1answer
150 views

Package breakurl Warning: You are using breakurl while processing via pdflatex

I am trying to use breakurl package to break long url, so it wraps around, since it is messing the alignment of my table. The problem is that I keep getting the message Package breakurl Warning: You ...
0
votes
1answer
40 views

How to cite a URL in Latex if I do not write explicitly the URL?

I want to cite a URL with name IIT Kharagpur but when I click on the hyperlink it should open the link www.iitkgp.ac.in in my browser.
1
vote
0answers
26 views

How to include the symbol $ within a url? [duplicate]

I need to write a url including a character which seems a command , $ the entire command is : \item URL - this is set as "\nolinkurl{http://localhost:9200/\$*/pcap/}"; but this produce: URL ...
3
votes
1answer
27 views

Correct hyphenation of “http://” in bibliography

I encounter a problem with an online source in my bibliography and can't find a solution. Whereas all other sources and URLs show "perfect" hyphenation, the first line of the entry of one specific ...
4
votes
3answers
175 views

How do I include this URL?

I need to include the following URL in my text: http://people.mech.kuleuven.be/~bruyninc/tmp/HermanBruyninckx-robotics.pdf It's a two-column document to it must break into two lines and also the ...
3
votes
2answers
190 views

API JSON in Latex

I want to know if it's possible to get data from a website using api json in a document .tex I want to do this without luatex because the idea is compile online with the sharelatex website, that ...
2
votes
1answer
42 views

URL in Todonotes do not work if # is included

I'm searching for a way to have a URL with a # in a todonote. I tried to add caption{} to the todonote, ànd that works for basic URLs (just as these urls work without the caption{}). It does not work ...
2
votes
1answer
78 views

urls: split long ones, escape underscores, prefix http when necessary

I need the following behavior for web links from my pdf. I've spend a fair amount of time trying to make the changes play nicely together, with no success urls that don't start with www should ...
1
vote
2answers
141 views

Mendeley problem displaying URL visiting date with Biblatex

I'm using Mendeley to create a .bib file for my LaTeX file (I'm using BibLaTeX). In Mendeley I define the field "Date Accessed" for a Web Page as, for example, 18 Sep 2015, so it automatically becomes ...
0
votes
0answers
20 views

Omit data from the bib file in citation, but show it in the bibliography [duplicate]

I’d like to cite a website including its name, maintainer and URL, but not the access date, in a footnote. Using the \fullcite command, the whole entry appears in the footnote as well as in the ...
2
votes
1answer
107 views

Why typesetting file path not working?

I know this How to typeset a file path? I think that the PATH command works like making possible to use shorter PATH in URLs. I have documents in my filesystem which I often include in my notes. I ...
2
votes
0answers
123 views

LatexDiff: Missing \endcsname inserted [closed]

I have just created a diff file using LatexDiff but the newly created file seems to have issues with the url package, may be. I am getting following error. ! Missing \endcsname inserted. <to be ...
1
vote
0answers
48 views

Hyperref: Danish ø in `\url` or `\href` doesn't work (appears as \T1\)

Refer to this question and answer. When I compile the file below (encoded in utf-8) with pdflatex, only the middle option produces a working link as opposed to all three in the linked question. In ...
2
votes
0answers
36 views

How to turn on url boxes for links in latex?

I have several links in some document. However, I would like to highlight with boxes this links in order to do not pass unoticed. Any idea of how to do this?.
4
votes
2answers
145 views

How can I turn off URL links within the table of contents?

I'm using the hyperref package to write an unusual document. It has clickable URL links in the section titles. Unfortunately, when clicking on the section title in the table of contents, one is not ...
5
votes
1answer
71 views

Can't get oldstyle figures in url with lualatex

The following works with xelatex: \documentclass{article} \usepackage{url} \urlstyle{same} \usepackage{fontspec} \setmainfont{Libertine Serif}[Numbers = {OldStyle, Proportional}] ...
4
votes
1answer
141 views

Breakings URLs with biblatex

I know that biblatex offers various options to tune the breaking of URLs in the bibliography, but in the following example nothing seems to work: \begin{filecontents}{\jobname.bib} ...
3
votes
1answer
37 views

Remove “URL:” from bibliography, but not the actual url

I want to include URLs in the bibliography, but I don't want the text URL: to be in the bibliography. I understand I can use note = {\url{...}} but is there a way to achieve this without modifying ...
2
votes
1answer
30 views

How do I shrink my URL font size in bibliography's or references sections?

I have a document (an article) which I am writing and it includes a references section at the end in the form of a bibliography. I am using the hyperref package and setting the bibliography manually ...
4
votes
1answer
47 views

How to avoid overfull error with url package?

Here is sample code: \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{classicthesis} \usepackage{url} \usepackage{enumitem} \begin{document} ...
2
votes
1answer
242 views

Changing \url{…} font [duplicate]

\url{...} produces a rather wide monospace font. It often does not fit into text width. If I wish to make \url{...} another font (such as maybe the same font as the text font), how to do it?
1
vote
0answers
99 views

Dollar sign in URL in Texmaker

I am trying to format a URL using the url package. My URL has a dollar sign ($) in it. This line \url{\\000.000.000.00\ Redirected$ \DBLocker} compiles correctly and the result is what I want. ...
0
votes
0answers
18 views

URL rendering incorrectly in PDF [duplicate]

So this text, in my LaTeX file In a report for the Jesuit Centre for Faith and Justice earlier this year ...
2
votes
2answers
46 views

ConTeXt: How to style interactive elements individually rather than globally

I want two have two links, one bold and one normal. As a MWE: \setupinteraction[state=start,style=normal] \starttext {\bf\goto{Link 1}[url(http://www.example.com)]} \goto{Link ...
4
votes
1answer
83 views

List of figures with reference URL

I want to have a List of Figures, which also contains a reference URL (or the article which I refer to \cite{}) for each figure entry. (and if possible the URL should appear in the next line with a ...
0
votes
1answer
170 views

Footnote in input file - missing number treated as zero

Let's say I have a document Foo.tex: \documentclass[a4paper,11pt,titlepage]{article} %... %%Packages \usepackage[utf8]{inputenc} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{hyperref} ...
3
votes
1answer
73 views

How to fill horizontal space properly in underfull multilined url (in footnote)?

Footnote code: \footnote{\url{http://blog.draw.io/creating-custom-stylizable-shapes-with-specific-connection-points} (besucht am 16.06.2015)}. The footnote produces a multiline output (2 lines) due ...
4
votes
1answer
209 views

natbib + BibTeX: suppress url if doi is available

I am using natbib (+ BibTeX). Some entries in my bibliography file (.bib) have the field doi, some have url and some have both. I would like to edit the bibliography style file (.bst) so that, if doi ...
1
vote
0answers
29 views

Linebreak of URL in bib in own bibstyle

I have to use my own bibstyle for my thesis, but I have some trouble with longer URLs, which do not break correctly at the end of a line. Here's my MWE: \documentclass{scrreprt} \usepackage[ ...
4
votes
1answer
45 views

Minimize effort separate pdf and single pdf versions; ref and url issues

I want to create LaTeX content which consists of many sections. I will either typeset all of the sections together to get one PDF or typeset each one separately. If they are typeset together, then I ...
1
vote
1answer
486 views

How to add a url access date of a website in BiblaTex using Jabref reference Manager?

I want to add a url access date of the website I accessed to my bibliography but only at the end (after the url). The MWE is as follows \documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} ...
1
vote
0answers
23 views

Underline Hyperlinks Omitting the Descenders

I want to underline links (\url and \vref, \href, ...) omitting descenders in the manner shown in this answer while still supporting wrapping of long URIs (via \UrlBreaks or otherwise). Ideally, I can ...