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

Modifying plainurl bst file to add other preprint servers

I'm rather new to this and I'm trying to modify the standard plainurl bst file to add other links on top of the usual ones (arxiv/doi/pubmed/url). By mimicking exactly what appears in the file I'm ...
0
votes
1answer
33 views

Interactive rectangles when clicking or hovering

This is my bibliography: When you click the link, it makes this color: The table of contents also does this. What is this functionality? How can I change the colors?
3
votes
2answers
32 views

Hyphenate URLs in paragraphs while maintaining an underline link

Problem: I wish to break or hyphenate links in paragraphs while maintaining an underline link. Minimal Working Example (MWE): \documentclass{article} \usepackage{lipsum} \usepackage[utf8]{inputenc} ...
0
votes
1answer
33 views

How to add url access date to model5-names.bst (elsarticle.cls) for bibliography?

Header of my LaTeX file: \documentclass[review]{elsarticle} \bibliographystyle{model5-names}\biboptions{authoryear} \begin{document} My Paper \bibliography{mybibfile01} \end{document} I need ...
1
vote
1answer
26 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
33 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
61 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
20 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
47 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
31 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
184 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
134 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
55 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
40 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
34 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
44 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 ...
1
vote
0answers
49 views

Add a special character in a latex url

I want to incorporate a link as a footnote to my latex text that contains a special character. That link is the following one: http://www.robots.ox.ac.uk/~vgg/research/cross-modal-emotions/ And ...
2
votes
2answers
245 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
79 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
272 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
73 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
172 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
129 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
151 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
46 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
153 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
187 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
80 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
87 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
435 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
29 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
146 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
196 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
190 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
107 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
134 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
51 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
109 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
303 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
82 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
212 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
65 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
30 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
77 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
132 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
88 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
181 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 ~ ...