How to set font to Arial throughout the entire document?












74















In preamble, I have:



renewcommand{familydefault}{sfdefault}
usepackage{arial}


but it doesn't work.



How do I set my font to Arial throughout the entire document?



UPDATE:



In short, both answers work.



It really depends on the environment. If using LaTeX and don't mind using a cloned font then choose Herbert's answer. If using XeLaTex and want to use the authentic font then choose Leo's.










share|improve this question





























    74















    In preamble, I have:



    renewcommand{familydefault}{sfdefault}
    usepackage{arial}


    but it doesn't work.



    How do I set my font to Arial throughout the entire document?



    UPDATE:



    In short, both answers work.



    It really depends on the environment. If using LaTeX and don't mind using a cloned font then choose Herbert's answer. If using XeLaTex and want to use the authentic font then choose Leo's.










    share|improve this question



























      74












      74








      74


      23






      In preamble, I have:



      renewcommand{familydefault}{sfdefault}
      usepackage{arial}


      but it doesn't work.



      How do I set my font to Arial throughout the entire document?



      UPDATE:



      In short, both answers work.



      It really depends on the environment. If using LaTeX and don't mind using a cloned font then choose Herbert's answer. If using XeLaTex and want to use the authentic font then choose Leo's.










      share|improve this question
















      In preamble, I have:



      renewcommand{familydefault}{sfdefault}
      usepackage{arial}


      but it doesn't work.



      How do I set my font to Arial throughout the entire document?



      UPDATE:



      In short, both answers work.



      It really depends on the environment. If using LaTeX and don't mind using a cloned font then choose Herbert's answer. If using XeLaTex and want to use the authentic font then choose Leo's.







      fonts






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 24 '11 at 9:04







      Level1Coder

















      asked Jul 24 '11 at 6:43









      Level1CoderLevel1Coder

      2,619102531




      2,619102531






















          5 Answers
          5






          active

          oldest

          votes


















          78














          Arial is not installed in TeX Live, I'm not sure about MiKTeX. You can use helvet package instead.



          usepackage{helvet}
          renewcommand{familydefault}{sfdefault}


          If you use XeLaTeX or LuaLaTeX, you can use TrueType Arial font installed in your Windows/Mac:



          usepackage{fontspec}
          setmainfont{Arial}


          In Ubuntu, Arial can be installed by a Synaptic Package named ttf-mscorefonts-installer.






          share|improve this answer


























          • I'm using Ubuntu 10.04 and have texlive-full 2009-7 installed. I see XeTeX & LuaTeX installed but your method doesn't work.

            – Level1Coder
            Jul 24 '11 at 7:19











          • @Level1Coder: Well, Arial is a commercial font. You use Linux, but there's no Arial in linux distribution.

            – Leo Liu
            Jul 24 '11 at 7:30






          • 3





            @Leo: But there is: corefonts.sourceforge.net The corresponding package is usually named corefonts.

            – Andrey Vihrov
            Jul 24 '11 at 7:47








          • 4





            @Level1Coder: Arial is very similar to Helvetica, Arial and Helvetica are both commercial fonts. helvet package actually uses Nimbus Sans font (a Helvetica clone); uarial uses URW A030 font (an Arial clone). Most cases, helvet package will suffie. If you want to use real Arial, you must get the TrueType/OpenType font from Windows/Mac and install it in your Linux OS, then use it with XeLaTeX/LuaLaTeX.

            – Leo Liu
            Jul 24 '11 at 7:53











          • +1 to Andrey for mentioning corefonts. After experimentation, I found under Ubuntu Synaptic Package named ttf-mscorefonts-installer. After installing this, Leo's answer works! Changed my mind to use Leo's answer because of the use of authentic fonts from MSCoreFonts. And also because of frequent use of Chinese, XeLaTex seems to be the best tool to handle Chinese characters. (Was planning to settle with PDFLaTeX to create intermixing English/Chinese documents)

            – Level1Coder
            Jul 24 '11 at 8:54





















          28














          use it this way:



          documentclass{article}
          usepackage[english]{babel}
          usepackage[T1]{fontenc}
          usepackage{uarial}
          renewcommand{familydefault}{sfdefault}
          usepackage{blindtext}

          begin{document}
          blindtext
          end{document}


          but you must have the package called uarial not arial. If you do not have this package then install it with getnonfreefonts --sys -a: http://www.tug.org/fonts/getnonfreefonts/. The script was part of TeXLive until the 2009 version. Ubuntu users should have it already installed.






          share|improve this answer





















          • 3





            uarial, urw-arial in urw bundle is not available in TeX Live and MiKTeX, it is necessary to install the font package manually. I guess it would be a little difficult for newbies.

            – Leo Liu
            Jul 24 '11 at 7:13






          • 2





            run sudo getnonfreefonts-sys and they will be available ...

            – Herbert
            Jul 24 '11 at 7:17











          • Downloaded all fonts with this command sudo getnonfreefonts-sys -a Arial is rendering in my PDF now, awesome and thanks!

            – Level1Coder
            Jul 24 '11 at 7:27











          • A quick 2015 follow up on @Leo Liu's comment: this solution worked for me in RStudiocompiling with pdfLaTeX without the need to install any packages manually. Thanks for this answer!

            – Adam Smith
            Sep 24 '15 at 20:00






          • 1





            I tried usepackage{uarial} in MiKTeX and it was installed automatically (with the usual prompt).

            – Evgeni Sergeev
            Feb 22 '17 at 4:18



















          0














          I struggled with this forever. Finally found an article that showed me these two lines of code:



          renewcommand{rmdefault}{phv} % Arial
          renewcommand{sfdefault}{phv} % Arial


          Only thing that worked for me, after hours of struggling with luatex and xelatex.



          This answer only loads a Helvetica clone, not true Arial. If you need true Arial for whatever reason this won't work.






          share|improve this answer





















          • 3





            Note that these instructions load a Helvetica clone, not true Arial. Because Arial is itself a clone of Helvetica, the result may be good enough for your requirements. Your answer should make clear(er), though, that it answers the OP's query only approximately, not exactly.

            – Mico
            May 16 '17 at 2:34













          • Hmm, good call. I didn't think of that!

            – Blairg23
            May 16 '17 at 21:03



















          -1














          usepackage[scaled=0.9]{helvet} 
          renewcommand{familydefault}{sfdefault}
          usepackage{mathastext}





          share|improve this answer





















          • 1





            Can you please explain how your given code should solve the given issue? Welcome to TeX.SE!

            – Kurt
            Jan 31 at 17:48



















          -2














          renewcommand{familydefault}{sfdefault}
          normalfont % this is required for the change to take effect
          This is set in sans-serif font.
          renewcommand{familydefault}{rmdefault}
          normalfont % this is required for the change to take effect
          Now again back to serif (roman).





          share|improve this answer



















          • 8





            I don' think this will give you the Arial font.

            – Benjamin McKay
            Oct 16 '14 at 12:17











          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%2f23957%2fhow-to-set-font-to-arial-throughout-the-entire-document%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          78














          Arial is not installed in TeX Live, I'm not sure about MiKTeX. You can use helvet package instead.



          usepackage{helvet}
          renewcommand{familydefault}{sfdefault}


          If you use XeLaTeX or LuaLaTeX, you can use TrueType Arial font installed in your Windows/Mac:



          usepackage{fontspec}
          setmainfont{Arial}


          In Ubuntu, Arial can be installed by a Synaptic Package named ttf-mscorefonts-installer.






          share|improve this answer


























          • I'm using Ubuntu 10.04 and have texlive-full 2009-7 installed. I see XeTeX & LuaTeX installed but your method doesn't work.

            – Level1Coder
            Jul 24 '11 at 7:19











          • @Level1Coder: Well, Arial is a commercial font. You use Linux, but there's no Arial in linux distribution.

            – Leo Liu
            Jul 24 '11 at 7:30






          • 3





            @Leo: But there is: corefonts.sourceforge.net The corresponding package is usually named corefonts.

            – Andrey Vihrov
            Jul 24 '11 at 7:47








          • 4





            @Level1Coder: Arial is very similar to Helvetica, Arial and Helvetica are both commercial fonts. helvet package actually uses Nimbus Sans font (a Helvetica clone); uarial uses URW A030 font (an Arial clone). Most cases, helvet package will suffie. If you want to use real Arial, you must get the TrueType/OpenType font from Windows/Mac and install it in your Linux OS, then use it with XeLaTeX/LuaLaTeX.

            – Leo Liu
            Jul 24 '11 at 7:53











          • +1 to Andrey for mentioning corefonts. After experimentation, I found under Ubuntu Synaptic Package named ttf-mscorefonts-installer. After installing this, Leo's answer works! Changed my mind to use Leo's answer because of the use of authentic fonts from MSCoreFonts. And also because of frequent use of Chinese, XeLaTex seems to be the best tool to handle Chinese characters. (Was planning to settle with PDFLaTeX to create intermixing English/Chinese documents)

            – Level1Coder
            Jul 24 '11 at 8:54


















          78














          Arial is not installed in TeX Live, I'm not sure about MiKTeX. You can use helvet package instead.



          usepackage{helvet}
          renewcommand{familydefault}{sfdefault}


          If you use XeLaTeX or LuaLaTeX, you can use TrueType Arial font installed in your Windows/Mac:



          usepackage{fontspec}
          setmainfont{Arial}


          In Ubuntu, Arial can be installed by a Synaptic Package named ttf-mscorefonts-installer.






          share|improve this answer


























          • I'm using Ubuntu 10.04 and have texlive-full 2009-7 installed. I see XeTeX & LuaTeX installed but your method doesn't work.

            – Level1Coder
            Jul 24 '11 at 7:19











          • @Level1Coder: Well, Arial is a commercial font. You use Linux, but there's no Arial in linux distribution.

            – Leo Liu
            Jul 24 '11 at 7:30






          • 3





            @Leo: But there is: corefonts.sourceforge.net The corresponding package is usually named corefonts.

            – Andrey Vihrov
            Jul 24 '11 at 7:47








          • 4





            @Level1Coder: Arial is very similar to Helvetica, Arial and Helvetica are both commercial fonts. helvet package actually uses Nimbus Sans font (a Helvetica clone); uarial uses URW A030 font (an Arial clone). Most cases, helvet package will suffie. If you want to use real Arial, you must get the TrueType/OpenType font from Windows/Mac and install it in your Linux OS, then use it with XeLaTeX/LuaLaTeX.

            – Leo Liu
            Jul 24 '11 at 7:53











          • +1 to Andrey for mentioning corefonts. After experimentation, I found under Ubuntu Synaptic Package named ttf-mscorefonts-installer. After installing this, Leo's answer works! Changed my mind to use Leo's answer because of the use of authentic fonts from MSCoreFonts. And also because of frequent use of Chinese, XeLaTex seems to be the best tool to handle Chinese characters. (Was planning to settle with PDFLaTeX to create intermixing English/Chinese documents)

            – Level1Coder
            Jul 24 '11 at 8:54
















          78












          78








          78







          Arial is not installed in TeX Live, I'm not sure about MiKTeX. You can use helvet package instead.



          usepackage{helvet}
          renewcommand{familydefault}{sfdefault}


          If you use XeLaTeX or LuaLaTeX, you can use TrueType Arial font installed in your Windows/Mac:



          usepackage{fontspec}
          setmainfont{Arial}


          In Ubuntu, Arial can be installed by a Synaptic Package named ttf-mscorefonts-installer.






          share|improve this answer















          Arial is not installed in TeX Live, I'm not sure about MiKTeX. You can use helvet package instead.



          usepackage{helvet}
          renewcommand{familydefault}{sfdefault}


          If you use XeLaTeX or LuaLaTeX, you can use TrueType Arial font installed in your Windows/Mac:



          usepackage{fontspec}
          setmainfont{Arial}


          In Ubuntu, Arial can be installed by a Synaptic Package named ttf-mscorefonts-installer.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 26 '13 at 6:45









          Community

          1




          1










          answered Jul 24 '11 at 6:58









          Leo LiuLeo Liu

          63.2k7184262




          63.2k7184262













          • I'm using Ubuntu 10.04 and have texlive-full 2009-7 installed. I see XeTeX & LuaTeX installed but your method doesn't work.

            – Level1Coder
            Jul 24 '11 at 7:19











          • @Level1Coder: Well, Arial is a commercial font. You use Linux, but there's no Arial in linux distribution.

            – Leo Liu
            Jul 24 '11 at 7:30






          • 3





            @Leo: But there is: corefonts.sourceforge.net The corresponding package is usually named corefonts.

            – Andrey Vihrov
            Jul 24 '11 at 7:47








          • 4





            @Level1Coder: Arial is very similar to Helvetica, Arial and Helvetica are both commercial fonts. helvet package actually uses Nimbus Sans font (a Helvetica clone); uarial uses URW A030 font (an Arial clone). Most cases, helvet package will suffie. If you want to use real Arial, you must get the TrueType/OpenType font from Windows/Mac and install it in your Linux OS, then use it with XeLaTeX/LuaLaTeX.

            – Leo Liu
            Jul 24 '11 at 7:53











          • +1 to Andrey for mentioning corefonts. After experimentation, I found under Ubuntu Synaptic Package named ttf-mscorefonts-installer. After installing this, Leo's answer works! Changed my mind to use Leo's answer because of the use of authentic fonts from MSCoreFonts. And also because of frequent use of Chinese, XeLaTex seems to be the best tool to handle Chinese characters. (Was planning to settle with PDFLaTeX to create intermixing English/Chinese documents)

            – Level1Coder
            Jul 24 '11 at 8:54





















          • I'm using Ubuntu 10.04 and have texlive-full 2009-7 installed. I see XeTeX & LuaTeX installed but your method doesn't work.

            – Level1Coder
            Jul 24 '11 at 7:19











          • @Level1Coder: Well, Arial is a commercial font. You use Linux, but there's no Arial in linux distribution.

            – Leo Liu
            Jul 24 '11 at 7:30






          • 3





            @Leo: But there is: corefonts.sourceforge.net The corresponding package is usually named corefonts.

            – Andrey Vihrov
            Jul 24 '11 at 7:47








          • 4





            @Level1Coder: Arial is very similar to Helvetica, Arial and Helvetica are both commercial fonts. helvet package actually uses Nimbus Sans font (a Helvetica clone); uarial uses URW A030 font (an Arial clone). Most cases, helvet package will suffie. If you want to use real Arial, you must get the TrueType/OpenType font from Windows/Mac and install it in your Linux OS, then use it with XeLaTeX/LuaLaTeX.

            – Leo Liu
            Jul 24 '11 at 7:53











          • +1 to Andrey for mentioning corefonts. After experimentation, I found under Ubuntu Synaptic Package named ttf-mscorefonts-installer. After installing this, Leo's answer works! Changed my mind to use Leo's answer because of the use of authentic fonts from MSCoreFonts. And also because of frequent use of Chinese, XeLaTex seems to be the best tool to handle Chinese characters. (Was planning to settle with PDFLaTeX to create intermixing English/Chinese documents)

            – Level1Coder
            Jul 24 '11 at 8:54



















          I'm using Ubuntu 10.04 and have texlive-full 2009-7 installed. I see XeTeX & LuaTeX installed but your method doesn't work.

          – Level1Coder
          Jul 24 '11 at 7:19





          I'm using Ubuntu 10.04 and have texlive-full 2009-7 installed. I see XeTeX & LuaTeX installed but your method doesn't work.

          – Level1Coder
          Jul 24 '11 at 7:19













          @Level1Coder: Well, Arial is a commercial font. You use Linux, but there's no Arial in linux distribution.

          – Leo Liu
          Jul 24 '11 at 7:30





          @Level1Coder: Well, Arial is a commercial font. You use Linux, but there's no Arial in linux distribution.

          – Leo Liu
          Jul 24 '11 at 7:30




          3




          3





          @Leo: But there is: corefonts.sourceforge.net The corresponding package is usually named corefonts.

          – Andrey Vihrov
          Jul 24 '11 at 7:47







          @Leo: But there is: corefonts.sourceforge.net The corresponding package is usually named corefonts.

          – Andrey Vihrov
          Jul 24 '11 at 7:47






          4




          4





          @Level1Coder: Arial is very similar to Helvetica, Arial and Helvetica are both commercial fonts. helvet package actually uses Nimbus Sans font (a Helvetica clone); uarial uses URW A030 font (an Arial clone). Most cases, helvet package will suffie. If you want to use real Arial, you must get the TrueType/OpenType font from Windows/Mac and install it in your Linux OS, then use it with XeLaTeX/LuaLaTeX.

          – Leo Liu
          Jul 24 '11 at 7:53





          @Level1Coder: Arial is very similar to Helvetica, Arial and Helvetica are both commercial fonts. helvet package actually uses Nimbus Sans font (a Helvetica clone); uarial uses URW A030 font (an Arial clone). Most cases, helvet package will suffie. If you want to use real Arial, you must get the TrueType/OpenType font from Windows/Mac and install it in your Linux OS, then use it with XeLaTeX/LuaLaTeX.

          – Leo Liu
          Jul 24 '11 at 7:53













          +1 to Andrey for mentioning corefonts. After experimentation, I found under Ubuntu Synaptic Package named ttf-mscorefonts-installer. After installing this, Leo's answer works! Changed my mind to use Leo's answer because of the use of authentic fonts from MSCoreFonts. And also because of frequent use of Chinese, XeLaTex seems to be the best tool to handle Chinese characters. (Was planning to settle with PDFLaTeX to create intermixing English/Chinese documents)

          – Level1Coder
          Jul 24 '11 at 8:54







          +1 to Andrey for mentioning corefonts. After experimentation, I found under Ubuntu Synaptic Package named ttf-mscorefonts-installer. After installing this, Leo's answer works! Changed my mind to use Leo's answer because of the use of authentic fonts from MSCoreFonts. And also because of frequent use of Chinese, XeLaTex seems to be the best tool to handle Chinese characters. (Was planning to settle with PDFLaTeX to create intermixing English/Chinese documents)

          – Level1Coder
          Jul 24 '11 at 8:54













          28














          use it this way:



          documentclass{article}
          usepackage[english]{babel}
          usepackage[T1]{fontenc}
          usepackage{uarial}
          renewcommand{familydefault}{sfdefault}
          usepackage{blindtext}

          begin{document}
          blindtext
          end{document}


          but you must have the package called uarial not arial. If you do not have this package then install it with getnonfreefonts --sys -a: http://www.tug.org/fonts/getnonfreefonts/. The script was part of TeXLive until the 2009 version. Ubuntu users should have it already installed.






          share|improve this answer





















          • 3





            uarial, urw-arial in urw bundle is not available in TeX Live and MiKTeX, it is necessary to install the font package manually. I guess it would be a little difficult for newbies.

            – Leo Liu
            Jul 24 '11 at 7:13






          • 2





            run sudo getnonfreefonts-sys and they will be available ...

            – Herbert
            Jul 24 '11 at 7:17











          • Downloaded all fonts with this command sudo getnonfreefonts-sys -a Arial is rendering in my PDF now, awesome and thanks!

            – Level1Coder
            Jul 24 '11 at 7:27











          • A quick 2015 follow up on @Leo Liu's comment: this solution worked for me in RStudiocompiling with pdfLaTeX without the need to install any packages manually. Thanks for this answer!

            – Adam Smith
            Sep 24 '15 at 20:00






          • 1





            I tried usepackage{uarial} in MiKTeX and it was installed automatically (with the usual prompt).

            – Evgeni Sergeev
            Feb 22 '17 at 4:18
















          28














          use it this way:



          documentclass{article}
          usepackage[english]{babel}
          usepackage[T1]{fontenc}
          usepackage{uarial}
          renewcommand{familydefault}{sfdefault}
          usepackage{blindtext}

          begin{document}
          blindtext
          end{document}


          but you must have the package called uarial not arial. If you do not have this package then install it with getnonfreefonts --sys -a: http://www.tug.org/fonts/getnonfreefonts/. The script was part of TeXLive until the 2009 version. Ubuntu users should have it already installed.






          share|improve this answer





















          • 3





            uarial, urw-arial in urw bundle is not available in TeX Live and MiKTeX, it is necessary to install the font package manually. I guess it would be a little difficult for newbies.

            – Leo Liu
            Jul 24 '11 at 7:13






          • 2





            run sudo getnonfreefonts-sys and they will be available ...

            – Herbert
            Jul 24 '11 at 7:17











          • Downloaded all fonts with this command sudo getnonfreefonts-sys -a Arial is rendering in my PDF now, awesome and thanks!

            – Level1Coder
            Jul 24 '11 at 7:27











          • A quick 2015 follow up on @Leo Liu's comment: this solution worked for me in RStudiocompiling with pdfLaTeX without the need to install any packages manually. Thanks for this answer!

            – Adam Smith
            Sep 24 '15 at 20:00






          • 1





            I tried usepackage{uarial} in MiKTeX and it was installed automatically (with the usual prompt).

            – Evgeni Sergeev
            Feb 22 '17 at 4:18














          28












          28








          28







          use it this way:



          documentclass{article}
          usepackage[english]{babel}
          usepackage[T1]{fontenc}
          usepackage{uarial}
          renewcommand{familydefault}{sfdefault}
          usepackage{blindtext}

          begin{document}
          blindtext
          end{document}


          but you must have the package called uarial not arial. If you do not have this package then install it with getnonfreefonts --sys -a: http://www.tug.org/fonts/getnonfreefonts/. The script was part of TeXLive until the 2009 version. Ubuntu users should have it already installed.






          share|improve this answer















          use it this way:



          documentclass{article}
          usepackage[english]{babel}
          usepackage[T1]{fontenc}
          usepackage{uarial}
          renewcommand{familydefault}{sfdefault}
          usepackage{blindtext}

          begin{document}
          blindtext
          end{document}


          but you must have the package called uarial not arial. If you do not have this package then install it with getnonfreefonts --sys -a: http://www.tug.org/fonts/getnonfreefonts/. The script was part of TeXLive until the 2009 version. Ubuntu users should have it already installed.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 15 '17 at 8:05

























          answered Jul 24 '11 at 7:06









          HerbertHerbert

          273k24414728




          273k24414728








          • 3





            uarial, urw-arial in urw bundle is not available in TeX Live and MiKTeX, it is necessary to install the font package manually. I guess it would be a little difficult for newbies.

            – Leo Liu
            Jul 24 '11 at 7:13






          • 2





            run sudo getnonfreefonts-sys and they will be available ...

            – Herbert
            Jul 24 '11 at 7:17











          • Downloaded all fonts with this command sudo getnonfreefonts-sys -a Arial is rendering in my PDF now, awesome and thanks!

            – Level1Coder
            Jul 24 '11 at 7:27











          • A quick 2015 follow up on @Leo Liu's comment: this solution worked for me in RStudiocompiling with pdfLaTeX without the need to install any packages manually. Thanks for this answer!

            – Adam Smith
            Sep 24 '15 at 20:00






          • 1





            I tried usepackage{uarial} in MiKTeX and it was installed automatically (with the usual prompt).

            – Evgeni Sergeev
            Feb 22 '17 at 4:18














          • 3





            uarial, urw-arial in urw bundle is not available in TeX Live and MiKTeX, it is necessary to install the font package manually. I guess it would be a little difficult for newbies.

            – Leo Liu
            Jul 24 '11 at 7:13






          • 2





            run sudo getnonfreefonts-sys and they will be available ...

            – Herbert
            Jul 24 '11 at 7:17











          • Downloaded all fonts with this command sudo getnonfreefonts-sys -a Arial is rendering in my PDF now, awesome and thanks!

            – Level1Coder
            Jul 24 '11 at 7:27











          • A quick 2015 follow up on @Leo Liu's comment: this solution worked for me in RStudiocompiling with pdfLaTeX without the need to install any packages manually. Thanks for this answer!

            – Adam Smith
            Sep 24 '15 at 20:00






          • 1





            I tried usepackage{uarial} in MiKTeX and it was installed automatically (with the usual prompt).

            – Evgeni Sergeev
            Feb 22 '17 at 4:18








          3




          3





          uarial, urw-arial in urw bundle is not available in TeX Live and MiKTeX, it is necessary to install the font package manually. I guess it would be a little difficult for newbies.

          – Leo Liu
          Jul 24 '11 at 7:13





          uarial, urw-arial in urw bundle is not available in TeX Live and MiKTeX, it is necessary to install the font package manually. I guess it would be a little difficult for newbies.

          – Leo Liu
          Jul 24 '11 at 7:13




          2




          2





          run sudo getnonfreefonts-sys and they will be available ...

          – Herbert
          Jul 24 '11 at 7:17





          run sudo getnonfreefonts-sys and they will be available ...

          – Herbert
          Jul 24 '11 at 7:17













          Downloaded all fonts with this command sudo getnonfreefonts-sys -a Arial is rendering in my PDF now, awesome and thanks!

          – Level1Coder
          Jul 24 '11 at 7:27





          Downloaded all fonts with this command sudo getnonfreefonts-sys -a Arial is rendering in my PDF now, awesome and thanks!

          – Level1Coder
          Jul 24 '11 at 7:27













          A quick 2015 follow up on @Leo Liu's comment: this solution worked for me in RStudiocompiling with pdfLaTeX without the need to install any packages manually. Thanks for this answer!

          – Adam Smith
          Sep 24 '15 at 20:00





          A quick 2015 follow up on @Leo Liu's comment: this solution worked for me in RStudiocompiling with pdfLaTeX without the need to install any packages manually. Thanks for this answer!

          – Adam Smith
          Sep 24 '15 at 20:00




          1




          1





          I tried usepackage{uarial} in MiKTeX and it was installed automatically (with the usual prompt).

          – Evgeni Sergeev
          Feb 22 '17 at 4:18





          I tried usepackage{uarial} in MiKTeX and it was installed automatically (with the usual prompt).

          – Evgeni Sergeev
          Feb 22 '17 at 4:18











          0














          I struggled with this forever. Finally found an article that showed me these two lines of code:



          renewcommand{rmdefault}{phv} % Arial
          renewcommand{sfdefault}{phv} % Arial


          Only thing that worked for me, after hours of struggling with luatex and xelatex.



          This answer only loads a Helvetica clone, not true Arial. If you need true Arial for whatever reason this won't work.






          share|improve this answer





















          • 3





            Note that these instructions load a Helvetica clone, not true Arial. Because Arial is itself a clone of Helvetica, the result may be good enough for your requirements. Your answer should make clear(er), though, that it answers the OP's query only approximately, not exactly.

            – Mico
            May 16 '17 at 2:34













          • Hmm, good call. I didn't think of that!

            – Blairg23
            May 16 '17 at 21:03
















          0














          I struggled with this forever. Finally found an article that showed me these two lines of code:



          renewcommand{rmdefault}{phv} % Arial
          renewcommand{sfdefault}{phv} % Arial


          Only thing that worked for me, after hours of struggling with luatex and xelatex.



          This answer only loads a Helvetica clone, not true Arial. If you need true Arial for whatever reason this won't work.






          share|improve this answer





















          • 3





            Note that these instructions load a Helvetica clone, not true Arial. Because Arial is itself a clone of Helvetica, the result may be good enough for your requirements. Your answer should make clear(er), though, that it answers the OP's query only approximately, not exactly.

            – Mico
            May 16 '17 at 2:34













          • Hmm, good call. I didn't think of that!

            – Blairg23
            May 16 '17 at 21:03














          0












          0








          0







          I struggled with this forever. Finally found an article that showed me these two lines of code:



          renewcommand{rmdefault}{phv} % Arial
          renewcommand{sfdefault}{phv} % Arial


          Only thing that worked for me, after hours of struggling with luatex and xelatex.



          This answer only loads a Helvetica clone, not true Arial. If you need true Arial for whatever reason this won't work.






          share|improve this answer















          I struggled with this forever. Finally found an article that showed me these two lines of code:



          renewcommand{rmdefault}{phv} % Arial
          renewcommand{sfdefault}{phv} % Arial


          Only thing that worked for me, after hours of struggling with luatex and xelatex.



          This answer only loads a Helvetica clone, not true Arial. If you need true Arial for whatever reason this won't work.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Aug 29 '17 at 20:31









          Vogon Jeltz

          1134




          1134










          answered May 16 '17 at 2:25









          Blairg23Blairg23

          1635




          1635








          • 3





            Note that these instructions load a Helvetica clone, not true Arial. Because Arial is itself a clone of Helvetica, the result may be good enough for your requirements. Your answer should make clear(er), though, that it answers the OP's query only approximately, not exactly.

            – Mico
            May 16 '17 at 2:34













          • Hmm, good call. I didn't think of that!

            – Blairg23
            May 16 '17 at 21:03














          • 3





            Note that these instructions load a Helvetica clone, not true Arial. Because Arial is itself a clone of Helvetica, the result may be good enough for your requirements. Your answer should make clear(er), though, that it answers the OP's query only approximately, not exactly.

            – Mico
            May 16 '17 at 2:34













          • Hmm, good call. I didn't think of that!

            – Blairg23
            May 16 '17 at 21:03








          3




          3





          Note that these instructions load a Helvetica clone, not true Arial. Because Arial is itself a clone of Helvetica, the result may be good enough for your requirements. Your answer should make clear(er), though, that it answers the OP's query only approximately, not exactly.

          – Mico
          May 16 '17 at 2:34







          Note that these instructions load a Helvetica clone, not true Arial. Because Arial is itself a clone of Helvetica, the result may be good enough for your requirements. Your answer should make clear(er), though, that it answers the OP's query only approximately, not exactly.

          – Mico
          May 16 '17 at 2:34















          Hmm, good call. I didn't think of that!

          – Blairg23
          May 16 '17 at 21:03





          Hmm, good call. I didn't think of that!

          – Blairg23
          May 16 '17 at 21:03











          -1














          usepackage[scaled=0.9]{helvet} 
          renewcommand{familydefault}{sfdefault}
          usepackage{mathastext}





          share|improve this answer





















          • 1





            Can you please explain how your given code should solve the given issue? Welcome to TeX.SE!

            – Kurt
            Jan 31 at 17:48
















          -1














          usepackage[scaled=0.9]{helvet} 
          renewcommand{familydefault}{sfdefault}
          usepackage{mathastext}





          share|improve this answer





















          • 1





            Can you please explain how your given code should solve the given issue? Welcome to TeX.SE!

            – Kurt
            Jan 31 at 17:48














          -1












          -1








          -1







          usepackage[scaled=0.9]{helvet} 
          renewcommand{familydefault}{sfdefault}
          usepackage{mathastext}





          share|improve this answer















          usepackage[scaled=0.9]{helvet} 
          renewcommand{familydefault}{sfdefault}
          usepackage{mathastext}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 31 at 17:29









          Phelype Oleinik

          22.7k54482




          22.7k54482










          answered Jan 31 at 17:27









          Vie EspoireVie Espoire

          11




          11








          • 1





            Can you please explain how your given code should solve the given issue? Welcome to TeX.SE!

            – Kurt
            Jan 31 at 17:48














          • 1





            Can you please explain how your given code should solve the given issue? Welcome to TeX.SE!

            – Kurt
            Jan 31 at 17:48








          1




          1





          Can you please explain how your given code should solve the given issue? Welcome to TeX.SE!

          – Kurt
          Jan 31 at 17:48





          Can you please explain how your given code should solve the given issue? Welcome to TeX.SE!

          – Kurt
          Jan 31 at 17:48











          -2














          renewcommand{familydefault}{sfdefault}
          normalfont % this is required for the change to take effect
          This is set in sans-serif font.
          renewcommand{familydefault}{rmdefault}
          normalfont % this is required for the change to take effect
          Now again back to serif (roman).





          share|improve this answer



















          • 8





            I don' think this will give you the Arial font.

            – Benjamin McKay
            Oct 16 '14 at 12:17
















          -2














          renewcommand{familydefault}{sfdefault}
          normalfont % this is required for the change to take effect
          This is set in sans-serif font.
          renewcommand{familydefault}{rmdefault}
          normalfont % this is required for the change to take effect
          Now again back to serif (roman).





          share|improve this answer



















          • 8





            I don' think this will give you the Arial font.

            – Benjamin McKay
            Oct 16 '14 at 12:17














          -2












          -2








          -2







          renewcommand{familydefault}{sfdefault}
          normalfont % this is required for the change to take effect
          This is set in sans-serif font.
          renewcommand{familydefault}{rmdefault}
          normalfont % this is required for the change to take effect
          Now again back to serif (roman).





          share|improve this answer













          renewcommand{familydefault}{sfdefault}
          normalfont % this is required for the change to take effect
          This is set in sans-serif font.
          renewcommand{familydefault}{rmdefault}
          normalfont % this is required for the change to take effect
          Now again back to serif (roman).






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 9 '13 at 17:08









          SuntharSunthar

          91




          91








          • 8





            I don' think this will give you the Arial font.

            – Benjamin McKay
            Oct 16 '14 at 12:17














          • 8





            I don' think this will give you the Arial font.

            – Benjamin McKay
            Oct 16 '14 at 12:17








          8




          8





          I don' think this will give you the Arial font.

          – Benjamin McKay
          Oct 16 '14 at 12:17





          I don' think this will give you the Arial font.

          – Benjamin McKay
          Oct 16 '14 at 12:17


















          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%2f23957%2fhow-to-set-font-to-arial-throughout-the-entire-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

          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?