Natbib (apalike) Changing “and” into symbol “&”











up vote
1
down vote

favorite












I am using natbib for APA style in my bibliography, but i want to change




A and B. (2018). Abc.




into




A & B. (2018). Abc.




I know I have to copy apalike.bst into my working directory and edit it. But I don't know which part that I have to edit. Please help.



Note:
There is this similar question here but it seems I can't find it in apalike.bst










share|improve this question






















  • If you really need actual APA style, why don't you use the apacite package with the [natbibapa] option and the apacite bibliography style. This implements a pretty good APA 6 style.
    – Alan Munn
    40 mins ago










  • I can't because of the requirement. Actually I want to use apacite too, but unfortunately apacite is not in the list of allowed package, and the only possible package is natbib
    – Ben
    29 mins ago










  • If apacite is not allowed, are you sure you're allowed to use a non-standard .bst file?
    – Alan Munn
    24 mins ago















up vote
1
down vote

favorite












I am using natbib for APA style in my bibliography, but i want to change




A and B. (2018). Abc.




into




A & B. (2018). Abc.




I know I have to copy apalike.bst into my working directory and edit it. But I don't know which part that I have to edit. Please help.



Note:
There is this similar question here but it seems I can't find it in apalike.bst










share|improve this question






















  • If you really need actual APA style, why don't you use the apacite package with the [natbibapa] option and the apacite bibliography style. This implements a pretty good APA 6 style.
    – Alan Munn
    40 mins ago










  • I can't because of the requirement. Actually I want to use apacite too, but unfortunately apacite is not in the list of allowed package, and the only possible package is natbib
    – Ben
    29 mins ago










  • If apacite is not allowed, are you sure you're allowed to use a non-standard .bst file?
    – Alan Munn
    24 mins ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am using natbib for APA style in my bibliography, but i want to change




A and B. (2018). Abc.




into




A & B. (2018). Abc.




I know I have to copy apalike.bst into my working directory and edit it. But I don't know which part that I have to edit. Please help.



Note:
There is this similar question here but it seems I can't find it in apalike.bst










share|improve this question













I am using natbib for APA style in my bibliography, but i want to change




A and B. (2018). Abc.




into




A & B. (2018). Abc.




I know I have to copy apalike.bst into my working directory and edit it. But I don't know which part that I have to edit. Please help.



Note:
There is this similar question here but it seems I can't find it in apalike.bst







natbib apa-style






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 54 mins ago









Ben

162




162












  • If you really need actual APA style, why don't you use the apacite package with the [natbibapa] option and the apacite bibliography style. This implements a pretty good APA 6 style.
    – Alan Munn
    40 mins ago










  • I can't because of the requirement. Actually I want to use apacite too, but unfortunately apacite is not in the list of allowed package, and the only possible package is natbib
    – Ben
    29 mins ago










  • If apacite is not allowed, are you sure you're allowed to use a non-standard .bst file?
    – Alan Munn
    24 mins ago


















  • If you really need actual APA style, why don't you use the apacite package with the [natbibapa] option and the apacite bibliography style. This implements a pretty good APA 6 style.
    – Alan Munn
    40 mins ago










  • I can't because of the requirement. Actually I want to use apacite too, but unfortunately apacite is not in the list of allowed package, and the only possible package is natbib
    – Ben
    29 mins ago










  • If apacite is not allowed, are you sure you're allowed to use a non-standard .bst file?
    – Alan Munn
    24 mins ago
















If you really need actual APA style, why don't you use the apacite package with the [natbibapa] option and the apacite bibliography style. This implements a pretty good APA 6 style.
– Alan Munn
40 mins ago




If you really need actual APA style, why don't you use the apacite package with the [natbibapa] option and the apacite bibliography style. This implements a pretty good APA 6 style.
– Alan Munn
40 mins ago












I can't because of the requirement. Actually I want to use apacite too, but unfortunately apacite is not in the list of allowed package, and the only possible package is natbib
– Ben
29 mins ago




I can't because of the requirement. Actually I want to use apacite too, but unfortunately apacite is not in the list of allowed package, and the only possible package is natbib
– Ben
29 mins ago












If apacite is not allowed, are you sure you're allowed to use a non-standard .bst file?
– Alan Munn
24 mins ago




If apacite is not allowed, are you sure you're allowed to use a non-standard .bst file?
– Alan Munn
24 mins ago










1 Answer
1






active

oldest

votes

















up vote
0
down vote













There are two functions that need to be changed in your copy of apalike.bst, (I strongly recommend giving it a new name, like apalike-ampersand.bst) one for the label names (i.e., in text citations) FUNCTION {format.lab.names} and one for the reference list names, FUNCTION {format.names}.



In the function {format.lab.names} change the line:



{ " and " * s #2 "{vv~}{ll}" format.name$ * }


to



{ " & " * s #2 "{vv~}{ll}" format.name$ * }


In the function {format.names} change the line:



{ " and " * t * }


to



{ " & " * t * }


This should do what you want.






share|improve this answer





















    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',
    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%2f462303%2fnatbib-apalike-changing-and-into-symbol%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








    up vote
    0
    down vote













    There are two functions that need to be changed in your copy of apalike.bst, (I strongly recommend giving it a new name, like apalike-ampersand.bst) one for the label names (i.e., in text citations) FUNCTION {format.lab.names} and one for the reference list names, FUNCTION {format.names}.



    In the function {format.lab.names} change the line:



    { " and " * s #2 "{vv~}{ll}" format.name$ * }


    to



    { " & " * s #2 "{vv~}{ll}" format.name$ * }


    In the function {format.names} change the line:



    { " and " * t * }


    to



    { " & " * t * }


    This should do what you want.






    share|improve this answer

























      up vote
      0
      down vote













      There are two functions that need to be changed in your copy of apalike.bst, (I strongly recommend giving it a new name, like apalike-ampersand.bst) one for the label names (i.e., in text citations) FUNCTION {format.lab.names} and one for the reference list names, FUNCTION {format.names}.



      In the function {format.lab.names} change the line:



      { " and " * s #2 "{vv~}{ll}" format.name$ * }


      to



      { " & " * s #2 "{vv~}{ll}" format.name$ * }


      In the function {format.names} change the line:



      { " and " * t * }


      to



      { " & " * t * }


      This should do what you want.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        There are two functions that need to be changed in your copy of apalike.bst, (I strongly recommend giving it a new name, like apalike-ampersand.bst) one for the label names (i.e., in text citations) FUNCTION {format.lab.names} and one for the reference list names, FUNCTION {format.names}.



        In the function {format.lab.names} change the line:



        { " and " * s #2 "{vv~}{ll}" format.name$ * }


        to



        { " & " * s #2 "{vv~}{ll}" format.name$ * }


        In the function {format.names} change the line:



        { " and " * t * }


        to



        { " & " * t * }


        This should do what you want.






        share|improve this answer












        There are two functions that need to be changed in your copy of apalike.bst, (I strongly recommend giving it a new name, like apalike-ampersand.bst) one for the label names (i.e., in text citations) FUNCTION {format.lab.names} and one for the reference list names, FUNCTION {format.names}.



        In the function {format.lab.names} change the line:



        { " and " * s #2 "{vv~}{ll}" format.name$ * }


        to



        { " & " * s #2 "{vv~}{ll}" format.name$ * }


        In the function {format.names} change the line:



        { " and " * t * }


        to



        { " & " * t * }


        This should do what you want.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 27 mins ago









        Alan Munn

        157k27421695




        157k27421695






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462303%2fnatbib-apalike-changing-and-into-symbol%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

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)