same font throughout bibliography












2















Consider this example:



documentclass{report}
usepackage[backend=bibtex]{biblatex}
urlstyle{same}
addbibresource{testbibfont.bib}
begin{document}
See cite{aauu:2012kp}
printbibliography
end{document}


where testbibfont.bib is



@article{aauu:2012kp,
author = "aauutt",
title = "{The algorithm}",
journal = "Journal",
volume = "7",
year = "2012",
pages = "T10003",
doi = "10.1089/1749-0221/7/11/T10003",
eprint = "1204.2201",
archivePrefix = "arXiv",
primaryClass = "data-an",
reportNumber = "BBB-12"
}


I already align the font of DOI with the rest of the text with urlstyle{same} (different font while using url). That would be sufficient were it not for primaryClass which uses a different font:



enter image description here



How to have the font of main text everywhere in bibliography?










share|improve this question



























    2















    Consider this example:



    documentclass{report}
    usepackage[backend=bibtex]{biblatex}
    urlstyle{same}
    addbibresource{testbibfont.bib}
    begin{document}
    See cite{aauu:2012kp}
    printbibliography
    end{document}


    where testbibfont.bib is



    @article{aauu:2012kp,
    author = "aauutt",
    title = "{The algorithm}",
    journal = "Journal",
    volume = "7",
    year = "2012",
    pages = "T10003",
    doi = "10.1089/1749-0221/7/11/T10003",
    eprint = "1204.2201",
    archivePrefix = "arXiv",
    primaryClass = "data-an",
    reportNumber = "BBB-12"
    }


    I already align the font of DOI with the rest of the text with urlstyle{same} (different font while using url). That would be sufficient were it not for primaryClass which uses a different font:



    enter image description here



    How to have the font of main text everywhere in bibliography?










    share|improve this question

























      2












      2








      2








      Consider this example:



      documentclass{report}
      usepackage[backend=bibtex]{biblatex}
      urlstyle{same}
      addbibresource{testbibfont.bib}
      begin{document}
      See cite{aauu:2012kp}
      printbibliography
      end{document}


      where testbibfont.bib is



      @article{aauu:2012kp,
      author = "aauutt",
      title = "{The algorithm}",
      journal = "Journal",
      volume = "7",
      year = "2012",
      pages = "T10003",
      doi = "10.1089/1749-0221/7/11/T10003",
      eprint = "1204.2201",
      archivePrefix = "arXiv",
      primaryClass = "data-an",
      reportNumber = "BBB-12"
      }


      I already align the font of DOI with the rest of the text with urlstyle{same} (different font while using url). That would be sufficient were it not for primaryClass which uses a different font:



      enter image description here



      How to have the font of main text everywhere in bibliography?










      share|improve this question














      Consider this example:



      documentclass{report}
      usepackage[backend=bibtex]{biblatex}
      urlstyle{same}
      addbibresource{testbibfont.bib}
      begin{document}
      See cite{aauu:2012kp}
      printbibliography
      end{document}


      where testbibfont.bib is



      @article{aauu:2012kp,
      author = "aauutt",
      title = "{The algorithm}",
      journal = "Journal",
      volume = "7",
      year = "2012",
      pages = "T10003",
      doi = "10.1089/1749-0221/7/11/T10003",
      eprint = "1204.2201",
      archivePrefix = "arXiv",
      primaryClass = "data-an",
      reportNumber = "BBB-12"
      }


      I already align the font of DOI with the rest of the text with urlstyle{same} (different font while using url). That would be sufficient were it not for primaryClass which uses a different font:



      enter image description here



      How to have the font of main text everywhere in bibliography?







      fonts biblatex bibliographies bibtex typefaces






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 12 hours ago









      ViestursViesturs

      1,96141227




      1,96141227






















          1 Answer
          1






          active

          oldest

          votes


















          4














          Indeed the arXiv eprint field format is pretty much the only place where biblatex has an explicit texttt instead of nolinkurl/url which are governed by urlstyle.



          You have to modify the format a bit to remove the tetxttt



          makeatletter
          DeclareFieldFormat{eprint:arxiv}{%
          arXivaddcolonspace
          ifhyperref
          {href{https://arxiv.org/abx@arxivpath/#1}{%
          nolinkurl{#1}%
          iffieldundef{eprintclass}
          {}
          {addspacemkbibbrackets{thefield{eprintclass}}}}}
          {nolinkurl{#1}%
          iffieldundef{eprintclass}
          {}
          {addspacemkbibbrackets{thefield{eprintclass}}}}}
          makeatother


          The original definition can be found in biblatex.def, ll. 471-482.



          Output without typewriter/monospace font.






          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',
            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%2f483618%2fsame-font-throughout-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









            4














            Indeed the arXiv eprint field format is pretty much the only place where biblatex has an explicit texttt instead of nolinkurl/url which are governed by urlstyle.



            You have to modify the format a bit to remove the tetxttt



            makeatletter
            DeclareFieldFormat{eprint:arxiv}{%
            arXivaddcolonspace
            ifhyperref
            {href{https://arxiv.org/abx@arxivpath/#1}{%
            nolinkurl{#1}%
            iffieldundef{eprintclass}
            {}
            {addspacemkbibbrackets{thefield{eprintclass}}}}}
            {nolinkurl{#1}%
            iffieldundef{eprintclass}
            {}
            {addspacemkbibbrackets{thefield{eprintclass}}}}}
            makeatother


            The original definition can be found in biblatex.def, ll. 471-482.



            Output without typewriter/monospace font.






            share|improve this answer




























              4














              Indeed the arXiv eprint field format is pretty much the only place where biblatex has an explicit texttt instead of nolinkurl/url which are governed by urlstyle.



              You have to modify the format a bit to remove the tetxttt



              makeatletter
              DeclareFieldFormat{eprint:arxiv}{%
              arXivaddcolonspace
              ifhyperref
              {href{https://arxiv.org/abx@arxivpath/#1}{%
              nolinkurl{#1}%
              iffieldundef{eprintclass}
              {}
              {addspacemkbibbrackets{thefield{eprintclass}}}}}
              {nolinkurl{#1}%
              iffieldundef{eprintclass}
              {}
              {addspacemkbibbrackets{thefield{eprintclass}}}}}
              makeatother


              The original definition can be found in biblatex.def, ll. 471-482.



              Output without typewriter/monospace font.






              share|improve this answer


























                4












                4








                4







                Indeed the arXiv eprint field format is pretty much the only place where biblatex has an explicit texttt instead of nolinkurl/url which are governed by urlstyle.



                You have to modify the format a bit to remove the tetxttt



                makeatletter
                DeclareFieldFormat{eprint:arxiv}{%
                arXivaddcolonspace
                ifhyperref
                {href{https://arxiv.org/abx@arxivpath/#1}{%
                nolinkurl{#1}%
                iffieldundef{eprintclass}
                {}
                {addspacemkbibbrackets{thefield{eprintclass}}}}}
                {nolinkurl{#1}%
                iffieldundef{eprintclass}
                {}
                {addspacemkbibbrackets{thefield{eprintclass}}}}}
                makeatother


                The original definition can be found in biblatex.def, ll. 471-482.



                Output without typewriter/monospace font.






                share|improve this answer













                Indeed the arXiv eprint field format is pretty much the only place where biblatex has an explicit texttt instead of nolinkurl/url which are governed by urlstyle.



                You have to modify the format a bit to remove the tetxttt



                makeatletter
                DeclareFieldFormat{eprint:arxiv}{%
                arXivaddcolonspace
                ifhyperref
                {href{https://arxiv.org/abx@arxivpath/#1}{%
                nolinkurl{#1}%
                iffieldundef{eprintclass}
                {}
                {addspacemkbibbrackets{thefield{eprintclass}}}}}
                {nolinkurl{#1}%
                iffieldundef{eprintclass}
                {}
                {addspacemkbibbrackets{thefield{eprintclass}}}}}
                makeatother


                The original definition can be found in biblatex.def, ll. 471-482.



                Output without typewriter/monospace font.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 12 hours ago









                moewemoewe

                96.4k10117361




                96.4k10117361






























                    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%2f483618%2fsame-font-throughout-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

                    Knooppunt Holsloot

                    Altaar (religie)

                    Gregoriusmis