4

I write my thesis with classic thesis and I would like to use Minion pro fonts (regulars and italics) instead of Palatino. Therefore, I am about to buy those fonts. But, I understood that it was quite difficult to install it. Is there anyone who may help me to do it and guide me into a step-by-step installation ?

11
  • The first thing I still do nowadays when I am puzzled as to what is going on with some feature of LaTeX or which problem I can solve this or that way... is to Google. Thanks to the kraken, I learned LaTeX, basically. (And the companion.) So... did you google for it?
    – henry
    Sep 16, 2014 at 20:38
  • 1
    If you don't want to use the optical sizes (display, subhead, &c.), you don't have to buy them: they're supplied with Adobe Reader. What are your system and distribution?
    – Bernard
    Sep 16, 2014 at 20:43
  • @henry : Yes I did. I even tried to run a script retrieved from the net. But in vain. Bernard : I am working with Mac osx. I did not know for the adobe reader version. I am going to try it. But then, what do I have to do next ?
    – domi
    Sep 16, 2014 at 20:54
  • 1
    Easyest way: use LuaTeX. If for some reason you can't use LuaLaTeX, XeTeX does offer also OpenType support. If, for some reason, you need pdfTeX, then here you can see an explanation of how to do it.
    – Manuel
    Sep 16, 2014 at 20:59
  • @Bernard : I can use Minion Pro with Adobe Reader. But how can I do in order to use Minion Pro with my Latex editor ?
    – domi
    Sep 16, 2014 at 21:18

1 Answer 1

4

If you compile with XeLaTeX (perhaps also with LuaLaTeX, but I'm not sure), you can use any font known to your system, so there's nothing to do, except use the exact Opentype names. Don't load inputenc (XeLaTeX supposes it's utf8-encoded (check the settings of your editor); don't load fontenc since you will use ordinary fonts (truetype or opentype).

You will have to load the dedicated font manager: fontspec and declare a main font with the setmainfont command. Likewise, you can declare \setsansfont and \setmonofont. You can define the default font features you want, such as special ligatures, oldstyle numbers, tabular numbers, colour, &c. Actually, fontspec is an interface to opentype font features. For this, you have two main commands: \setdefaultfontfeatures and, if you want a font feature only for a short piece of text: addfontfeatures.

Of course, you'll find many more details in the documenation. And now for a small example:

\documentclass[a4paper,12pt, twoside]{article}

\usepackage[marginratio={4:6, 5:7}, textwidth=131mm, noheadfoot]{geometry}

\usepackage{fontspec}% font selecting commands%
\defaultfontfeatures{Numbers = {OldStyle, Proportional}, Ligatures = Rare, WordSpace = 1.1}%,2
\setmainfont{Minion Pro}%
\usepackage{polyglossia}
\setmainlanguage[variant = british]{english}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%

\pagestyle{empty}
\usepackage{verse}
\renewcommand*\vin[1][1]{\hspace*{#1\vgap}}

\usepackage[x11names]{xcolor}
\title{\color{Tomato2}\bfseries\itshape\huge\addfontfeatures{LetterSpace=2}The Great Panjandrum \\Himself}
\author{Samuel Foote}
\date{(1755)}

\begin{document}

\maketitle
\thispagestyle{empty}

\begin{verse}

So she went into the garden

to cut a cabbage-leaf

to make an apple-pie;

and at the same time

 a great she-bear, coming down the street,

 pops its head into the shop.

What! no soap?

\vin So he died,

and she very imprudently married the Barber:

and there were present

\vin the Picninnies,

\vin[2] and the Joblillies,

\vin[3] and the Garyulies,

and the great Panjandrum himself,

with the little round button at top;

and they all fell to playing the game of catch-as-catch-can,

 till the gunpowder ran out at the heels of their boot
\end{verse}

\end{document}

enter image description here

4
  • You certainly like tomatoes.
    – Manuel
    Sep 17, 2014 at 11:53
  • @Manuel: It's the favourite fruit of the Picninnies ;o). More seriously, in coloured titles, I like best a red close to, but slightly different, from ‘basic red’ (RGB 1 0 0) and I prefer to use colour names rather than code.
    – Bernard
    Sep 17, 2014 at 13:43
  • OK. And is apacite package compatible with Xelatex ?
    – domi
    Sep 17, 2014 at 16:18
  • @domi: I don't know, as apacite is not installed on my computer (I suse biblatex). However I don't see why it shouldn't work, and it's perfectly compatible with bibalatex-apa.
    – Bernard
    Sep 17, 2014 at 16:33

You must log in to answer this question.

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