How to modifying the fonts of my document?












2















I would like to use some other fonts than those that appear below on my mwe. How could I do that?



documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
usepackage[utf8]{inputenc}
usepackage [frenchb]{babel}
usepackage[T1]{fontenc}
usepackage[osf]{Alegreya,AlegreyaSans}
title{A title}
begin{document}
pagestyle{empty}

chapter{A first chapter}
end{document}









share|improve this question























  • Do you mean "additionally" or "instead" of Alegreya??

    – Herbert
    Jan 27 at 15:45


















2















I would like to use some other fonts than those that appear below on my mwe. How could I do that?



documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
usepackage[utf8]{inputenc}
usepackage [frenchb]{babel}
usepackage[T1]{fontenc}
usepackage[osf]{Alegreya,AlegreyaSans}
title{A title}
begin{document}
pagestyle{empty}

chapter{A first chapter}
end{document}









share|improve this question























  • Do you mean "additionally" or "instead" of Alegreya??

    – Herbert
    Jan 27 at 15:45
















2












2








2








I would like to use some other fonts than those that appear below on my mwe. How could I do that?



documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
usepackage[utf8]{inputenc}
usepackage [frenchb]{babel}
usepackage[T1]{fontenc}
usepackage[osf]{Alegreya,AlegreyaSans}
title{A title}
begin{document}
pagestyle{empty}

chapter{A first chapter}
end{document}









share|improve this question














I would like to use some other fonts than those that appear below on my mwe. How could I do that?



documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
usepackage[utf8]{inputenc}
usepackage [frenchb]{babel}
usepackage[T1]{fontenc}
usepackage[osf]{Alegreya,AlegreyaSans}
title{A title}
begin{document}
pagestyle{empty}

chapter{A first chapter}
end{document}






fonts






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 27 at 15:37









domidomi

64411018




64411018













  • Do you mean "additionally" or "instead" of Alegreya??

    – Herbert
    Jan 27 at 15:45





















  • Do you mean "additionally" or "instead" of Alegreya??

    – Herbert
    Jan 27 at 15:45



















Do you mean "additionally" or "instead" of Alegreya??

– Herbert
Jan 27 at 15:45







Do you mean "additionally" or "instead" of Alegreya??

– Herbert
Jan 27 at 15:45












2 Answers
2






active

oldest

votes


















2














The LaTeX Font Catalogue can you help with many of these tons of possibilities.



For each listed font there are basic usage instructions to load it with pdflatex. For instance for Libre Caslon you will see that are:



usepackage[T1]{fontenc}
usepackage{librecaslon}


Whereas for Day Roman S are:



renewcommand*rmdefault{dayroms}
usepackage[T1]{fontenc}


This web also show for which fonts there are also TTF or OTF versions, so you can use with xelatex or lualatex in another way. As far I see, usage in that alternative way is not showed except when is the only possible choice, for instance, for Old Standard:



usepackage{fontspec}
setmainfont{Old Standard}


But it is basically the same method for any other TTF or OTF font, so you can guess the correct usage in most cases, but not all. So for Noto Serif you have only:



usepackage{noto} % for serif only usepackage[rm]{noto}
usepackage[T1]{fontenc}


And for xelatex you can guess that should be:



usepackage{fontspec}
setmainfont{Noto Serif}


However, this works but is not really necessary, since the package noto already check the engine and take care of load fontenc or fontspec accordingly (i.e., usepackage{noto} will work with both pdflatex and xelatex).






share|improve this answer































    2














    There are "tons" of possibilities ... Here is one:



    documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
    usepackage [frenchb]{babel}
    usepackage[T1]{fontenc}
    usepackage{libertinus}
    title{A title}
    begin{document}
    pagestyle{empty}
    chapter{A first chapter}
    end{document}





    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%2f472103%2fhow-to-modifying-the-fonts-of-my-document%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2














      The LaTeX Font Catalogue can you help with many of these tons of possibilities.



      For each listed font there are basic usage instructions to load it with pdflatex. For instance for Libre Caslon you will see that are:



      usepackage[T1]{fontenc}
      usepackage{librecaslon}


      Whereas for Day Roman S are:



      renewcommand*rmdefault{dayroms}
      usepackage[T1]{fontenc}


      This web also show for which fonts there are also TTF or OTF versions, so you can use with xelatex or lualatex in another way. As far I see, usage in that alternative way is not showed except when is the only possible choice, for instance, for Old Standard:



      usepackage{fontspec}
      setmainfont{Old Standard}


      But it is basically the same method for any other TTF or OTF font, so you can guess the correct usage in most cases, but not all. So for Noto Serif you have only:



      usepackage{noto} % for serif only usepackage[rm]{noto}
      usepackage[T1]{fontenc}


      And for xelatex you can guess that should be:



      usepackage{fontspec}
      setmainfont{Noto Serif}


      However, this works but is not really necessary, since the package noto already check the engine and take care of load fontenc or fontspec accordingly (i.e., usepackage{noto} will work with both pdflatex and xelatex).






      share|improve this answer




























        2














        The LaTeX Font Catalogue can you help with many of these tons of possibilities.



        For each listed font there are basic usage instructions to load it with pdflatex. For instance for Libre Caslon you will see that are:



        usepackage[T1]{fontenc}
        usepackage{librecaslon}


        Whereas for Day Roman S are:



        renewcommand*rmdefault{dayroms}
        usepackage[T1]{fontenc}


        This web also show for which fonts there are also TTF or OTF versions, so you can use with xelatex or lualatex in another way. As far I see, usage in that alternative way is not showed except when is the only possible choice, for instance, for Old Standard:



        usepackage{fontspec}
        setmainfont{Old Standard}


        But it is basically the same method for any other TTF or OTF font, so you can guess the correct usage in most cases, but not all. So for Noto Serif you have only:



        usepackage{noto} % for serif only usepackage[rm]{noto}
        usepackage[T1]{fontenc}


        And for xelatex you can guess that should be:



        usepackage{fontspec}
        setmainfont{Noto Serif}


        However, this works but is not really necessary, since the package noto already check the engine and take care of load fontenc or fontspec accordingly (i.e., usepackage{noto} will work with both pdflatex and xelatex).






        share|improve this answer


























          2












          2








          2







          The LaTeX Font Catalogue can you help with many of these tons of possibilities.



          For each listed font there are basic usage instructions to load it with pdflatex. For instance for Libre Caslon you will see that are:



          usepackage[T1]{fontenc}
          usepackage{librecaslon}


          Whereas for Day Roman S are:



          renewcommand*rmdefault{dayroms}
          usepackage[T1]{fontenc}


          This web also show for which fonts there are also TTF or OTF versions, so you can use with xelatex or lualatex in another way. As far I see, usage in that alternative way is not showed except when is the only possible choice, for instance, for Old Standard:



          usepackage{fontspec}
          setmainfont{Old Standard}


          But it is basically the same method for any other TTF or OTF font, so you can guess the correct usage in most cases, but not all. So for Noto Serif you have only:



          usepackage{noto} % for serif only usepackage[rm]{noto}
          usepackage[T1]{fontenc}


          And for xelatex you can guess that should be:



          usepackage{fontspec}
          setmainfont{Noto Serif}


          However, this works but is not really necessary, since the package noto already check the engine and take care of load fontenc or fontspec accordingly (i.e., usepackage{noto} will work with both pdflatex and xelatex).






          share|improve this answer













          The LaTeX Font Catalogue can you help with many of these tons of possibilities.



          For each listed font there are basic usage instructions to load it with pdflatex. For instance for Libre Caslon you will see that are:



          usepackage[T1]{fontenc}
          usepackage{librecaslon}


          Whereas for Day Roman S are:



          renewcommand*rmdefault{dayroms}
          usepackage[T1]{fontenc}


          This web also show for which fonts there are also TTF or OTF versions, so you can use with xelatex or lualatex in another way. As far I see, usage in that alternative way is not showed except when is the only possible choice, for instance, for Old Standard:



          usepackage{fontspec}
          setmainfont{Old Standard}


          But it is basically the same method for any other TTF or OTF font, so you can guess the correct usage in most cases, but not all. So for Noto Serif you have only:



          usepackage{noto} % for serif only usepackage[rm]{noto}
          usepackage[T1]{fontenc}


          And for xelatex you can guess that should be:



          usepackage{fontspec}
          setmainfont{Noto Serif}


          However, this works but is not really necessary, since the package noto already check the engine and take care of load fontenc or fontspec accordingly (i.e., usepackage{noto} will work with both pdflatex and xelatex).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 27 at 17:44









          FranFran

          53.3k6119183




          53.3k6119183























              2














              There are "tons" of possibilities ... Here is one:



              documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
              usepackage [frenchb]{babel}
              usepackage[T1]{fontenc}
              usepackage{libertinus}
              title{A title}
              begin{document}
              pagestyle{empty}
              chapter{A first chapter}
              end{document}





              share|improve this answer




























                2














                There are "tons" of possibilities ... Here is one:



                documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
                usepackage [frenchb]{babel}
                usepackage[T1]{fontenc}
                usepackage{libertinus}
                title{A title}
                begin{document}
                pagestyle{empty}
                chapter{A first chapter}
                end{document}





                share|improve this answer


























                  2












                  2








                  2







                  There are "tons" of possibilities ... Here is one:



                  documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
                  usepackage [frenchb]{babel}
                  usepackage[T1]{fontenc}
                  usepackage{libertinus}
                  title{A title}
                  begin{document}
                  pagestyle{empty}
                  chapter{A first chapter}
                  end{document}





                  share|improve this answer













                  There are "tons" of possibilities ... Here is one:



                  documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
                  usepackage [frenchb]{babel}
                  usepackage[T1]{fontenc}
                  usepackage{libertinus}
                  title{A title}
                  begin{document}
                  pagestyle{empty}
                  chapter{A first chapter}
                  end{document}






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 27 at 15:43









                  HerbertHerbert

                  276k25419734




                  276k25419734






























                      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%2f472103%2fhow-to-modifying-the-fonts-of-my-document%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

                      in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

                      How to fix TextFormField cause rebuild widget in Flutter