Palatino Linotype under MKIV

From Wiki
Jump to navigation Jump to search

This page shows you how to use most of the typographical features of the Palatino Linotype font shipped with MS Windows.

The following code requires LuaTeX 0.77.0+ which simplifies the font setup significantly.

Example file

% specifying ancient greek pattern ensures proper hyphenation of greek text

\definefontfamily[palatino][rm][Palatino Linotype][features={default, quality}]
% by default all \it \bf \bi \smallcaps \oldstyle styles are ready to use as well as ligatures
% but superscript requires extra settings
% an extra \sup macro is defined for our convenience

% global protrusion and expansion settings - it is not inherited in custom paragraph definitions
\setupalign[hz, hanging]

\defineparagraphs[TwoColumns][n=2, align={hz, hanging}]
\setupparagraphs[TwoColumns][1][width=100pt, style=italic, align=left]


How you, O Athenians, have been affected by my accusers, I cannot tell;
but I know that they almost made me forget who I was--so persuasively
did they speak; and yet they have hardly uttered a word of truth.




Bold italic\TwoColumns

Small caps\TwoColumns

Ancient greek\TwoColumns
Ὅτι μὲν ὑμεῖς, ὦ ἄνδρες Ἀθηναῖοι, 
πεπόνθατε ὑπὸ τῶν ἐμῶν κατηγόρων, 
οὐκ οἶδα· ἐγὼ δ' οὖν καὶ αὐτὸς ὑπ' 
αὐτῶν ὀλίγου ἐμαυτοῦ ἐπελαθόμην, 
οὕτω πιθανῶς ἔλεγον. 

Jeff, the office at the first floor is offline.

Old style figures 1234567890/{\oldstyle 1234567890}.\par
Superior characters 1{\sup 1} o{\sup o} re{\sup re}.


palatino linotype under mkiv.png