Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How do I install babel in Texmaker

  1. May 14, 2014 #1

    Rectifier

    User Avatar
    Gold Member

    Hey there!
    How do I install babel language pack in Texmaker? I want to use
    Code (Text):
    \usepackage[swedish]{babel}
    in Texmaker. (Jag är bäst in Texmaker gives Jag r bst when I compile the code)
    I use Win8 and the Miktex.
     
    Last edited: May 15, 2014
  2. jcsd
  3. May 15, 2014 #2

    DrClaude

    User Avatar

    Staff: Mentor

    Your problem is not solved by using babel, which is why the output was incorrect (unless you got a specific error, babel is most probably installed on your system).

    Add instead
    Code (Text):
    \usepackage[utf8]{inputenc}
     
  4. May 15, 2014 #3

    Rectifier

    User Avatar
    Gold Member

    I dont know what this line does but it solved my problem. Thank you.
     
  5. May 15, 2014 #4

    DrClaude

    User Avatar

    Staff: Mentor

    LaTeX normally can only deal with the standard ASCII characters. To get, for instance, ä, you need to input
    Code (Text):
    \"a
    The package inputenc allows one to work with an extended characterset, such that characters like å, ä, ô, é, etc., are handled correctly.
     
  6. May 15, 2014 #5

    Rectifier

    User Avatar
    Gold Member

    Thank you!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook