2

Does anyone know what settings are required for Geo Sans Light Font in Latex as can be found HERE.

4
  • I didn't find them directly in text font catalog Commented Jun 17, 2013 at 23:27
  • Hence my question. Commented Jun 17, 2013 at 23:43
  • Any reason for the edit rollback?
    – Xavier
    Commented Jun 18, 2013 at 0:24
  • Yeah, I didn't like "found here for free" part. Commented Jun 18, 2013 at 0:58

1 Answer 1

4

The link you provide refers to a TrueType font (.ttf).

You can easily use these if you compile your document with Xe- or LuaLaTeX and use the fontspec package. Using the font is then as easy as

\setmainfont{Geo Sans Light}

is you put the .ttf font in your system's system/user font directory, or

\setmainfont{GeosansLight.ttf}

For more details, read the fontspec manual

4
  • Two subquestions: 1) No LaTeX? Only Xe or Lua? 2) Does this work for every .ttf? Commented Jun 17, 2013 at 23:52
  • @MarioS.E. - no pdfLaTeX, but either XeLaTeX or LuaLaTeX.
    – Mico
    Commented Jun 18, 2013 at 0:01
  • Regarding 1): (La)TeX is a typesetting language, and you need an engine to "compile" the source code into output (pdf). The most common engine is pdf(La)TeX, but it's also the oldest one. Xe(La)TeX and Lua(La)TeX are more modern version, with Lua(La)TeX being the official successor for LaTeX3. In a nutshell, you can mostly take your (La)TeX code and switch from one compiler to the other (the biggest change is the handling of input encoding, Xe- and LuaLaTex relying only but natively on utf8).
    – Xavier
    Commented Jun 18, 2013 at 0:21
  • Regarding 2): Yes, it works for any .ttf or .otf font.
    – Xavier
    Commented Jun 18, 2013 at 0:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .