How can I modify spacing between words in bibliography?
I've been trying to modify the spacing between words in my bibliography for a while now but I can't get it to work properly. I've been applying the answer from this thread Gaps between words in bibliography with regards to adding the usepackage[hyphens]{url}
in the preamble but I still get an awkward looking bibliography (see picture below).
Both the third and the last bibliography entry looks weird. Especially the third one. It seems related to the fact that I'm using Urls. Here's some of the bibtex "code" (don't know the proper terminology):
@Article{barnombud2018,
author = {Barnombudsmannen},
title = {textit{utanförskap, våld och kärlek till orten}},
year = {2018},
note = {{ url{https://www.barnombudsmannen.se/barnombudsmannen/publikationer/arsrapporter/utanforskap-vald-och-karlek-till-orten-2018/}}},
}
bibliographies bibtex
add a comment |
I've been trying to modify the spacing between words in my bibliography for a while now but I can't get it to work properly. I've been applying the answer from this thread Gaps between words in bibliography with regards to adding the usepackage[hyphens]{url}
in the preamble but I still get an awkward looking bibliography (see picture below).
Both the third and the last bibliography entry looks weird. Especially the third one. It seems related to the fact that I'm using Urls. Here's some of the bibtex "code" (don't know the proper terminology):
@Article{barnombud2018,
author = {Barnombudsmannen},
title = {textit{utanförskap, våld och kärlek till orten}},
year = {2018},
note = {{ url{https://www.barnombudsmannen.se/barnombudsmannen/publikationer/arsrapporter/utanforskap-vald-och-karlek-till-orten-2018/}}},
}
bibliographies bibtex
2
If you have to put formatting instructions liketextit
around the entire field contents that indicates either that you should be using a different bibliography style which formats your entries correctly or a different entry type (indeed,@article
looks a bit far fetched forbarnombud2018
, it's probably more of a@report
/@techreport
or@online
/@misc
- exact names of types may vary in your style). Modern styles also support a dedicatedurl
field making the workaround of puttingurl
intohowpublished
ornote
superfluous.
– moewe
6 hours ago
Yes, I used the textit command because I read some quick reference guides for harvard where they said that the title for these kinds of publications should be in italic. Its difficult for me to know exactly which type of bibliography style I should use.
– Victor Galeano
6 hours ago
The two questions (which style should you use and which entry type you should pick for an entry) are indeed not always simple. Usually the first step is to find a style that does more or less what you need. Then the second step is to find out which entry types that style supports and how to use them.
– moewe
6 hours ago
add a comment |
I've been trying to modify the spacing between words in my bibliography for a while now but I can't get it to work properly. I've been applying the answer from this thread Gaps between words in bibliography with regards to adding the usepackage[hyphens]{url}
in the preamble but I still get an awkward looking bibliography (see picture below).
Both the third and the last bibliography entry looks weird. Especially the third one. It seems related to the fact that I'm using Urls. Here's some of the bibtex "code" (don't know the proper terminology):
@Article{barnombud2018,
author = {Barnombudsmannen},
title = {textit{utanförskap, våld och kärlek till orten}},
year = {2018},
note = {{ url{https://www.barnombudsmannen.se/barnombudsmannen/publikationer/arsrapporter/utanforskap-vald-och-karlek-till-orten-2018/}}},
}
bibliographies bibtex
I've been trying to modify the spacing between words in my bibliography for a while now but I can't get it to work properly. I've been applying the answer from this thread Gaps between words in bibliography with regards to adding the usepackage[hyphens]{url}
in the preamble but I still get an awkward looking bibliography (see picture below).
Both the third and the last bibliography entry looks weird. Especially the third one. It seems related to the fact that I'm using Urls. Here's some of the bibtex "code" (don't know the proper terminology):
@Article{barnombud2018,
author = {Barnombudsmannen},
title = {textit{utanförskap, våld och kärlek till orten}},
year = {2018},
note = {{ url{https://www.barnombudsmannen.se/barnombudsmannen/publikationer/arsrapporter/utanforskap-vald-och-karlek-till-orten-2018/}}},
}
bibliographies bibtex
bibliographies bibtex
edited 6 hours ago
user185220
315
315
asked 7 hours ago
Victor GaleanoVictor Galeano
161
161
2
If you have to put formatting instructions liketextit
around the entire field contents that indicates either that you should be using a different bibliography style which formats your entries correctly or a different entry type (indeed,@article
looks a bit far fetched forbarnombud2018
, it's probably more of a@report
/@techreport
or@online
/@misc
- exact names of types may vary in your style). Modern styles also support a dedicatedurl
field making the workaround of puttingurl
intohowpublished
ornote
superfluous.
– moewe
6 hours ago
Yes, I used the textit command because I read some quick reference guides for harvard where they said that the title for these kinds of publications should be in italic. Its difficult for me to know exactly which type of bibliography style I should use.
– Victor Galeano
6 hours ago
The two questions (which style should you use and which entry type you should pick for an entry) are indeed not always simple. Usually the first step is to find a style that does more or less what you need. Then the second step is to find out which entry types that style supports and how to use them.
– moewe
6 hours ago
add a comment |
2
If you have to put formatting instructions liketextit
around the entire field contents that indicates either that you should be using a different bibliography style which formats your entries correctly or a different entry type (indeed,@article
looks a bit far fetched forbarnombud2018
, it's probably more of a@report
/@techreport
or@online
/@misc
- exact names of types may vary in your style). Modern styles also support a dedicatedurl
field making the workaround of puttingurl
intohowpublished
ornote
superfluous.
– moewe
6 hours ago
Yes, I used the textit command because I read some quick reference guides for harvard where they said that the title for these kinds of publications should be in italic. Its difficult for me to know exactly which type of bibliography style I should use.
– Victor Galeano
6 hours ago
The two questions (which style should you use and which entry type you should pick for an entry) are indeed not always simple. Usually the first step is to find a style that does more or less what you need. Then the second step is to find out which entry types that style supports and how to use them.
– moewe
6 hours ago
2
2
If you have to put formatting instructions like
textit
around the entire field contents that indicates either that you should be using a different bibliography style which formats your entries correctly or a different entry type (indeed, @article
looks a bit far fetched for barnombud2018
, it's probably more of a @report
/@techreport
or @online
/@misc
- exact names of types may vary in your style). Modern styles also support a dedicated url
field making the workaround of putting url
into howpublished
or note
superfluous.– moewe
6 hours ago
If you have to put formatting instructions like
textit
around the entire field contents that indicates either that you should be using a different bibliography style which formats your entries correctly or a different entry type (indeed, @article
looks a bit far fetched for barnombud2018
, it's probably more of a @report
/@techreport
or @online
/@misc
- exact names of types may vary in your style). Modern styles also support a dedicated url
field making the workaround of putting url
into howpublished
or note
superfluous.– moewe
6 hours ago
Yes, I used the textit command because I read some quick reference guides for harvard where they said that the title for these kinds of publications should be in italic. Its difficult for me to know exactly which type of bibliography style I should use.
– Victor Galeano
6 hours ago
Yes, I used the textit command because I read some quick reference guides for harvard where they said that the title for these kinds of publications should be in italic. Its difficult for me to know exactly which type of bibliography style I should use.
– Victor Galeano
6 hours ago
The two questions (which style should you use and which entry type you should pick for an entry) are indeed not always simple. Usually the first step is to find a style that does more or less what you need. Then the second step is to find out which entry types that style supports and how to use them.
– moewe
6 hours ago
The two questions (which style should you use and which entry type you should pick for an entry) are indeed not always simple. Usually the first step is to find a style that does more or less what you need. Then the second step is to find out which entry types that style supports and how to use them.
– moewe
6 hours ago
add a comment |
1 Answer
1
active
oldest
votes
The problem is that the urls normally can only be broken at few places. To allow more possible break points and thus improve the layout of the bibliography, add
usepackage{xurl}
to your document.
One example (I had do guess a bib style, replace it with the ones you are actually using)
documentclass{article}
usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@Article{barnombud2018,
author = {Barnombudsmannen},
title = {textit{utanförskap, våld och kärlek till orten}},
year = {2018},
note = {{url{https://www.barnombudsmannen.se/barnombudsmannen/publikationer/arsrapporter/utanforskap-vald-och-karlek-till-orten-2018/}}},
}
end{filecontents*}
usepackage{natbib}
usepackage[hyphens]{url}
usepackage{xurl}
begin{document}
cite{barnombud2018}
bibliographystyle{plainnat}
bibliography{jobname}
end{document}
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483844%2fhow-can-i-modify-spacing-between-words-in-bibliography%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem is that the urls normally can only be broken at few places. To allow more possible break points and thus improve the layout of the bibliography, add
usepackage{xurl}
to your document.
One example (I had do guess a bib style, replace it with the ones you are actually using)
documentclass{article}
usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@Article{barnombud2018,
author = {Barnombudsmannen},
title = {textit{utanförskap, våld och kärlek till orten}},
year = {2018},
note = {{url{https://www.barnombudsmannen.se/barnombudsmannen/publikationer/arsrapporter/utanforskap-vald-och-karlek-till-orten-2018/}}},
}
end{filecontents*}
usepackage{natbib}
usepackage[hyphens]{url}
usepackage{xurl}
begin{document}
cite{barnombud2018}
bibliographystyle{plainnat}
bibliography{jobname}
end{document}
New contributor
add a comment |
The problem is that the urls normally can only be broken at few places. To allow more possible break points and thus improve the layout of the bibliography, add
usepackage{xurl}
to your document.
One example (I had do guess a bib style, replace it with the ones you are actually using)
documentclass{article}
usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@Article{barnombud2018,
author = {Barnombudsmannen},
title = {textit{utanförskap, våld och kärlek till orten}},
year = {2018},
note = {{url{https://www.barnombudsmannen.se/barnombudsmannen/publikationer/arsrapporter/utanforskap-vald-och-karlek-till-orten-2018/}}},
}
end{filecontents*}
usepackage{natbib}
usepackage[hyphens]{url}
usepackage{xurl}
begin{document}
cite{barnombud2018}
bibliographystyle{plainnat}
bibliography{jobname}
end{document}
New contributor
add a comment |
The problem is that the urls normally can only be broken at few places. To allow more possible break points and thus improve the layout of the bibliography, add
usepackage{xurl}
to your document.
One example (I had do guess a bib style, replace it with the ones you are actually using)
documentclass{article}
usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@Article{barnombud2018,
author = {Barnombudsmannen},
title = {textit{utanförskap, våld och kärlek till orten}},
year = {2018},
note = {{url{https://www.barnombudsmannen.se/barnombudsmannen/publikationer/arsrapporter/utanforskap-vald-och-karlek-till-orten-2018/}}},
}
end{filecontents*}
usepackage{natbib}
usepackage[hyphens]{url}
usepackage{xurl}
begin{document}
cite{barnombud2018}
bibliographystyle{plainnat}
bibliography{jobname}
end{document}
New contributor
The problem is that the urls normally can only be broken at few places. To allow more possible break points and thus improve the layout of the bibliography, add
usepackage{xurl}
to your document.
One example (I had do guess a bib style, replace it with the ones you are actually using)
documentclass{article}
usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@Article{barnombud2018,
author = {Barnombudsmannen},
title = {textit{utanförskap, våld och kärlek till orten}},
year = {2018},
note = {{url{https://www.barnombudsmannen.se/barnombudsmannen/publikationer/arsrapporter/utanforskap-vald-och-karlek-till-orten-2018/}}},
}
end{filecontents*}
usepackage{natbib}
usepackage[hyphens]{url}
usepackage{xurl}
begin{document}
cite{barnombud2018}
bibliographystyle{plainnat}
bibliography{jobname}
end{document}
New contributor
edited 6 hours ago
New contributor
answered 7 hours ago
user185220user185220
315
315
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483844%2fhow-can-i-modify-spacing-between-words-in-bibliography%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
If you have to put formatting instructions like
textit
around the entire field contents that indicates either that you should be using a different bibliography style which formats your entries correctly or a different entry type (indeed,@article
looks a bit far fetched forbarnombud2018
, it's probably more of a@report
/@techreport
or@online
/@misc
- exact names of types may vary in your style). Modern styles also support a dedicatedurl
field making the workaround of puttingurl
intohowpublished
ornote
superfluous.– moewe
6 hours ago
Yes, I used the textit command because I read some quick reference guides for harvard where they said that the title for these kinds of publications should be in italic. Its difficult for me to know exactly which type of bibliography style I should use.
– Victor Galeano
6 hours ago
The two questions (which style should you use and which entry type you should pick for an entry) are indeed not always simple. Usually the first step is to find a style that does more or less what you need. Then the second step is to find out which entry types that style supports and how to use them.
– moewe
6 hours ago