-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdbkindle_font.sty
99 lines (73 loc) · 2.93 KB
/
dbkindle_font.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
% Font setup
%Adobe Minion Pro
%\usepackage[minionint,opticals,fullfamily,footnotefigures]{MinionPro}
%\usepackage{MnSymbol}
%\figureversion{text,proportional}
%% This doesn't work in lualatex
% Make sure words with ligatures are searchable in PDF
%% \input glyphtounicode
%% \pdfgentounicode=1
% PsCyr
% AcademyPSCyr, AntiquaPSCyr, etc
% http://forum.ru-board.com/topic.cgi?forum=5&topic=30211&start=0&limit=1&m=11#1
%% \usepackage{PsCyr}
%% \renewcommand{\rmdefault}{faq}
% Fontogroup
% Many fonts, see sample in the archive
% http://herba.msu.ru/shipunov/software/tex/fontogroup.zip
%\usepackage{fontogr}
% Schoolbook (wide ...)
%\renewcommand{\rmdefault}{scb}
% WFonts (standard Windows fonts)
% Georgia, Arial, Palatino, Times New Roman
% http://forum.ru-board.com/topic.cgi?forum=5&topic=30211&start=0&limit=1&m=13#1
%\usepackage{GeorgiaW}
% URWCyr
% URW Bookman L, Century Schoolbook L, URW Palladio L, Nimbus Roman No9 L, URW Gothic L, Nimbus Sans L
% http://forum.ru-board.com/topic.cgi?forum=5&topic=30211&start=0&limit=1&m=24#1
% URW Bookman
%\renewcommand{\rmdefault}{ubk}
% Linotype Sabon
% http://forum.ru-board.com/topic.cgi?forum=5&topic=30211&start=1040
%\usepackage[garamond]{mathdesign}
% New century schoolbook
% http://forum.ru-board.com/topic.cgi?forum=5&topic=30211&start=0&limit=1&m=16#1
% Dont use \usepackage{fouriernc} despite what documentation says
%\renewcommand{\rmdefault}{lnc}
% PFonts
% 19 fonts including Academy, Cooper, Lazurski, Baltica, Quant Antiqua with support for scaling
% http://forum.ru-board.com/topic.cgi?forum=5&topic=30211&start=0&limit=1&m=12#1
% Academy
%\usepackage[scaled=1.20]{AcademyP}
% Cooper
%\usepackage{CooperP}
%% \usepackage[charter,expert]{mathdesign}
%% Alegreya
\usepackage{Alegreya}
% Libertine
%\usepackage{libertine}
%\renewcommand*\oldstylenums[1]{{\fontfamily{fxlj}\selectfont #1}}
% No cyrillic!
% Enhanced Palatino
%\usepackage{tgpagella}
% Dayroman http://ctan.mackichan.com/fonts/DayRoman/readme.dayroman
%\renewcommand*\rmdefault{dayrom}
% Garamond
%\usepackage[urw-garamond]{mathdesign}
% Bera
%\usepackage[scaled]{beraserif}
% Helps with overfull lines
\setlength{\emergencystretch}{1.5em}
% Microtypography enhancements. This is font-specific because not every font/encoding combination
% supports both protrusion and expansion. See documentation for microtype for details.
%\PassOptionsToPackage{kerning=true, spacing=true, babel=true, protrusion=true, expansion=true}{microtype}
\usepackage[kerning=true, spacing=true, babel=true, protrusion=true, expansion=true]{microtype}
% Some fonts (don't use them!) do not support expansion
%\usepackage[kerning=true, spacing=true, babel=true, protrusion=true, expansion=false]{microtype}
% One more way to adjust font size and distance between lines
%% \renewcommand{\normalsize}{\fontsize{19}{20}\selectfont}
% Dropped capitals
\usepackage{lettrine}
% Font for the dropped capitals
%% \renewcommand{\LettrineFontHook}{\fontfamily{antt}\fontshape{b}%
%% }