Questions tagged [urls]

{urls} is about handling URLs in (La)TeX documents, commonly by using the \url macro provided by the {url} or {xurl} and {hyperref} packages.

Filter by
Sorted by
Tagged with
9 votes
1 answer
13k 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
1 answer
40 views

How can I remove text outliers from the white borders in the output PDF?

For example in this accompanied image. I want to write my script in a way that cuts off the light blue text outliers.
5 votes
1 answer
4k views

URLs extend past page margins

I'm new to LaTeX and have a desire to learn as I'm completing a PhD and have been told LaTeX is a great platform for writing scientific documents. So, I have written a short plain English piece in ...
9 votes
3 answers
9k views

Overfull problem with an url [duplicate]

When compiling a document console returns: Overfull \hbox (10.57799pt too wide) in paragraph at lines 40--43 \OT1/cmtt/m/n/12 informacion-[]para-[]ciudadanos / el-[]chagas-[]en-[]el-[]pais -[]y-[]...
4 votes
1 answer
9k views

Hyperref package is causing error message

I am trying to typeset my document, but the including the hyperref package gives me the following error: The required file tex\latex\url\url.sty is missing. Now my problem can probably be ...
9 votes
2 answers
801 views

url with # as footnote

It seems that the symbol # on the \url inside \footnote is producing an error when pdf is compiled. This is reproduced by the MWE below. \documentclass[12pt,twoside]{report} \usepackage{booktabs} \...
0 votes
1 answer
64 views

Url link breaks once only [duplicate]

I have a very long url to show in the references, I am using BibTex and the package url, but I still the url breaks once and not twice as it should.
3 votes
1 answer
245 views

\url with # and & inside \footnote

I have trouble with \url and \footnote \documentclass[margin=5mm]{standalone} \usepackage{hyperref} \begin{document} my text \footnote{\url{https://webbook.nist.gov/cgi/cbook.cgi?ID=C69727&Type=...
7 votes
2 answers
19k views

How can I implement a comprehensive apa-style citation and bibliography

I am really new to LaTeX and I need a comprehensive solution for my Thesis I have this problem since two days and I couldn't find any solution in any other post. I work with BibDesk on Mac And I ...
3 votes
2 answers
1k views

Add URLs to asmems4.bst

I'm having a problem integrating asmems4.bst supplied by my department for my thesis. Several of my references are websites and asmems4.bst doesn't output URLs in my bibliography. From an answer to ...
12 votes
3 answers
2k views

Type '{' '}' in url

I would like to type brace symbol inside a URL using the url or hyperref package. Is there a way to do that ? (the idea is to typeset REST-like URL, as for example, http://foo.bar/orders{orderID}
17 votes
3 answers
3k views

How to disable percent-encoding in URLs?

I try to add a unicode URL into the bibliography and LaTeX automatically converts the cyrillyc letters into percent-encoding. I found that hyperref is responsible for this, but I found no way to ...
3 votes
1 answer
33 views

Wrapping internet address length in the references

A URL in the referencs exceeds the column width and I want to know how to wrap that? \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \title{my title} \maketitle \section{Section 1} ...
1 vote
3 answers
771 views

URL containing '?' causes error

I'm using TeXmaker for OS X with pdflatex extension (I'm new to LaTeX, too), I've a problem with the hyperref package. I can't put https://, and special char like ?. My document class is report. Here ...
1 vote
0 answers
143 views

Pasting URL in @misc entry for bib

I have written the following entry for a URL in ieeetr bib style: @misc{Microsoft18, title={Introducing the Office (2007) Open XML File Formats}, url={https://docs.microsoft.com/en-us/previous-...
0 votes
1 answer
832 views

Line Break in \url in the footnote

There are many Posts about this Topic URL linebreak in footnote Line breaking of URLs at "-" I tried it by myself but it doesn't work oon my Tex-File. I added this in my Code for the url-...
38 votes
6 answers
6k 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 = {http://dx....
2 votes
1 answer
134 views

URL over two pages causes nested errors

I tried to generate a MWE where I can reproduce my main problem. The major error says error: (pdf backend): 'endlink' ended up in different nesting level than 'startlink' ! ==> Fatal error ...
3 votes
3 answers
3k 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 ...
2 votes
1 answer
2k views

How to remove this extra space before url in bibliography?

How do I remove this space please? I'm using the natbib package Code from ref.bib @article{stats2017, title={Digest of Education Statistics 2017}, author={\text{Statistics Mauritius}}, year={...
1 vote
1 answer
401 views

Cannot compile bibliography with URL in it

I'm writing my first document in LaTeX and I'm using natbib for the bibliography and dcu as the style. This is what I've written: @misc{et, author = "Engineering Toolbox", year = "2003", title = "...
0 votes
1 answer
117 views

How to influence the default URL scheme from url or hyperref?

I am using komacv in an attempt to typeset a CV which I originally wrote with moderncv. As far as I can tell hyperref gets loaded by komacv, which in turn causes url to be loaded. But I don't know ...
5 votes
2 answers
8k views

Does the hyperref breaklinks option have any effect?

According to the hyperref documentation, breaklinks 'is intended for internal use' and 'automatically set according to the driver features' – which, however, doesn't tell us whether it's automatically ...
2 votes
1 answer
387 views

use \path instead of \verb in biblatex [duplicate]

Noting that \path can be made to wrap arbitrary text as per Forcing linebreaks in \url, I would like to use \path instead of \verb inside of biblatex for the "verbatim" fields. This would mean ...
1 vote
2 answers
701 views

Control URL breaking

Is there a way to control the url breaking with biblatex? I am using ACS Guide and it says: Note: Different web browsers break the text in different places of a URL. In a printed work, if the URL ...
4 votes
1 answer
3k views

URL not showing correctly in latex IEEEtrans (both URL and Hyperref packages not working)

I am working on a article using IEEEtrans template in overleaf, but I just noticed that a technical report reference with a URL doesn't compile correctly: %Smith2040 @electronic{Smith2040, author ...
0 votes
0 answers
118 views

Extra comma in citing url

I'm using the following code to cite an URL, @manual{real_attacks, title={A Brief History of Car Hacking 2010 to the Present}, note={[Online]. Available: \url{https://smart.gi-de.com/2017/08/...
1 vote
1 answer
2k views

Clickable reference to URL

Couldn't find this anywhere, so hoping for some assistance here. I'm doing my master thesis and I as an example I need to reference a lot of information from European Space Agency website. I'm ...
1 vote
1 answer
1k views

How to make biblatex/biber aware of \url field in @Phdthesis?

I have used instructions on biblatex: make title hyperlink to DOIs, URL or ISBN to hyperlink titles of my references to their respective url or doi entries. However, it does not work for @PhdThesis or ...
62 votes
3 answers
12k views

biblatex: make title hyperlink to DOIs, URL or ISBN

This is a follow up question to biblatex: Make title hyperlink to doi url (if available). My reference database contains some DOI codes, but mainly normal URLs and some ISBN/ISSN codes. What I would ...
2 votes
1 answer
424 views

obeyspaces option for url package leads to option clash with Beamer

I'm having some problems using the path command from the url package with my beamer slides. Providing the MWE below to pdflatex on 64-bit Ubuntu 18.10 produces the error: ! LaTeX Error: Option clash ...
1 vote
2 answers
2k views

URL - linebreak

I'm using luatatex 1.0.4 and I already found some solutions for breaking urls. Nevertheless I have special cases for which I didn't find a solution. My sample code looks like: \documentclass[a4paper,...
2 votes
0 answers
256 views

URL - linebreak and page break

I'm using luatatex 1.0.4 and I already found some solutions for breaking urls. Nevertheless I have special cases for which I didn't find a solution. My sample code looks like: \documentclass[a4paper,...
0 votes
1 answer
642 views

\@footnotetext error for special characters

I have a link 3NT to external website I defined it in markdown like below link [3NT](http://www.xinruibridge.com/deallog/DealLog.html?bidlog=1C,P,1S,P%3B1N,P,3N,P%3BP,P&playlog=W:3D,JD,5D,7D%3BN:2S,...
2 votes
1 answer
597 views

Hyphenation in LINK text

I use, in agreement with the post of SE, the command \link. \documentclass[10pt]{article} \usepackage{bookmark} \usepackage[table]{xcolor} \usepackage{tabularx} \newcommand{\link}[1]{% {% ...
5 votes
1 answer
433 views

Type uneven number of curly braces '{' '}' in URL using hyperref

My question is somewhat similar to this one: Type '{' '}' in url However, how can I write an uneven number of curly braces, e.g.: \url{http://example.org/foo/\{bar} The documentation ...
0 votes
1 answer
1k views

Reorder access date (urldate) and URL

I am trying to specify the citation of a data base. Consider the following MWE with two entrances:` \documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl} \usepackage[T1]{fontenc} \...
4 votes
1 answer
234 views

How do I horizontally compress or unstretch paragraph text?

My references section sometimes shows a lot of whitespace between words that I would like to remove. For example, in the following screenshot, I would like to remove the extra spaces within the text "...
2 votes
1 answer
904 views

Error: Argument of \newcommand{...} has an extra }

I am trying to create a new command to help formatting the entries of the list of figures. Argument 1 should be optional and contain the date the source was accessed, argument 2 is simply the figure's ...
2 votes
1 answer
506 views

How I can remove formatting from text and convert it to URL?

I need to remove any type of formatting from a text to get an URL multi-formatting. By keeping the following model, I have tried various solutions but without having the desired result. Would anyone ...
0 votes
0 answers
916 views

How to break URLs in references into multiple lines [duplicate]

I am using a 2 columns IEEEtran template. I have some long URLs in the references section. One of the URLs exceeds the column's width and does not break properly. How can I force URLs to break into ...
4 votes
1 answer
2k views

create a hyperlink by using the url stored in the bibliography reference?

im wondering if i can create a hyperlink that automaticaly uses the bib file stored tag 'url' somehow? Just to prevent mistakes in linking to a reference and to a websource in the same text like: mwe:...
2 votes
1 answer
790 views

suppressing URLs in footnotes but not bibliography

I am using Biber and the verbose IBID style setting to generate my footnotes. Here is my bibliography settings \usepackage[citestyle=verbose-ibid, bibstyle=authoryear, backend=biber, labeldate]{...
6 votes
3 answers
764 views

'Uneven' breaks in long URLs (\url)

I'm struggling with hyphenation of long URLs (using command \url{}). Line breaking works fine in cases when URL is just part of line which doesn't fit to text area width. That means URL is hyphenated ...
0 votes
0 answers
69 views

URLs extend past page margins, change URL font [duplicate]

I'm new to LaTeX and have a desire to learn as I'm completing a PhD and have been told LaTeX is a great platform for writing scientific documents. So, I have written a short plain English piece in ...
4 votes
1 answer
1k views

LNCS: remove URLs and DOIs from reference

I'm using LNCS style, and natbib with splncs03.bst for references style. This style shows also URLs and DOIs in references. Is there any way to remove them without modifying the style and bib file ?
7 votes
2 answers
2k views

Suppress URL if DOI is present in biblatex-chicago

This question is probably a home-run for people that are more into the workings of biblatex than me... Anyway, I want to achieve what has been solved here and here, but with using biblatex-chicago ...
2 votes
1 answer
938 views

biblatex: Hyperlink entire bib entry to DOI, URL or ISBN if available

This is kind of a combination of two questions and then I have a bibliography style problem on top of that. I would like to make each bib entry into a hyperlink with the priority: 1. DOI, 2. URL, 3. ...
3 votes
1 answer
335 views

Why does setmonofont change the justifying of normal text using the same font?

I usually use a different font for URLs e.g. email adresses. Today, I tried to change it in a letter to use the same font als the normal text and it cancelled the justification in the main body of the ...

1
6 7
8
9 10
19