Abbreviate author names as “Lastname AB” (without space or period) in bibliography












6















I want My journal wants author names to be abbreviated as "Lastname, FS" in the bibliography, but haven't found a way to do this after some excessive searching. Does anyone know if this is possible?



Here is MWE that shows how I don't want it to be



documentclass{article}
usepackage[backend=biber,giveninits=true]{biblatex}
DeclareNameAlias{author}{last-first}
addbibresource{jobname.bib}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{key,
author = {Lastname, First Second},
year = {2001},
title = {Title},
publisher = {Publisher},
}
end{filecontents}

begin{document}
cite{key}
printbibliography
end{document}


Result:



enter image description here










share|improve this question




















  • 2





    Since the question mentions a journal I should warn that I am not aware of a lot for journals that can accept biblatex submissions. biblatex imposes quite a different workflow on publishers than standard BibTeX or thebibliography, plus publishers are known to prefer stable (read: older) systems, where incompatibilities with modern biblatex could arise. Many journals have LaTeX templates and those almost never feature biblatex and usually insist on particular .bst styles or thebibliography. See also tex.stackexchange.com/q/12175/35864

    – moewe
    2 days ago


















6















I want My journal wants author names to be abbreviated as "Lastname, FS" in the bibliography, but haven't found a way to do this after some excessive searching. Does anyone know if this is possible?



Here is MWE that shows how I don't want it to be



documentclass{article}
usepackage[backend=biber,giveninits=true]{biblatex}
DeclareNameAlias{author}{last-first}
addbibresource{jobname.bib}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{key,
author = {Lastname, First Second},
year = {2001},
title = {Title},
publisher = {Publisher},
}
end{filecontents}

begin{document}
cite{key}
printbibliography
end{document}


Result:



enter image description here










share|improve this question




















  • 2





    Since the question mentions a journal I should warn that I am not aware of a lot for journals that can accept biblatex submissions. biblatex imposes quite a different workflow on publishers than standard BibTeX or thebibliography, plus publishers are known to prefer stable (read: older) systems, where incompatibilities with modern biblatex could arise. Many journals have LaTeX templates and those almost never feature biblatex and usually insist on particular .bst styles or thebibliography. See also tex.stackexchange.com/q/12175/35864

    – moewe
    2 days ago
















6












6








6








I want My journal wants author names to be abbreviated as "Lastname, FS" in the bibliography, but haven't found a way to do this after some excessive searching. Does anyone know if this is possible?



Here is MWE that shows how I don't want it to be



documentclass{article}
usepackage[backend=biber,giveninits=true]{biblatex}
DeclareNameAlias{author}{last-first}
addbibresource{jobname.bib}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{key,
author = {Lastname, First Second},
year = {2001},
title = {Title},
publisher = {Publisher},
}
end{filecontents}

begin{document}
cite{key}
printbibliography
end{document}


Result:



enter image description here










share|improve this question
















I want My journal wants author names to be abbreviated as "Lastname, FS" in the bibliography, but haven't found a way to do this after some excessive searching. Does anyone know if this is possible?



Here is MWE that shows how I don't want it to be



documentclass{article}
usepackage[backend=biber,giveninits=true]{biblatex}
DeclareNameAlias{author}{last-first}
addbibresource{jobname.bib}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{key,
author = {Lastname, First Second},
year = {2001},
title = {Title},
publisher = {Publisher},
}
end{filecontents}

begin{document}
cite{key}
printbibliography
end{document}


Result:



enter image description here







biblatex biber






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago







Filip S.

















asked 2 days ago









Filip S.Filip S.

22018




22018








  • 2





    Since the question mentions a journal I should warn that I am not aware of a lot for journals that can accept biblatex submissions. biblatex imposes quite a different workflow on publishers than standard BibTeX or thebibliography, plus publishers are known to prefer stable (read: older) systems, where incompatibilities with modern biblatex could arise. Many journals have LaTeX templates and those almost never feature biblatex and usually insist on particular .bst styles or thebibliography. See also tex.stackexchange.com/q/12175/35864

    – moewe
    2 days ago
















  • 2





    Since the question mentions a journal I should warn that I am not aware of a lot for journals that can accept biblatex submissions. biblatex imposes quite a different workflow on publishers than standard BibTeX or thebibliography, plus publishers are known to prefer stable (read: older) systems, where incompatibilities with modern biblatex could arise. Many journals have LaTeX templates and those almost never feature biblatex and usually insist on particular .bst styles or thebibliography. See also tex.stackexchange.com/q/12175/35864

    – moewe
    2 days ago










2




2





Since the question mentions a journal I should warn that I am not aware of a lot for journals that can accept biblatex submissions. biblatex imposes quite a different workflow on publishers than standard BibTeX or thebibliography, plus publishers are known to prefer stable (read: older) systems, where incompatibilities with modern biblatex could arise. Many journals have LaTeX templates and those almost never feature biblatex and usually insist on particular .bst styles or thebibliography. See also tex.stackexchange.com/q/12175/35864

– moewe
2 days ago







Since the question mentions a journal I should warn that I am not aware of a lot for journals that can accept biblatex submissions. biblatex imposes quite a different workflow on publishers than standard BibTeX or thebibliography, plus publishers are known to prefer stable (read: older) systems, where incompatibilities with modern biblatex could arise. Many journals have LaTeX templates and those almost never feature biblatex and usually insist on particular .bst styles or thebibliography. See also tex.stackexchange.com/q/12175/35864

– moewe
2 days ago












1 Answer
1






active

oldest

votes


















6














The option terseinits does that for you. terseinits is a meta-option that essentially executes the following definitions



renewrobustcmd*{bibinitperiod}{}
renewrobustcmd*{bibinitdelim}{}
renewrobustcmd*{bibinithyphendelim}{}


and sets the test ifterseinits (that test is not used by a lot of styles, apparently, so it hardly matters).



If you want a more fine-grained control, you can redefine these macros yourself. They do pretty much what their names suggest: bibinitperiod is the punctuation after a name initial, bibinitdelim the space between two name initials and bibinithyphendelim replaces the two between hyphenated name parts such as Jean-Jacques.



documentclass{article}

usepackage[backend=biber, giveninits=true, terseinits=true]{biblatex}
DeclareNameAlias{author}{family-given}

usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{key,
author = {Lastname, First Second},
year = {2001},
title = {Title},
publisher = {Publisher},
}
end{filecontents}
addbibresource{jobname.bib}

begin{document}
cite{key}
printbibliography
end{document}


Lastname, FS. Title. Publisher, 2001.



Note that I changed the deprecated last-first to the new family-given, since you are already using the new name giveninits (cf. Biblatex 3.3 name formatting).



If you are using authoryear, you may want to redefine sortname and not only author:



DeclareNameAlias{author}{family-given}





share|improve this answer


























  • The last period after "FS" is nametitledelim, i.e. the separator between the name and the title, and not a dot for the initials. If it should go as well, you may want to add DeclareDelimFormat[bib]{nametitledelim}{addspace}

    – moewe
    2 days ago













  • That's perfect, thanks! I use style=authoryear, so the last period after "FS" doesn't show up, but it's nice to know anyway.

    – Filip S.
    2 days ago














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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481852%2fabbreviate-author-names-as-lastname-ab-without-space-or-period-in-bibliograp%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









6














The option terseinits does that for you. terseinits is a meta-option that essentially executes the following definitions



renewrobustcmd*{bibinitperiod}{}
renewrobustcmd*{bibinitdelim}{}
renewrobustcmd*{bibinithyphendelim}{}


and sets the test ifterseinits (that test is not used by a lot of styles, apparently, so it hardly matters).



If you want a more fine-grained control, you can redefine these macros yourself. They do pretty much what their names suggest: bibinitperiod is the punctuation after a name initial, bibinitdelim the space between two name initials and bibinithyphendelim replaces the two between hyphenated name parts such as Jean-Jacques.



documentclass{article}

usepackage[backend=biber, giveninits=true, terseinits=true]{biblatex}
DeclareNameAlias{author}{family-given}

usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{key,
author = {Lastname, First Second},
year = {2001},
title = {Title},
publisher = {Publisher},
}
end{filecontents}
addbibresource{jobname.bib}

begin{document}
cite{key}
printbibliography
end{document}


Lastname, FS. Title. Publisher, 2001.



Note that I changed the deprecated last-first to the new family-given, since you are already using the new name giveninits (cf. Biblatex 3.3 name formatting).



If you are using authoryear, you may want to redefine sortname and not only author:



DeclareNameAlias{author}{family-given}





share|improve this answer


























  • The last period after "FS" is nametitledelim, i.e. the separator between the name and the title, and not a dot for the initials. If it should go as well, you may want to add DeclareDelimFormat[bib]{nametitledelim}{addspace}

    – moewe
    2 days ago













  • That's perfect, thanks! I use style=authoryear, so the last period after "FS" doesn't show up, but it's nice to know anyway.

    – Filip S.
    2 days ago


















6














The option terseinits does that for you. terseinits is a meta-option that essentially executes the following definitions



renewrobustcmd*{bibinitperiod}{}
renewrobustcmd*{bibinitdelim}{}
renewrobustcmd*{bibinithyphendelim}{}


and sets the test ifterseinits (that test is not used by a lot of styles, apparently, so it hardly matters).



If you want a more fine-grained control, you can redefine these macros yourself. They do pretty much what their names suggest: bibinitperiod is the punctuation after a name initial, bibinitdelim the space between two name initials and bibinithyphendelim replaces the two between hyphenated name parts such as Jean-Jacques.



documentclass{article}

usepackage[backend=biber, giveninits=true, terseinits=true]{biblatex}
DeclareNameAlias{author}{family-given}

usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{key,
author = {Lastname, First Second},
year = {2001},
title = {Title},
publisher = {Publisher},
}
end{filecontents}
addbibresource{jobname.bib}

begin{document}
cite{key}
printbibliography
end{document}


Lastname, FS. Title. Publisher, 2001.



Note that I changed the deprecated last-first to the new family-given, since you are already using the new name giveninits (cf. Biblatex 3.3 name formatting).



If you are using authoryear, you may want to redefine sortname and not only author:



DeclareNameAlias{author}{family-given}





share|improve this answer


























  • The last period after "FS" is nametitledelim, i.e. the separator between the name and the title, and not a dot for the initials. If it should go as well, you may want to add DeclareDelimFormat[bib]{nametitledelim}{addspace}

    – moewe
    2 days ago













  • That's perfect, thanks! I use style=authoryear, so the last period after "FS" doesn't show up, but it's nice to know anyway.

    – Filip S.
    2 days ago
















6












6








6







The option terseinits does that for you. terseinits is a meta-option that essentially executes the following definitions



renewrobustcmd*{bibinitperiod}{}
renewrobustcmd*{bibinitdelim}{}
renewrobustcmd*{bibinithyphendelim}{}


and sets the test ifterseinits (that test is not used by a lot of styles, apparently, so it hardly matters).



If you want a more fine-grained control, you can redefine these macros yourself. They do pretty much what their names suggest: bibinitperiod is the punctuation after a name initial, bibinitdelim the space between two name initials and bibinithyphendelim replaces the two between hyphenated name parts such as Jean-Jacques.



documentclass{article}

usepackage[backend=biber, giveninits=true, terseinits=true]{biblatex}
DeclareNameAlias{author}{family-given}

usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{key,
author = {Lastname, First Second},
year = {2001},
title = {Title},
publisher = {Publisher},
}
end{filecontents}
addbibresource{jobname.bib}

begin{document}
cite{key}
printbibliography
end{document}


Lastname, FS. Title. Publisher, 2001.



Note that I changed the deprecated last-first to the new family-given, since you are already using the new name giveninits (cf. Biblatex 3.3 name formatting).



If you are using authoryear, you may want to redefine sortname and not only author:



DeclareNameAlias{author}{family-given}





share|improve this answer















The option terseinits does that for you. terseinits is a meta-option that essentially executes the following definitions



renewrobustcmd*{bibinitperiod}{}
renewrobustcmd*{bibinitdelim}{}
renewrobustcmd*{bibinithyphendelim}{}


and sets the test ifterseinits (that test is not used by a lot of styles, apparently, so it hardly matters).



If you want a more fine-grained control, you can redefine these macros yourself. They do pretty much what their names suggest: bibinitperiod is the punctuation after a name initial, bibinitdelim the space between two name initials and bibinithyphendelim replaces the two between hyphenated name parts such as Jean-Jacques.



documentclass{article}

usepackage[backend=biber, giveninits=true, terseinits=true]{biblatex}
DeclareNameAlias{author}{family-given}

usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{key,
author = {Lastname, First Second},
year = {2001},
title = {Title},
publisher = {Publisher},
}
end{filecontents}
addbibresource{jobname.bib}

begin{document}
cite{key}
printbibliography
end{document}


Lastname, FS. Title. Publisher, 2001.



Note that I changed the deprecated last-first to the new family-given, since you are already using the new name giveninits (cf. Biblatex 3.3 name formatting).



If you are using authoryear, you may want to redefine sortname and not only author:



DeclareNameAlias{author}{family-given}






share|improve this answer














share|improve this answer



share|improve this answer








edited 2 days ago

























answered 2 days ago









moewemoewe

95.6k10116358




95.6k10116358













  • The last period after "FS" is nametitledelim, i.e. the separator between the name and the title, and not a dot for the initials. If it should go as well, you may want to add DeclareDelimFormat[bib]{nametitledelim}{addspace}

    – moewe
    2 days ago













  • That's perfect, thanks! I use style=authoryear, so the last period after "FS" doesn't show up, but it's nice to know anyway.

    – Filip S.
    2 days ago





















  • The last period after "FS" is nametitledelim, i.e. the separator between the name and the title, and not a dot for the initials. If it should go as well, you may want to add DeclareDelimFormat[bib]{nametitledelim}{addspace}

    – moewe
    2 days ago













  • That's perfect, thanks! I use style=authoryear, so the last period after "FS" doesn't show up, but it's nice to know anyway.

    – Filip S.
    2 days ago



















The last period after "FS" is nametitledelim, i.e. the separator between the name and the title, and not a dot for the initials. If it should go as well, you may want to add DeclareDelimFormat[bib]{nametitledelim}{addspace}

– moewe
2 days ago







The last period after "FS" is nametitledelim, i.e. the separator between the name and the title, and not a dot for the initials. If it should go as well, you may want to add DeclareDelimFormat[bib]{nametitledelim}{addspace}

– moewe
2 days ago















That's perfect, thanks! I use style=authoryear, so the last period after "FS" doesn't show up, but it's nice to know anyway.

– Filip S.
2 days ago







That's perfect, thanks! I use style=authoryear, so the last period after "FS" doesn't show up, but it's nice to know anyway.

– Filip S.
2 days ago




















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481852%2fabbreviate-author-names-as-lastname-ab-without-space-or-period-in-bibliograp%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局