Customize plainnat.bst to make references to show in certain format












0















I use Bibtex and plainnat coupled with Natbib and I would like to have
some customizations to plainnat.
My test Example is given below:



documentclass{article}
usepackage[numbers]{natbib}

begin{document}
Hello, Latex!

bibliographystyle{plainnat}
nocite{*}
bibliography{test}


And the Bibliography file test.bib is



@Book{hastie2009elements,
Title = {The elements of statistical learning (second edition)},
Author = {Hastie, Trevor and Tibshirani, Robert and Friedman, Jerome},
address = {New York},
Publisher = {Springer},
Year = {2009}
}
@Article{beck2009fast,
Title = {A fast iterative shrinkage-thresholding algorithm for linear inverse problems},
Author = {Beck, Amir and Teboulle, Marc},
Journal = {SIAM Journal on Imaging Sciences},
Number = {1},
Pages = {183--202},
Volume = {2},
Year = {2009},
Publisher = {SIAM}
}
@Article{becker2011nesta,
Title = {NESTA: A fast and accurate first-order method for sparse recovery},
Author = {Becker, Stephen and Bobin, J{'e}r{^o}me and Cand{`e}s, Emmanuel J},
Journal = {SIAM Journal on Imaging Sciences},
Number = {1},
Pages = {1--39},
Volume = {4},
Year = {2011},
Publisher = {SIAM}
}
@Article{EfronB2004,
Title = {Least angle regression},
Author = {Efron, Bradley and Hastie, Trevor and Johnstone, Iain and Tibshirani, Robert},
Journal = {The Annals of Statistics},
Number = {2},
Pages = {407--499},
Volume = {32},
Year = {2004},
Publisher = {Institute of Mathematical Statistics}
}


What I want to change are:



(1) Display author's name as: Surname, First Initial of Firstname



(2) No "and" before the last author just a "," like for the rest of the authors



(3) Remove period(.) in the end of each reference



(4) For book entry, change "Publisher, Address" to "Address: Publisher"



We noticed that (1) and (2) had been solved by
Mico
and
Zeping Lee,
respectively.
How about (3) and (4)?









share



























    0















    I use Bibtex and plainnat coupled with Natbib and I would like to have
    some customizations to plainnat.
    My test Example is given below:



    documentclass{article}
    usepackage[numbers]{natbib}

    begin{document}
    Hello, Latex!

    bibliographystyle{plainnat}
    nocite{*}
    bibliography{test}


    And the Bibliography file test.bib is



    @Book{hastie2009elements,
    Title = {The elements of statistical learning (second edition)},
    Author = {Hastie, Trevor and Tibshirani, Robert and Friedman, Jerome},
    address = {New York},
    Publisher = {Springer},
    Year = {2009}
    }
    @Article{beck2009fast,
    Title = {A fast iterative shrinkage-thresholding algorithm for linear inverse problems},
    Author = {Beck, Amir and Teboulle, Marc},
    Journal = {SIAM Journal on Imaging Sciences},
    Number = {1},
    Pages = {183--202},
    Volume = {2},
    Year = {2009},
    Publisher = {SIAM}
    }
    @Article{becker2011nesta,
    Title = {NESTA: A fast and accurate first-order method for sparse recovery},
    Author = {Becker, Stephen and Bobin, J{'e}r{^o}me and Cand{`e}s, Emmanuel J},
    Journal = {SIAM Journal on Imaging Sciences},
    Number = {1},
    Pages = {1--39},
    Volume = {4},
    Year = {2011},
    Publisher = {SIAM}
    }
    @Article{EfronB2004,
    Title = {Least angle regression},
    Author = {Efron, Bradley and Hastie, Trevor and Johnstone, Iain and Tibshirani, Robert},
    Journal = {The Annals of Statistics},
    Number = {2},
    Pages = {407--499},
    Volume = {32},
    Year = {2004},
    Publisher = {Institute of Mathematical Statistics}
    }


    What I want to change are:



    (1) Display author's name as: Surname, First Initial of Firstname



    (2) No "and" before the last author just a "," like for the rest of the authors



    (3) Remove period(.) in the end of each reference



    (4) For book entry, change "Publisher, Address" to "Address: Publisher"



    We noticed that (1) and (2) had been solved by
    Mico
    and
    Zeping Lee,
    respectively.
    How about (3) and (4)?









    share

























      0












      0








      0








      I use Bibtex and plainnat coupled with Natbib and I would like to have
      some customizations to plainnat.
      My test Example is given below:



      documentclass{article}
      usepackage[numbers]{natbib}

      begin{document}
      Hello, Latex!

      bibliographystyle{plainnat}
      nocite{*}
      bibliography{test}


      And the Bibliography file test.bib is



      @Book{hastie2009elements,
      Title = {The elements of statistical learning (second edition)},
      Author = {Hastie, Trevor and Tibshirani, Robert and Friedman, Jerome},
      address = {New York},
      Publisher = {Springer},
      Year = {2009}
      }
      @Article{beck2009fast,
      Title = {A fast iterative shrinkage-thresholding algorithm for linear inverse problems},
      Author = {Beck, Amir and Teboulle, Marc},
      Journal = {SIAM Journal on Imaging Sciences},
      Number = {1},
      Pages = {183--202},
      Volume = {2},
      Year = {2009},
      Publisher = {SIAM}
      }
      @Article{becker2011nesta,
      Title = {NESTA: A fast and accurate first-order method for sparse recovery},
      Author = {Becker, Stephen and Bobin, J{'e}r{^o}me and Cand{`e}s, Emmanuel J},
      Journal = {SIAM Journal on Imaging Sciences},
      Number = {1},
      Pages = {1--39},
      Volume = {4},
      Year = {2011},
      Publisher = {SIAM}
      }
      @Article{EfronB2004,
      Title = {Least angle regression},
      Author = {Efron, Bradley and Hastie, Trevor and Johnstone, Iain and Tibshirani, Robert},
      Journal = {The Annals of Statistics},
      Number = {2},
      Pages = {407--499},
      Volume = {32},
      Year = {2004},
      Publisher = {Institute of Mathematical Statistics}
      }


      What I want to change are:



      (1) Display author's name as: Surname, First Initial of Firstname



      (2) No "and" before the last author just a "," like for the rest of the authors



      (3) Remove period(.) in the end of each reference



      (4) For book entry, change "Publisher, Address" to "Address: Publisher"



      We noticed that (1) and (2) had been solved by
      Mico
      and
      Zeping Lee,
      respectively.
      How about (3) and (4)?









      share














      I use Bibtex and plainnat coupled with Natbib and I would like to have
      some customizations to plainnat.
      My test Example is given below:



      documentclass{article}
      usepackage[numbers]{natbib}

      begin{document}
      Hello, Latex!

      bibliographystyle{plainnat}
      nocite{*}
      bibliography{test}


      And the Bibliography file test.bib is



      @Book{hastie2009elements,
      Title = {The elements of statistical learning (second edition)},
      Author = {Hastie, Trevor and Tibshirani, Robert and Friedman, Jerome},
      address = {New York},
      Publisher = {Springer},
      Year = {2009}
      }
      @Article{beck2009fast,
      Title = {A fast iterative shrinkage-thresholding algorithm for linear inverse problems},
      Author = {Beck, Amir and Teboulle, Marc},
      Journal = {SIAM Journal on Imaging Sciences},
      Number = {1},
      Pages = {183--202},
      Volume = {2},
      Year = {2009},
      Publisher = {SIAM}
      }
      @Article{becker2011nesta,
      Title = {NESTA: A fast and accurate first-order method for sparse recovery},
      Author = {Becker, Stephen and Bobin, J{'e}r{^o}me and Cand{`e}s, Emmanuel J},
      Journal = {SIAM Journal on Imaging Sciences},
      Number = {1},
      Pages = {1--39},
      Volume = {4},
      Year = {2011},
      Publisher = {SIAM}
      }
      @Article{EfronB2004,
      Title = {Least angle regression},
      Author = {Efron, Bradley and Hastie, Trevor and Johnstone, Iain and Tibshirani, Robert},
      Journal = {The Annals of Statistics},
      Number = {2},
      Pages = {407--499},
      Volume = {32},
      Year = {2004},
      Publisher = {Institute of Mathematical Statistics}
      }


      What I want to change are:



      (1) Display author's name as: Surname, First Initial of Firstname



      (2) No "and" before the last author just a "," like for the rest of the authors



      (3) Remove period(.) in the end of each reference



      (4) For book entry, change "Publisher, Address" to "Address: Publisher"



      We noticed that (1) and (2) had been solved by
      Mico
      and
      Zeping Lee,
      respectively.
      How about (3) and (4)?







      bibtex natbib





      share












      share










      share



      share










      asked 2 mins ago









      John StoneJohn Stone

      83




      83






















          0






          active

          oldest

          votes












          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%2f482217%2fcustomize-plainnat-bst-to-make-references-to-show-in-certain-format%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f482217%2fcustomize-plainnat-bst-to-make-references-to-show-in-certain-format%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

          Contact image not getting when fetch all contact list from iPhone by CNContact

          count number of partitions of a set with n elements into k subsets

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