参考书目中的链接前有不同的空格

参考书目中的链接前有不同的空格

参考书目中的链接前空格大小不同。我的 BST 文件和 MWE 如下所示。我该如何解决空格问题?谢谢。

在此处输入图片描述

我的bst文件:链接 1

bst 文件的替代链接:链接 2

我的 MWE 是:

\documentclass[12pt]{report}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{r1,
  title     = {},
  author    = {{URL-1}},
  year      = {2019},
  url       = {https://earth.esa.int/web/guest/missions/esa-eo-missions/ers/mission-summary},
  note      = {2 Ocak 2019}
}

@misc{r2,
  title     = {},
  author    = {{URL-2}},
  year      = {2019},
  url       = {https://www.dlr.de/dlr/en/desktopdefault.aspx/tabid-10377/565_read-436/#/gallery/350},
  note      = {5 Ocak 2019}
}

@misc{r3,
  title     = {},
  author    = {{URL-3}},
  year      = {2019},
  url       = {http://global.jaxa.jp/projects/sat/alos/},
  note      = {5 Ocak 2019}
}

@misc{r10,
  title     = {},
  author    = {{URL-10}},
  year      = {2019},
  url       = {http://www.cosmo-skymed.it/en/index.htm},
  note      = {5 Ocak 2019}
}

@misc{r11,
  title     = {},
  author    = {{URL-11}},
  year      = {2018},
  url       = {https://sentinel.esa.int/web/sentinel/user-guides/sentinel-1-sar/acquisition-modes/interferometric-wide-swath},
  note      = {13 Kasım 2018}
}



\end{filecontents}


\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[main=turkish,english,shorthands=:!]{babel}
\usepackage{titlesec}
\usepackage[normalem]{ulem}
\usepackage{etoolbox}

\usepackage{apacite}
%%% Same fonts for URL
\AtBeginDocument{\urlstyle{APACsame}} %
\usepackage{natbib}

%---------------------------
\usepackage[none]{hyphenat}

\usepackage[unicode]{hyperref} %
\urlstyle{same}


% BEGIN
\begin{document}

\sloppy %  working with the \usepackage[none]{hyphenat} code

% CHAPTER-------------

\chapter{Chapter 1}

\cite{r1}\\
\cite{r2}\\
\cite{r3}\\
\cite{r10}\\
\cite{r11}\\
%---------------------


%BIBLIOGRAPHY---------


\setlength{\bibsep}{1\itemsep}
\bibliographystyle{tez}
\bibliography{\jobname}

%.....................

\end{document}

答案1

xurl软件包将提供更多可能的突破选项:

\documentclass[12pt]{report}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{r1,
  title     = {},
  author    = {{URL-1}},
  year      = {2019},
  url       = {https://earth.esa.int/web/guest/missions/esa-eo-missions/ers/mission-summary},
  note      = {2 Ocak 2019}
}

@misc{r2,
  title     = {},
  author    = {{URL-2}},
  year      = {2019},
  url       = {https://www.dlr.de/dlr/en/desktopdefault.aspx/tabid-10377/565_read-436/#/gallery/350},
  note      = {5 Ocak 2019}
}

@misc{r3,
  title     = {},
  author    = {{URL-3}},
  year      = {2019},
  url       = {http://global.jaxa.jp/projects/sat/alos/},
  note      = {5 Ocak 2019}
}

@misc{r10,
  title     = {},
  author    = {{URL-10}},
  year      = {2019},
  url       = {http://www.cosmo-skymed.it/en/index.htm},
  note      = {5 Ocak 2019}
}

@misc{r11,
  title     = {},
  author    = {{URL-11}},
  year      = {2018},
  url       = {https://sentinel.esa.int/web/sentinel/user-guides/sentinel-1-sar/acquisition-modes/interferometric-wide-swath},
  note      = {13 Kasım 2018}
}



\end{filecontents}

\usepackage{xurl}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[main=turkish,english,shorthands=:!]{babel}
\usepackage{titlesec}
\usepackage[normalem]{ulem}
\usepackage{etoolbox}

\usepackage{apacite}
%%% Same fonts for URL
\AtBeginDocument{\urlstyle{APACsame}} %
\usepackage{natbib}

%---------------------------
\usepackage[none]{hyphenat}

\usepackage[unicode]{hyperref} %
\urlstyle{same}


% BEGIN
\begin{document}

\sloppy %  working with the \usepackage[none]{hyphenat} code

% CHAPTER-------------

\chapter{Chapter 1}

\cite{r1}\\
\cite{r2}\\
\cite{r3}\\
\cite{r10}\\
\cite{r11}\\
%---------------------


%BIBLIOGRAPHY---------


\setlength{\bibsep}{1\itemsep}
\bibliographystyle{tez}
\bibliography{\jobname}

%.....................

\end{document}

在此处输入图片描述

相关内容