How do I print a field from the bibliography












4















How do I print any field from a .bib file?



For example how do I print the title from the following entry?



@article{Gerace2019,
Author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
Journal = {Nature Materials},
Number = {3},
Pages = {200--201},
Title = {Quantum nonlinearities at the single-particle level},
Volume = {18},
Year = {2019}
}


I want to do something like:



The title of the paper cite{Gerace2019} is printtitle{Gerace2019}









share|improve this question



























    4















    How do I print any field from a .bib file?



    For example how do I print the title from the following entry?



    @article{Gerace2019,
    Author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
    Journal = {Nature Materials},
    Number = {3},
    Pages = {200--201},
    Title = {Quantum nonlinearities at the single-particle level},
    Volume = {18},
    Year = {2019}
    }


    I want to do something like:



    The title of the paper cite{Gerace2019} is printtitle{Gerace2019}









    share|improve this question

























      4












      4








      4








      How do I print any field from a .bib file?



      For example how do I print the title from the following entry?



      @article{Gerace2019,
      Author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
      Journal = {Nature Materials},
      Number = {3},
      Pages = {200--201},
      Title = {Quantum nonlinearities at the single-particle level},
      Volume = {18},
      Year = {2019}
      }


      I want to do something like:



      The title of the paper cite{Gerace2019} is printtitle{Gerace2019}









      share|improve this question














      How do I print any field from a .bib file?



      For example how do I print the title from the following entry?



      @article{Gerace2019,
      Author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
      Journal = {Nature Materials},
      Number = {3},
      Pages = {200--201},
      Title = {Quantum nonlinearities at the single-particle level},
      Volume = {18},
      Year = {2019}
      }


      I want to do something like:



      The title of the paper cite{Gerace2019} is printtitle{Gerace2019}






      bibliographies






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 14 hours ago









      TomTom

      226125




      226125






















          1 Answer
          1






          active

          oldest

          votes


















          6














          If you are using biblatex the command you are looking for is called citetitle.



          For the most common fields biblatex has dedicated cite... commands (citeauthor, citetitle, citedate, cityear, citeurl) if the field you want to print is not amongst those, then you can use the generic citefield{<key>}{<field>}. Since biblatex differentiates between fields, lists and name lists, there are citefield, citelist and citename, see also How to extract BibTeX entries (as DOI, abstract, etc.). It is possible to create your own cite... command for fields that don't have one yet (see also the previous link).



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

          usepackage[style=numeric, backend=biber]{biblatex}

          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          addbibresource{jobname.bib}


          begin{document}
          The title of the paper cite{Gerace2019} is citetitle{Gerace2019}
          printbibliography
          end{document}


          The title of the paper [1] is ‘Quantum nonlinearities at the single-particle level’





          If you are using a BibTeX-based solution, you can load the usebib package and use its usebibentry command.



          Note that usebib does not parse the field contents like BibTeX or Biber. In particular, name lists and other lists are not split up as usual. That means that it is possible to display name fields like author with usebib the output will look exactly as the input in the .bib file.



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

          usepackage{usebib}


          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          bibinput{jobname} % give the file name of your .bib file here (without extension)
          % just as in bibliography

          begin{document}
          The title of the paper cite{Gerace2019} is usebibentry{Gerace2019}{title}
          bibliographystyle{plain}
          bibliography{jobname}
          end{document}


          The title of the paper [1] is Quantum nonlinearities at the single-particle level






          share|improve this answer


























          • Wow that was quick. Thanks!

            – Tom
            13 hours 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%2f478749%2fhow-do-i-print-a-field-from-the-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









          6














          If you are using biblatex the command you are looking for is called citetitle.



          For the most common fields biblatex has dedicated cite... commands (citeauthor, citetitle, citedate, cityear, citeurl) if the field you want to print is not amongst those, then you can use the generic citefield{<key>}{<field>}. Since biblatex differentiates between fields, lists and name lists, there are citefield, citelist and citename, see also How to extract BibTeX entries (as DOI, abstract, etc.). It is possible to create your own cite... command for fields that don't have one yet (see also the previous link).



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

          usepackage[style=numeric, backend=biber]{biblatex}

          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          addbibresource{jobname.bib}


          begin{document}
          The title of the paper cite{Gerace2019} is citetitle{Gerace2019}
          printbibliography
          end{document}


          The title of the paper [1] is ‘Quantum nonlinearities at the single-particle level’





          If you are using a BibTeX-based solution, you can load the usebib package and use its usebibentry command.



          Note that usebib does not parse the field contents like BibTeX or Biber. In particular, name lists and other lists are not split up as usual. That means that it is possible to display name fields like author with usebib the output will look exactly as the input in the .bib file.



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

          usepackage{usebib}


          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          bibinput{jobname} % give the file name of your .bib file here (without extension)
          % just as in bibliography

          begin{document}
          The title of the paper cite{Gerace2019} is usebibentry{Gerace2019}{title}
          bibliographystyle{plain}
          bibliography{jobname}
          end{document}


          The title of the paper [1] is Quantum nonlinearities at the single-particle level






          share|improve this answer


























          • Wow that was quick. Thanks!

            – Tom
            13 hours ago
















          6














          If you are using biblatex the command you are looking for is called citetitle.



          For the most common fields biblatex has dedicated cite... commands (citeauthor, citetitle, citedate, cityear, citeurl) if the field you want to print is not amongst those, then you can use the generic citefield{<key>}{<field>}. Since biblatex differentiates between fields, lists and name lists, there are citefield, citelist and citename, see also How to extract BibTeX entries (as DOI, abstract, etc.). It is possible to create your own cite... command for fields that don't have one yet (see also the previous link).



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

          usepackage[style=numeric, backend=biber]{biblatex}

          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          addbibresource{jobname.bib}


          begin{document}
          The title of the paper cite{Gerace2019} is citetitle{Gerace2019}
          printbibliography
          end{document}


          The title of the paper [1] is ‘Quantum nonlinearities at the single-particle level’





          If you are using a BibTeX-based solution, you can load the usebib package and use its usebibentry command.



          Note that usebib does not parse the field contents like BibTeX or Biber. In particular, name lists and other lists are not split up as usual. That means that it is possible to display name fields like author with usebib the output will look exactly as the input in the .bib file.



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

          usepackage{usebib}


          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          bibinput{jobname} % give the file name of your .bib file here (without extension)
          % just as in bibliography

          begin{document}
          The title of the paper cite{Gerace2019} is usebibentry{Gerace2019}{title}
          bibliographystyle{plain}
          bibliography{jobname}
          end{document}


          The title of the paper [1] is Quantum nonlinearities at the single-particle level






          share|improve this answer


























          • Wow that was quick. Thanks!

            – Tom
            13 hours ago














          6












          6








          6







          If you are using biblatex the command you are looking for is called citetitle.



          For the most common fields biblatex has dedicated cite... commands (citeauthor, citetitle, citedate, cityear, citeurl) if the field you want to print is not amongst those, then you can use the generic citefield{<key>}{<field>}. Since biblatex differentiates between fields, lists and name lists, there are citefield, citelist and citename, see also How to extract BibTeX entries (as DOI, abstract, etc.). It is possible to create your own cite... command for fields that don't have one yet (see also the previous link).



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

          usepackage[style=numeric, backend=biber]{biblatex}

          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          addbibresource{jobname.bib}


          begin{document}
          The title of the paper cite{Gerace2019} is citetitle{Gerace2019}
          printbibliography
          end{document}


          The title of the paper [1] is ‘Quantum nonlinearities at the single-particle level’





          If you are using a BibTeX-based solution, you can load the usebib package and use its usebibentry command.



          Note that usebib does not parse the field contents like BibTeX or Biber. In particular, name lists and other lists are not split up as usual. That means that it is possible to display name fields like author with usebib the output will look exactly as the input in the .bib file.



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

          usepackage{usebib}


          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          bibinput{jobname} % give the file name of your .bib file here (without extension)
          % just as in bibliography

          begin{document}
          The title of the paper cite{Gerace2019} is usebibentry{Gerace2019}{title}
          bibliographystyle{plain}
          bibliography{jobname}
          end{document}


          The title of the paper [1] is Quantum nonlinearities at the single-particle level






          share|improve this answer















          If you are using biblatex the command you are looking for is called citetitle.



          For the most common fields biblatex has dedicated cite... commands (citeauthor, citetitle, citedate, cityear, citeurl) if the field you want to print is not amongst those, then you can use the generic citefield{<key>}{<field>}. Since biblatex differentiates between fields, lists and name lists, there are citefield, citelist and citename, see also How to extract BibTeX entries (as DOI, abstract, etc.). It is possible to create your own cite... command for fields that don't have one yet (see also the previous link).



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

          usepackage[style=numeric, backend=biber]{biblatex}

          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          addbibresource{jobname.bib}


          begin{document}
          The title of the paper cite{Gerace2019} is citetitle{Gerace2019}
          printbibliography
          end{document}


          The title of the paper [1] is ‘Quantum nonlinearities at the single-particle level’





          If you are using a BibTeX-based solution, you can load the usebib package and use its usebibentry command.



          Note that usebib does not parse the field contents like BibTeX or Biber. In particular, name lists and other lists are not split up as usual. That means that it is possible to display name fields like author with usebib the output will look exactly as the input in the .bib file.



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

          usepackage{usebib}


          %usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Gerace2019,
          author = {Gerace, Dario and Laussy, Fabrice and Sanvitto, Daniele},
          journal = {Nature Materials},
          number = {3},
          pages = {200--201},
          title = {Quantum nonlinearities at the single-particle level},
          volume = {18},
          year = {2019},
          }
          end{filecontents}

          bibinput{jobname} % give the file name of your .bib file here (without extension)
          % just as in bibliography

          begin{document}
          The title of the paper cite{Gerace2019} is usebibentry{Gerace2019}{title}
          bibliographystyle{plain}
          bibliography{jobname}
          end{document}


          The title of the paper [1] is Quantum nonlinearities at the single-particle level







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 14 hours ago

























          answered 14 hours ago









          moewemoewe

          93.3k10115352




          93.3k10115352













          • Wow that was quick. Thanks!

            – Tom
            13 hours ago



















          • Wow that was quick. Thanks!

            – Tom
            13 hours ago

















          Wow that was quick. Thanks!

          – Tom
          13 hours ago





          Wow that was quick. Thanks!

          – Tom
          13 hours 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%2f478749%2fhow-do-i-print-a-field-from-the-bibliography%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 to label and detect the document text images

          Vallis Paradisi

          Tabula Rosettana