Hot answers tagged

2

I suggest you load the url package with the options hyphens, spaces, and obeyspaces, issue the instruction \urlstyle{same}, and then encase all URL strings in an \url{...} wrapper. That way, LaTeX will almost surely find a decent linebreak in the URL string and won't need to stretch the interword whitespace in earlier part of the footnote.


2

Please have a look to the following code. Please see that I used some code from this question, see acepted answer . MWE: \RequirePackage{filecontents} \begin{filecontents*}{\jobname.bib} @BOOK{indreboe1951, AUTHOR = {Gustav Indreb\o}, TITLE = {Norsk m\aa lsoga}, YEAR = {1951}, LOCATION = {Bergen}, PUBLISHER = {John Grieg}, URL ...


2

If you have in your code \bibliographystyle{plainnat} then the "URL" text comes from the style. In the plainnat.bst file you can find the following code: FUNCTION {format.url} { url empty$ { "" } { new.block "URL \url{" url * "}" * } if$ } The part "URL \url{" url * "}" * is responsible for your problem. You can delete URL at the start of it or ...


1

If it is an underscore that you want, just type \textit{gbr.sagepub.com/content/16/5\_suppl/93S.refs} But it is better to use the url package, which allows line breaks in urls at correct points: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{url} \def\UrlFont{\itshape\sffamily} ...


1

You can use hyperref options, and locally modify it when needed. \documentclass{article} \usepackage[colorlinks=true,urlcolor=magenta]{hyperref} \newcommand{\myhref}[2] {\hypersetup{urlcolor=blue}% \href{#1}{#2}% \hypersetup{urlcolor=magenta}% } \begin{document} Here is \href{http://www.myurl.com}{my link}. ...



Only top voted, non community-wiki answers of a minimum length are eligible