Citation format (Smith A., 2018)












3















I'm new to LaTeX. I have already grasped the basics and I have already started working my thesis on it. It is a very nice program to work with. However, I am having a difficulty. I am unable to cite in the style which I'm looking for. I have looked around and researched. There are tons of info out there, so much that it becomes very confusing. Biber, biblatex, natbib and whatever else ... one can easily get lost in the process. In the end, I'm still unable to cite in the style I need.



I need the cite in as in this example:





  1. blabla bla bla (Smith A., 2018)


  2. Smith A. (2018) has said blabla blabla





The nearest I'm getting with biblatex and natbib is: "(Smith 2018)"



I need the first letter of the first name after the surname and a comma before the year. In brackets.










share|improve this question





























    3















    I'm new to LaTeX. I have already grasped the basics and I have already started working my thesis on it. It is a very nice program to work with. However, I am having a difficulty. I am unable to cite in the style which I'm looking for. I have looked around and researched. There are tons of info out there, so much that it becomes very confusing. Biber, biblatex, natbib and whatever else ... one can easily get lost in the process. In the end, I'm still unable to cite in the style I need.



    I need the cite in as in this example:





    1. blabla bla bla (Smith A., 2018)


    2. Smith A. (2018) has said blabla blabla





    The nearest I'm getting with biblatex and natbib is: "(Smith 2018)"



    I need the first letter of the first name after the surname and a comma before the year. In brackets.










    share|improve this question



























      3












      3








      3


      1






      I'm new to LaTeX. I have already grasped the basics and I have already started working my thesis on it. It is a very nice program to work with. However, I am having a difficulty. I am unable to cite in the style which I'm looking for. I have looked around and researched. There are tons of info out there, so much that it becomes very confusing. Biber, biblatex, natbib and whatever else ... one can easily get lost in the process. In the end, I'm still unable to cite in the style I need.



      I need the cite in as in this example:





      1. blabla bla bla (Smith A., 2018)


      2. Smith A. (2018) has said blabla blabla





      The nearest I'm getting with biblatex and natbib is: "(Smith 2018)"



      I need the first letter of the first name after the surname and a comma before the year. In brackets.










      share|improve this question
















      I'm new to LaTeX. I have already grasped the basics and I have already started working my thesis on it. It is a very nice program to work with. However, I am having a difficulty. I am unable to cite in the style which I'm looking for. I have looked around and researched. There are tons of info out there, so much that it becomes very confusing. Biber, biblatex, natbib and whatever else ... one can easily get lost in the process. In the end, I'm still unable to cite in the style I need.



      I need the cite in as in this example:





      1. blabla bla bla (Smith A., 2018)


      2. Smith A. (2018) has said blabla blabla





      The nearest I'm getting with biblatex and natbib is: "(Smith 2018)"



      I need the first letter of the first name after the surname and a comma before the year. In brackets.







      biblatex citing natbib






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 26 at 7:27









      moewe

      94.7k10115356




      94.7k10115356










      asked Jan 26 at 7:09









      Nadeem MuhammadNadeem Muhammad

      455




      455






















          1 Answer
          1






          active

          oldest

          votes


















          5














          With biblatex it is fairly straightforward to make a few changes to the standard authoryear styles to get close to what you describe.



          The code is commented and it should be possible to look up the commands in the biblatex documentation if their names do not give enough hints as to what they do already.



          documentclass[british]{article}
          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}
          usepackage{babel}
          usepackage{csquotes}

          % giveninits shortens all given names to initials
          % autocite=inline gives 'inline' (parencite) citations for autocite
          usepackage[style=authoryear, autocite=inline, giveninits=true, backend=biber]{biblatex}

          % names in "Family, Given" format
          DeclareNameAlias{sortname}{family-given} % bibliography
          DeclareNameAlias{labelname}{family-given} % citations

          % no comma between family name and given initial:
          % "Family G."
          renewcommand*{revsdnamepunct}{}

          % comma between name and year in citation
          DeclareDelimFormat{nameyeardelim}{addcommaspace}

          addbibresource{biblatex-examples.bib}

          begin{document}
          autocite{sigfridsson}

          textcite{sigfridsson}

          autocite{nussbaum}

          printbibliography
          end{document}


          (Sigfridsson E. and Ryde U., 1998)//Sigfridsson E. and Ryde U. (1998)//(Nussbaum M., 1978)//References//Nussbaum M. (1978). Aristotle’s ‘De Motu Animalium’. Princeton: Princeton University Press.//Sigfridsson E. and Ryde U. (1998). ‘Comparison of methods for deriving atomic charges from the electrostatic potential and moments’. In: Journal of Computational Chemistry 19.4, pp. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P.



          For a general introduction into biblatex see biblatex in a nutshell (for beginners) and What to do to switch to biblatex?. The example above needs Biber, Biblatex with Biber: Configuring my editor to avoid undefined citations tells you how you can set up your editor to run Biber.






          share|improve this answer


























          • The above does exactly what I asked. I need one more information. How do I make it ommit name of several authors and print "and al.,(year)" 1.The earth is spherical in shape (Andrews and al., 2018) 2. Andrews and al. (2018) assumed that blablabla Hoping to hear back

            – Nadeem Muhammad
            Jan 26 at 16:02








          • 1





            @NadeemMuhammad Have a look at tex.stackexchange.com/q/69028/35864

            – moewe
            Jan 26 at 16:04











          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%2f471923%2fcitation-format-smith-a-2018%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









          5














          With biblatex it is fairly straightforward to make a few changes to the standard authoryear styles to get close to what you describe.



          The code is commented and it should be possible to look up the commands in the biblatex documentation if their names do not give enough hints as to what they do already.



          documentclass[british]{article}
          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}
          usepackage{babel}
          usepackage{csquotes}

          % giveninits shortens all given names to initials
          % autocite=inline gives 'inline' (parencite) citations for autocite
          usepackage[style=authoryear, autocite=inline, giveninits=true, backend=biber]{biblatex}

          % names in "Family, Given" format
          DeclareNameAlias{sortname}{family-given} % bibliography
          DeclareNameAlias{labelname}{family-given} % citations

          % no comma between family name and given initial:
          % "Family G."
          renewcommand*{revsdnamepunct}{}

          % comma between name and year in citation
          DeclareDelimFormat{nameyeardelim}{addcommaspace}

          addbibresource{biblatex-examples.bib}

          begin{document}
          autocite{sigfridsson}

          textcite{sigfridsson}

          autocite{nussbaum}

          printbibliography
          end{document}


          (Sigfridsson E. and Ryde U., 1998)//Sigfridsson E. and Ryde U. (1998)//(Nussbaum M., 1978)//References//Nussbaum M. (1978). Aristotle’s ‘De Motu Animalium’. Princeton: Princeton University Press.//Sigfridsson E. and Ryde U. (1998). ‘Comparison of methods for deriving atomic charges from the electrostatic potential and moments’. In: Journal of Computational Chemistry 19.4, pp. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P.



          For a general introduction into biblatex see biblatex in a nutshell (for beginners) and What to do to switch to biblatex?. The example above needs Biber, Biblatex with Biber: Configuring my editor to avoid undefined citations tells you how you can set up your editor to run Biber.






          share|improve this answer


























          • The above does exactly what I asked. I need one more information. How do I make it ommit name of several authors and print "and al.,(year)" 1.The earth is spherical in shape (Andrews and al., 2018) 2. Andrews and al. (2018) assumed that blablabla Hoping to hear back

            – Nadeem Muhammad
            Jan 26 at 16:02








          • 1





            @NadeemMuhammad Have a look at tex.stackexchange.com/q/69028/35864

            – moewe
            Jan 26 at 16:04
















          5














          With biblatex it is fairly straightforward to make a few changes to the standard authoryear styles to get close to what you describe.



          The code is commented and it should be possible to look up the commands in the biblatex documentation if their names do not give enough hints as to what they do already.



          documentclass[british]{article}
          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}
          usepackage{babel}
          usepackage{csquotes}

          % giveninits shortens all given names to initials
          % autocite=inline gives 'inline' (parencite) citations for autocite
          usepackage[style=authoryear, autocite=inline, giveninits=true, backend=biber]{biblatex}

          % names in "Family, Given" format
          DeclareNameAlias{sortname}{family-given} % bibliography
          DeclareNameAlias{labelname}{family-given} % citations

          % no comma between family name and given initial:
          % "Family G."
          renewcommand*{revsdnamepunct}{}

          % comma between name and year in citation
          DeclareDelimFormat{nameyeardelim}{addcommaspace}

          addbibresource{biblatex-examples.bib}

          begin{document}
          autocite{sigfridsson}

          textcite{sigfridsson}

          autocite{nussbaum}

          printbibliography
          end{document}


          (Sigfridsson E. and Ryde U., 1998)//Sigfridsson E. and Ryde U. (1998)//(Nussbaum M., 1978)//References//Nussbaum M. (1978). Aristotle’s ‘De Motu Animalium’. Princeton: Princeton University Press.//Sigfridsson E. and Ryde U. (1998). ‘Comparison of methods for deriving atomic charges from the electrostatic potential and moments’. In: Journal of Computational Chemistry 19.4, pp. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P.



          For a general introduction into biblatex see biblatex in a nutshell (for beginners) and What to do to switch to biblatex?. The example above needs Biber, Biblatex with Biber: Configuring my editor to avoid undefined citations tells you how you can set up your editor to run Biber.






          share|improve this answer


























          • The above does exactly what I asked. I need one more information. How do I make it ommit name of several authors and print "and al.,(year)" 1.The earth is spherical in shape (Andrews and al., 2018) 2. Andrews and al. (2018) assumed that blablabla Hoping to hear back

            – Nadeem Muhammad
            Jan 26 at 16:02








          • 1





            @NadeemMuhammad Have a look at tex.stackexchange.com/q/69028/35864

            – moewe
            Jan 26 at 16:04














          5












          5








          5







          With biblatex it is fairly straightforward to make a few changes to the standard authoryear styles to get close to what you describe.



          The code is commented and it should be possible to look up the commands in the biblatex documentation if their names do not give enough hints as to what they do already.



          documentclass[british]{article}
          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}
          usepackage{babel}
          usepackage{csquotes}

          % giveninits shortens all given names to initials
          % autocite=inline gives 'inline' (parencite) citations for autocite
          usepackage[style=authoryear, autocite=inline, giveninits=true, backend=biber]{biblatex}

          % names in "Family, Given" format
          DeclareNameAlias{sortname}{family-given} % bibliography
          DeclareNameAlias{labelname}{family-given} % citations

          % no comma between family name and given initial:
          % "Family G."
          renewcommand*{revsdnamepunct}{}

          % comma between name and year in citation
          DeclareDelimFormat{nameyeardelim}{addcommaspace}

          addbibresource{biblatex-examples.bib}

          begin{document}
          autocite{sigfridsson}

          textcite{sigfridsson}

          autocite{nussbaum}

          printbibliography
          end{document}


          (Sigfridsson E. and Ryde U., 1998)//Sigfridsson E. and Ryde U. (1998)//(Nussbaum M., 1978)//References//Nussbaum M. (1978). Aristotle’s ‘De Motu Animalium’. Princeton: Princeton University Press.//Sigfridsson E. and Ryde U. (1998). ‘Comparison of methods for deriving atomic charges from the electrostatic potential and moments’. In: Journal of Computational Chemistry 19.4, pp. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P.



          For a general introduction into biblatex see biblatex in a nutshell (for beginners) and What to do to switch to biblatex?. The example above needs Biber, Biblatex with Biber: Configuring my editor to avoid undefined citations tells you how you can set up your editor to run Biber.






          share|improve this answer















          With biblatex it is fairly straightforward to make a few changes to the standard authoryear styles to get close to what you describe.



          The code is commented and it should be possible to look up the commands in the biblatex documentation if their names do not give enough hints as to what they do already.



          documentclass[british]{article}
          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}
          usepackage{babel}
          usepackage{csquotes}

          % giveninits shortens all given names to initials
          % autocite=inline gives 'inline' (parencite) citations for autocite
          usepackage[style=authoryear, autocite=inline, giveninits=true, backend=biber]{biblatex}

          % names in "Family, Given" format
          DeclareNameAlias{sortname}{family-given} % bibliography
          DeclareNameAlias{labelname}{family-given} % citations

          % no comma between family name and given initial:
          % "Family G."
          renewcommand*{revsdnamepunct}{}

          % comma between name and year in citation
          DeclareDelimFormat{nameyeardelim}{addcommaspace}

          addbibresource{biblatex-examples.bib}

          begin{document}
          autocite{sigfridsson}

          textcite{sigfridsson}

          autocite{nussbaum}

          printbibliography
          end{document}


          (Sigfridsson E. and Ryde U., 1998)//Sigfridsson E. and Ryde U. (1998)//(Nussbaum M., 1978)//References//Nussbaum M. (1978). Aristotle’s ‘De Motu Animalium’. Princeton: Princeton University Press.//Sigfridsson E. and Ryde U. (1998). ‘Comparison of methods for deriving atomic charges from the electrostatic potential and moments’. In: Journal of Computational Chemistry 19.4, pp. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P.



          For a general introduction into biblatex see biblatex in a nutshell (for beginners) and What to do to switch to biblatex?. The example above needs Biber, Biblatex with Biber: Configuring my editor to avoid undefined citations tells you how you can set up your editor to run Biber.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 26 at 13:10

























          answered Jan 26 at 7:21









          moewemoewe

          94.7k10115356




          94.7k10115356













          • The above does exactly what I asked. I need one more information. How do I make it ommit name of several authors and print "and al.,(year)" 1.The earth is spherical in shape (Andrews and al., 2018) 2. Andrews and al. (2018) assumed that blablabla Hoping to hear back

            – Nadeem Muhammad
            Jan 26 at 16:02








          • 1





            @NadeemMuhammad Have a look at tex.stackexchange.com/q/69028/35864

            – moewe
            Jan 26 at 16:04



















          • The above does exactly what I asked. I need one more information. How do I make it ommit name of several authors and print "and al.,(year)" 1.The earth is spherical in shape (Andrews and al., 2018) 2. Andrews and al. (2018) assumed that blablabla Hoping to hear back

            – Nadeem Muhammad
            Jan 26 at 16:02








          • 1





            @NadeemMuhammad Have a look at tex.stackexchange.com/q/69028/35864

            – moewe
            Jan 26 at 16:04

















          The above does exactly what I asked. I need one more information. How do I make it ommit name of several authors and print "and al.,(year)" 1.The earth is spherical in shape (Andrews and al., 2018) 2. Andrews and al. (2018) assumed that blablabla Hoping to hear back

          – Nadeem Muhammad
          Jan 26 at 16:02







          The above does exactly what I asked. I need one more information. How do I make it ommit name of several authors and print "and al.,(year)" 1.The earth is spherical in shape (Andrews and al., 2018) 2. Andrews and al. (2018) assumed that blablabla Hoping to hear back

          – Nadeem Muhammad
          Jan 26 at 16:02






          1




          1





          @NadeemMuhammad Have a look at tex.stackexchange.com/q/69028/35864

          – moewe
          Jan 26 at 16:04





          @NadeemMuhammad Have a look at tex.stackexchange.com/q/69028/35864

          – moewe
          Jan 26 at 16:04


















          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%2f471923%2fcitation-format-smith-a-2018%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

          MongoDB - Not Authorized To Execute Command

          How to fix TextFormField cause rebuild widget in Flutter

          Npm cannot find a required file even through it is in the searched directory