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
0
votes
1answer
18 views

Pound sign # in \href link in beamer's frame environment

While there's normally no problem with having the pound sign # in an \href link (see Hyperlink with # (number sign)), it does not work within a frame environment in beamer. \documentclass{beamer} \...
1
vote
0answers
28 views

Accepting special characters in arguments passing them further

I would like to define a macro very similar to \url, that accepts more or less arbitrary strings (including hashes/#) and passes them to other commands (i.e., \href, \url, \nolinkurl). I have tried to ...
1
vote
2answers
56 views

How to include URLs with ecta style?

I am using ecta (Econometrica) style for references. I want to include URLs with them but ecta style does not support it. I tried using note and howpublished but it appears the ecta style overrides ...
0
votes
1answer
19 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.
0
votes
1answer
45 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
26 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
26 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
156 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
97 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
52 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
31 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
29 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
42 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
124 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
57 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
247 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
71 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
126 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
124 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
126 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
39 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
126 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
170 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
78 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
80 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
366 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
25 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
116 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
184 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
172 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
99 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
116 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
50 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
95 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
244 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
81 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
184 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
62 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
68 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
48 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
123 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
85 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
140 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
281 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
435 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
159 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
52 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
236 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 ...