I have long been using the TeX Gyre Pagella font for my documents. However, like many users, when I'm trying to find out how to customize documents by searching StackExchange (or often) googling, there are so many options, packages, old information, bleeding edge information, and alternative compilers I'm not sure if I'm responsibly using the available software.

Ideally I could set up a preamble and use it over and over for my documents. The preamble should:

  1. Let me use TeX Gyre Pagella
  2. Enable proper matching math fonts, get ligatures correct
  3. Play well with unicode
  4. Packages and compilers are available in TeX Live/MacTeX/TeX Shop
  5. Highly stable -- no known bugs or conflicts with other popular packages
  6. Uses packages that are not 'orphaned' i.e. they will continue to be improved but not deprecated in the years to come.

For example: for a long time I had used XeLaTeX but after trying to read around about 'good ways to do things' I read about some combination of using LuaLaTeX and certain packages/preamble lines such as below, that appeared to be more 'preferred'. But I really am not sure what everything here does, and using fonts in TeX has been explicitly called a black hole, so I thought I could open up a question and see what people think.

Here's a (minimal) preamble I am now trying to use with LuaLaTeX:

   \setmainfont[Ligatures=TeX]{TeX Gyre Pagella}
   \setmathfont[Ligatures=TeX]{TeX Gyre Pagella Math}

Am I missing or misusing something important? Any further ideas about what would be 'good' to have in a preamble?

closed as too broad by Torbjørn T., Mensch, Matthew Leingang, cfr, Jesse Oct 5 '14 at 0:03

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 5
    You don't need to load fontenc; it may still work, but I don't think it is recommended when you are using fontspec. I think there's a comment in the manual of the latter about this. – jon Sep 12 '13 at 17:03
  • 1
    As it stands, it's not really clear what the question is here – Joseph Wright Nov 2 '13 at 23:05
  • 4
    Perhaps the following question comparing XeTeX and LuaTeX could be helpful: Differences between LuaTeX, ConTeXt and XeTeX – Alan Munn Nov 2 '13 at 23:10
  • Alan Munn -- that's very helpful and relevant, thank you! – William Kennerly Nov 4 '13 at 21:12
  • Don't say english. Specify the variant instead e.g. british or american. This is recommended because different versions of babel alias english to different variants. – cfr Mar 24 '14 at 1:48

Browse other questions tagged or ask your own question.