How to cite title and reference and page numbers with biblatex?











up vote
3
down vote

favorite
1












I want to be able to cite a specific page from a reference using biblatex.
I have noticed that from textcite[109]{Klein:400738} would print the author's name with the brackets containing the page number and reference's label as so: "from Klein [1, p.109]". Though, I would prefer the title to be printed instead of the author's name: "from « Basic concept I » [1, p.109]".
I kinda made a "homemade" fix to it by simply calling both citetitle{Klein:400738}cite[109]{Klein:400738} but I was wondering if there was not any default or cleaner way of doing so.



MWE if needed.



documentclass[french, 11pt, a4paper, titlepage]{report}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{filecontents}
usepackage{hyperref}
usepackage[
hyperref=true,
backend=biber,
style=numeric,
sorting=ynt
]{biblatex}

begin{filecontents}{jobname.bib}
@article{Klein:400738,
author = {Klein, H.},
title = {Basic concepts I},
journal = {{CAS - CERN Accelerator School: RF Engineering for Particle Accelerators}},
month = {apr},
year = {1991},
doi = {10.5170/CERN-1992-003.97},
pages = {97-124}
}
end{filecontents}

addbibresource{jobname.bib}


begin{document}
Default citation with page number: cite[109]{Klein:400738}\
Textcite printing the author: textcite[109]{Klein:400738}\
My solution: citetitle{Klein:400738}~cite[109]{Klein:400738}\
Improved one: ?
printbibliography[title={Bibliographie}]
end{document}


Thank you so much.










share|improve this question


























    up vote
    3
    down vote

    favorite
    1












    I want to be able to cite a specific page from a reference using biblatex.
    I have noticed that from textcite[109]{Klein:400738} would print the author's name with the brackets containing the page number and reference's label as so: "from Klein [1, p.109]". Though, I would prefer the title to be printed instead of the author's name: "from « Basic concept I » [1, p.109]".
    I kinda made a "homemade" fix to it by simply calling both citetitle{Klein:400738}cite[109]{Klein:400738} but I was wondering if there was not any default or cleaner way of doing so.



    MWE if needed.



    documentclass[french, 11pt, a4paper, titlepage]{report}
    usepackage[T1]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage{filecontents}
    usepackage{hyperref}
    usepackage[
    hyperref=true,
    backend=biber,
    style=numeric,
    sorting=ynt
    ]{biblatex}

    begin{filecontents}{jobname.bib}
    @article{Klein:400738,
    author = {Klein, H.},
    title = {Basic concepts I},
    journal = {{CAS - CERN Accelerator School: RF Engineering for Particle Accelerators}},
    month = {apr},
    year = {1991},
    doi = {10.5170/CERN-1992-003.97},
    pages = {97-124}
    }
    end{filecontents}

    addbibresource{jobname.bib}


    begin{document}
    Default citation with page number: cite[109]{Klein:400738}\
    Textcite printing the author: textcite[109]{Klein:400738}\
    My solution: citetitle{Klein:400738}~cite[109]{Klein:400738}\
    Improved one: ?
    printbibliography[title={Bibliographie}]
    end{document}


    Thank you so much.










    share|improve this question
























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      I want to be able to cite a specific page from a reference using biblatex.
      I have noticed that from textcite[109]{Klein:400738} would print the author's name with the brackets containing the page number and reference's label as so: "from Klein [1, p.109]". Though, I would prefer the title to be printed instead of the author's name: "from « Basic concept I » [1, p.109]".
      I kinda made a "homemade" fix to it by simply calling both citetitle{Klein:400738}cite[109]{Klein:400738} but I was wondering if there was not any default or cleaner way of doing so.



      MWE if needed.



      documentclass[french, 11pt, a4paper, titlepage]{report}
      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage{filecontents}
      usepackage{hyperref}
      usepackage[
      hyperref=true,
      backend=biber,
      style=numeric,
      sorting=ynt
      ]{biblatex}

      begin{filecontents}{jobname.bib}
      @article{Klein:400738,
      author = {Klein, H.},
      title = {Basic concepts I},
      journal = {{CAS - CERN Accelerator School: RF Engineering for Particle Accelerators}},
      month = {apr},
      year = {1991},
      doi = {10.5170/CERN-1992-003.97},
      pages = {97-124}
      }
      end{filecontents}

      addbibresource{jobname.bib}


      begin{document}
      Default citation with page number: cite[109]{Klein:400738}\
      Textcite printing the author: textcite[109]{Klein:400738}\
      My solution: citetitle{Klein:400738}~cite[109]{Klein:400738}\
      Improved one: ?
      printbibliography[title={Bibliographie}]
      end{document}


      Thank you so much.










      share|improve this question













      I want to be able to cite a specific page from a reference using biblatex.
      I have noticed that from textcite[109]{Klein:400738} would print the author's name with the brackets containing the page number and reference's label as so: "from Klein [1, p.109]". Though, I would prefer the title to be printed instead of the author's name: "from « Basic concept I » [1, p.109]".
      I kinda made a "homemade" fix to it by simply calling both citetitle{Klein:400738}cite[109]{Klein:400738} but I was wondering if there was not any default or cleaner way of doing so.



      MWE if needed.



      documentclass[french, 11pt, a4paper, titlepage]{report}
      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage{filecontents}
      usepackage{hyperref}
      usepackage[
      hyperref=true,
      backend=biber,
      style=numeric,
      sorting=ynt
      ]{biblatex}

      begin{filecontents}{jobname.bib}
      @article{Klein:400738,
      author = {Klein, H.},
      title = {Basic concepts I},
      journal = {{CAS - CERN Accelerator School: RF Engineering for Particle Accelerators}},
      month = {apr},
      year = {1991},
      doi = {10.5170/CERN-1992-003.97},
      pages = {97-124}
      }
      end{filecontents}

      addbibresource{jobname.bib}


      begin{document}
      Default citation with page number: cite[109]{Klein:400738}\
      Textcite printing the author: textcite[109]{Klein:400738}\
      My solution: citetitle{Klein:400738}~cite[109]{Klein:400738}\
      Improved one: ?
      printbibliography[title={Bibliographie}]
      end{document}


      Thank you so much.







      biblatex






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 14 at 16:38









      Odyseus_v4

      545




      545






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          If you want to use this construction more often, it is a very good idea to define a dedicated citation command with titletextcite.



          We can steal some of the code for textcite and simplify it a bit to end up with



          documentclass[french, 11pt, a4paper, titlepage]{report}
          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}
          usepackage[
          backend=biber,
          style=numeric,
          sorting=ynt
          ]{biblatex}
          usepackage{hyperref}

          makeatletter
          newbibmacro*{titletextcite}{%
          printfield[citetitle]{labeltitle}%
          setunit*{addnbspace}%
          printtext{bibopenbracket}globalbooltrue{cbx:parens}%
          usebibmacro{cite}%
          setunit{%
          ifbool{cbx:parens}
          {bibclosebracketglobalboolfalse{cbx:parens}}
          {}%
          multicitedelim}}

          DeclareCiteCommand{titletextcite}
          {usebibmacro{prenote}}
          {usebibmacro{citeindex}%
          usebibmacro{titletextcite}}
          {}
          {usebibmacro{textcite:postnote}}
          makeatother


          usepackage{filecontents}
          begin{filecontents}{jobname.bib}
          @article{Klein:400738,
          author = {Klein, H.},
          title = {Basic concepts I},
          journal = {{CAS - CERN Accelerator School: RF Engineering for Particle Accelerators}},
          month = apr,
          year = {1991},
          doi = {10.5170/CERN-1992-003.97},
          pages = {97-124}
          }
          end{filecontents}

          addbibresource{jobname.bib}


          begin{document}
          Default citation with page number: cite[109]{Klein:400738}

          Textcite printing the author: textcite[109]{Klein:400738}

          My solution: citetitle{Klein:400738}~cite[109]{Klein:400738}

          Improved one: titletextcite[109]{Klein:400738}

          printbibliography[title={Bibliographie}]
          end{document}


          Improved one: “Basic concepts I” [1, p. 109]






          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%2f459975%2fhow-to-cite-title-and-reference-and-page-numbers-with-biblatex%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
            1
            down vote



            accepted










            If you want to use this construction more often, it is a very good idea to define a dedicated citation command with titletextcite.



            We can steal some of the code for textcite and simplify it a bit to end up with



            documentclass[french, 11pt, a4paper, titlepage]{report}
            usepackage[T1]{fontenc}
            usepackage[utf8]{inputenc}
            usepackage[
            backend=biber,
            style=numeric,
            sorting=ynt
            ]{biblatex}
            usepackage{hyperref}

            makeatletter
            newbibmacro*{titletextcite}{%
            printfield[citetitle]{labeltitle}%
            setunit*{addnbspace}%
            printtext{bibopenbracket}globalbooltrue{cbx:parens}%
            usebibmacro{cite}%
            setunit{%
            ifbool{cbx:parens}
            {bibclosebracketglobalboolfalse{cbx:parens}}
            {}%
            multicitedelim}}

            DeclareCiteCommand{titletextcite}
            {usebibmacro{prenote}}
            {usebibmacro{citeindex}%
            usebibmacro{titletextcite}}
            {}
            {usebibmacro{textcite:postnote}}
            makeatother


            usepackage{filecontents}
            begin{filecontents}{jobname.bib}
            @article{Klein:400738,
            author = {Klein, H.},
            title = {Basic concepts I},
            journal = {{CAS - CERN Accelerator School: RF Engineering for Particle Accelerators}},
            month = apr,
            year = {1991},
            doi = {10.5170/CERN-1992-003.97},
            pages = {97-124}
            }
            end{filecontents}

            addbibresource{jobname.bib}


            begin{document}
            Default citation with page number: cite[109]{Klein:400738}

            Textcite printing the author: textcite[109]{Klein:400738}

            My solution: citetitle{Klein:400738}~cite[109]{Klein:400738}

            Improved one: titletextcite[109]{Klein:400738}

            printbibliography[title={Bibliographie}]
            end{document}


            Improved one: “Basic concepts I” [1, p. 109]






            share|improve this answer

























              up vote
              1
              down vote



              accepted










              If you want to use this construction more often, it is a very good idea to define a dedicated citation command with titletextcite.



              We can steal some of the code for textcite and simplify it a bit to end up with



              documentclass[french, 11pt, a4paper, titlepage]{report}
              usepackage[T1]{fontenc}
              usepackage[utf8]{inputenc}
              usepackage[
              backend=biber,
              style=numeric,
              sorting=ynt
              ]{biblatex}
              usepackage{hyperref}

              makeatletter
              newbibmacro*{titletextcite}{%
              printfield[citetitle]{labeltitle}%
              setunit*{addnbspace}%
              printtext{bibopenbracket}globalbooltrue{cbx:parens}%
              usebibmacro{cite}%
              setunit{%
              ifbool{cbx:parens}
              {bibclosebracketglobalboolfalse{cbx:parens}}
              {}%
              multicitedelim}}

              DeclareCiteCommand{titletextcite}
              {usebibmacro{prenote}}
              {usebibmacro{citeindex}%
              usebibmacro{titletextcite}}
              {}
              {usebibmacro{textcite:postnote}}
              makeatother


              usepackage{filecontents}
              begin{filecontents}{jobname.bib}
              @article{Klein:400738,
              author = {Klein, H.},
              title = {Basic concepts I},
              journal = {{CAS - CERN Accelerator School: RF Engineering for Particle Accelerators}},
              month = apr,
              year = {1991},
              doi = {10.5170/CERN-1992-003.97},
              pages = {97-124}
              }
              end{filecontents}

              addbibresource{jobname.bib}


              begin{document}
              Default citation with page number: cite[109]{Klein:400738}

              Textcite printing the author: textcite[109]{Klein:400738}

              My solution: citetitle{Klein:400738}~cite[109]{Klein:400738}

              Improved one: titletextcite[109]{Klein:400738}

              printbibliography[title={Bibliographie}]
              end{document}


              Improved one: “Basic concepts I” [1, p. 109]






              share|improve this answer























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                If you want to use this construction more often, it is a very good idea to define a dedicated citation command with titletextcite.



                We can steal some of the code for textcite and simplify it a bit to end up with



                documentclass[french, 11pt, a4paper, titlepage]{report}
                usepackage[T1]{fontenc}
                usepackage[utf8]{inputenc}
                usepackage[
                backend=biber,
                style=numeric,
                sorting=ynt
                ]{biblatex}
                usepackage{hyperref}

                makeatletter
                newbibmacro*{titletextcite}{%
                printfield[citetitle]{labeltitle}%
                setunit*{addnbspace}%
                printtext{bibopenbracket}globalbooltrue{cbx:parens}%
                usebibmacro{cite}%
                setunit{%
                ifbool{cbx:parens}
                {bibclosebracketglobalboolfalse{cbx:parens}}
                {}%
                multicitedelim}}

                DeclareCiteCommand{titletextcite}
                {usebibmacro{prenote}}
                {usebibmacro{citeindex}%
                usebibmacro{titletextcite}}
                {}
                {usebibmacro{textcite:postnote}}
                makeatother


                usepackage{filecontents}
                begin{filecontents}{jobname.bib}
                @article{Klein:400738,
                author = {Klein, H.},
                title = {Basic concepts I},
                journal = {{CAS - CERN Accelerator School: RF Engineering for Particle Accelerators}},
                month = apr,
                year = {1991},
                doi = {10.5170/CERN-1992-003.97},
                pages = {97-124}
                }
                end{filecontents}

                addbibresource{jobname.bib}


                begin{document}
                Default citation with page number: cite[109]{Klein:400738}

                Textcite printing the author: textcite[109]{Klein:400738}

                My solution: citetitle{Klein:400738}~cite[109]{Klein:400738}

                Improved one: titletextcite[109]{Klein:400738}

                printbibliography[title={Bibliographie}]
                end{document}


                Improved one: “Basic concepts I” [1, p. 109]






                share|improve this answer












                If you want to use this construction more often, it is a very good idea to define a dedicated citation command with titletextcite.



                We can steal some of the code for textcite and simplify it a bit to end up with



                documentclass[french, 11pt, a4paper, titlepage]{report}
                usepackage[T1]{fontenc}
                usepackage[utf8]{inputenc}
                usepackage[
                backend=biber,
                style=numeric,
                sorting=ynt
                ]{biblatex}
                usepackage{hyperref}

                makeatletter
                newbibmacro*{titletextcite}{%
                printfield[citetitle]{labeltitle}%
                setunit*{addnbspace}%
                printtext{bibopenbracket}globalbooltrue{cbx:parens}%
                usebibmacro{cite}%
                setunit{%
                ifbool{cbx:parens}
                {bibclosebracketglobalboolfalse{cbx:parens}}
                {}%
                multicitedelim}}

                DeclareCiteCommand{titletextcite}
                {usebibmacro{prenote}}
                {usebibmacro{citeindex}%
                usebibmacro{titletextcite}}
                {}
                {usebibmacro{textcite:postnote}}
                makeatother


                usepackage{filecontents}
                begin{filecontents}{jobname.bib}
                @article{Klein:400738,
                author = {Klein, H.},
                title = {Basic concepts I},
                journal = {{CAS - CERN Accelerator School: RF Engineering for Particle Accelerators}},
                month = apr,
                year = {1991},
                doi = {10.5170/CERN-1992-003.97},
                pages = {97-124}
                }
                end{filecontents}

                addbibresource{jobname.bib}


                begin{document}
                Default citation with page number: cite[109]{Klein:400738}

                Textcite printing the author: textcite[109]{Klein:400738}

                My solution: citetitle{Klein:400738}~cite[109]{Klein:400738}

                Improved one: titletextcite[109]{Klein:400738}

                printbibliography[title={Bibliographie}]
                end{document}


                Improved one: “Basic concepts I” [1, p. 109]







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 14 at 16:47









                moewe

                82.7k8106317




                82.7k8106317






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459975%2fhow-to-cite-title-and-reference-and-page-numbers-with-biblatex%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 send String Array data to Server using php in android

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                    Is anime1.com a legal site for watching anime?