Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
41 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.
1
vote
1answer
24 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=...
3
votes
1answer
24 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} ...
2
votes
2answers
116 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 ...
0
votes
1answer
62 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-...
2
votes
1answer
51 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 ...
1
vote
1answer
24 views

BibLaTeX overflowing URL

When using biblatex with a long URL without many forward slashes the URL overflows outside of the margins of the page. For example: references.bib @online{ons, author = "Office for National ...
1
vote
1answer
26 views

Including latex commands in a .bib file

In this question, the top answers suggests using the url package within a .bib file. I am using Overleaf and I am trying to include the url command in my .bib file, but it is just being printed out ...
0
votes
1answer
40 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 ...
2
votes
2answers
58 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
1answer
43 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
2answers
203 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
0answers
67 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
1answer
95 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,...
4
votes
1answer
122 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 "...
1
vote
1answer
110 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 ...
0
votes
0answers
30 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 ...
0
votes
1answer
109 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} \...
0
votes
0answers
49 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 ...
2
votes
1answer
148 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 ...
5
votes
1answer
77 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 ...
2
votes
1answer
69 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. ...
2
votes
1answer
287 views

Bibtex style with url and titles of references in bold

I'm looking for a bibliography style (in bibtex) that displays the web url of the references AND also writes the names of the authors of each reference in bold, e.g. Smith, Nick and John Zeigler, "...
0
votes
0answers
22 views

Any LyX feature that automatically includes backslashes in ERT URL?

Unfortunately I sometimes need to have URLs in ERT. In such cases though, I have to insert backslashes in front of each %, #, and certain other characters, otherwise I get an error. Is there any ...
0
votes
1answer
95 views

hyperref with tilde

How can I make the tilde appear in the url in the following document? I know that this has been asked many times before but googling has -not- helped me in my case. The following document does not ...
1
vote
1answer
166 views

Break URL in Bibtex reference without losing the link, with hyperref package and LaTeX compiler

I am trying to properly break some of the url in my references. When using \usepackage[breaklinks]{hyperref}, the url breaks but the link disappear (not clickable) even though the blue color is still ...
3
votes
1answer
142 views

Enabling double way for bibliography with \url: Both bibtex and biblatex (biber)

I am trying to make a document to accept both bibtex and biblatex (during different compilations of course) and I have a problem because: In bibtex I have to add \url command inside every url (...
1
vote
1answer
89 views

Scandinavian letters in Biblatex URL

Hello. I am trying to cite a webpage that uses the letter "ø", but my bibliography does not display the "ø" in the URL, making it look like it's not correct. I have searched for this problem for some ...
1
vote
0answers
103 views

set tolerance within a span command only

URLs (and similar, e.g., long class names or folder names) can be annoying to typeset well. This gets even worse when the document is automatically generated, and you cannot "just" insert manual ...
0
votes
0answers
49 views

\input a .tex file from an url [duplicate]

Is it possible to use \input with an url as parameter: \input{https://mywebsite.com/mylatex.tex} If not, is there any way to achieve this? I am using the TeX Live distribution.
2
votes
1answer
87 views

How to define a custom url entry in Biber?

My university referencing style defines two distinct styles for online resources. The first one is used when the exact link is known and in the public domain. This scenario is served well by the ...
1
vote
1answer
190 views

Remove “n.d.” from online entries without date in biblatex-chicago

For an undated website I would like to remove (n.d.) from the citation and the reference. I tried to adapt the solution here to biblatex-chicago but I guess it is some other macros which will need to ...
0
votes
1answer
80 views

Transforming URLs so that LaTeX understands them

I frequently have to show snippets of Python code in slides, and I like to show their behaviour in PythonTutor. Unfortunately, a mere \href{my_url}{my_title} is problematic, since the URL will contain ...
2
votes
0answers
145 views

Pandoc Latex: Overflow in Longtable

I use pandoc with some custom LaTeX template to generate a PDF Table. Hence, I cannot easily influence how Pandoc generates the table code, but instead I can change the configuration in the Latex ...
1
vote
1answer
55 views

Is it possible to configure Biblatex to only show URL of an entry if it has no DOI?

Can I configure Biblatex so that the URL, for entries that have both a url and a doi field, is normally not shown in the bibliography. The URL is only shown for entries that have no doi field.
1
vote
1answer
28 views

URL-Link over the side edge

I do a manuel bibliography (not using bibtex or sth. like that) and I want to put some URL in it. But some of the URL are over the side edge. \documentclass[a4paper, 12pt]{article} \usepackage{...
0
votes
1answer
60 views

\textit makes link incorrect

I want to make a reference in my thesis work and I want to make a link to a source using \textit \begin{thebibliography}{9} \bibitem{hinton} Jeffrey Hinton(2012) \textit{Neural Networks for ...
0
votes
0answers
47 views

How can I break URLs with long unbreakable sections in it using LaTeX? [duplicate]

I would like to know how to break URLs which contains long unbreakable sections in my bibliography using Sharelatex. That's the code I use to load my bibliography file \usepackage[sorting=nty]{...
4
votes
2answers
107 views

how to embed plain text data into a pdf with latex

Is there a way to embed data (e.g. CSV data) into a PDF. I want to have a table with numeric data and the reader should be able to get the data directly, without need to copy & paste from the pdf (...
3
votes
1answer
83 views

Allow line breaks at hyphen characters (“-”) in URL strings

Problem: I have created a command that colors URL strings in a certain way. URLs, unlike text, do not break at hyphen characters in my document. Minimal Working Example (MWE): \documentclass[...
0
votes
0answers
122 views

Cannot display tilde (~) in references latex / BibLatex

I have a link to a URL looking like this http://www.abc.de/~doo/bar/foobar.htm As you can see, it contains a ~. I tried changing the link to http://www.abc.de/\~doo/bar/foobar.htm However, the ~ ...
0
votes
0answers
232 views

Some issues in elsarticle-num bibliography style for elsarticle class

In the following document, I use the elsarticle class and its elsarticle-num reference style. There are some minor but important issues in the output result: The first reference which is a website ...
2
votes
1answer
384 views

Get Biblatex to show URL for Webpage references

I'm currently using Mendeley to gather my references and export them as a .bib file. I turned off the URL parameters on inclusion of Biblatex as I don't want URLs for published papers, books, etc: \...
1
vote
1answer
148 views

biblatex-chicago: Urls going past margins in bibliography

I recently encountered a problem with the biblatex-chicagopackage where the urls are linebreaking correctly in the footnotes in my footnotes but not in the bibliography. After a good amount of ...
0
votes
0answers
51 views

URL wrapping (line breaking) in csvreader tables

I am trying to create a table by reading a CSV file with 'csvreader'. The CSV file contains one URL per row, some of the URLs are too long, so the aspect is awful, since some of the URLs invades the ...
2
votes
0answers
205 views

LyX: Url not showing in references using natbib and url packages

I know there are many questions posted about this topic and that my question might be a duplicate (I'm a beginner in LyX, so apologizing in advance). However, I preformed a search before posting but I ...
2
votes
1answer
62 views

Sharp character within an \url{…}: allowed within all sectioning commands, except (sub)paragraphs

The url's documentation claims \url{...}, if used in the argument to another command, cannot have an argument containing any %, #, or ^^, or ending with \ (though this can be bypassed by \urldef's ...
1
vote
1answer
451 views

Awkward spacing between words in the bibliography

I'm pretty new to LaTeX and I've been writing my thesis in Texmaker. Right now I'm having problems with adjusting margins in the bibliography. To be more specific, there are weird spacings between the ...
1
vote
1answer
81 views

fonts - \renewcommand for \href (text show in the PDF)

I am trying to \renewcommand the second argument of the \hrefcommand (\href{URL}{text in the PDF pointing to the URL}). What I want to do is to display the text which points to the URL (URL passed ...
1
vote
1answer
144 views

Bibliographic entries: URL strings too long

I want to cite and format the bibliographic references according to APA style. So I tried: \documentclass[12pt,a4paper,twoside]{article} \usepackage{amsmath} \usepackage{setspace} \...