summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/fontspec/fontspec.cfg
blob: a7cb96b0ed54b577e5f8e4639ae21070258a27d0 (plain)
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
%%
%% This is file `fontspec.cfg',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% fontspec.dtx  (with options: `cfg')
%% 
%%   ________________________________
%%   The fontspec package for XeLaTeX
%%   (C) 2004--2008    Will Robertson
%% 
%%   License information appended.
%% 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% FOR BACKWARDS COMPATIBILITY WITH PREVIOUS VERSIONS %%%

\let\newfontinstance\newfontfamily

\newcommand\newfeaturecode[3]{%
  \define@key{zf}{#1}[]{\zf@make@feature{#2}{#3}{}}}

\aliasfontfeature{BoldFont}{Bold}
\aliasfontfeature{ItalicFont}{Italic}
\aliasfontfeature{BoldItalicFont}{BoldItalic}
\aliasfontfeature{SmallCapsFont}{SmallCaps}
\aliasfontfeature{Style}{StyleOptions}
\aliasfontfeature{Contextuals}{Swashes}
\aliasfontfeatureoption{Contextuals}{Swash}{Contextual}
\aliasfontfeatureoption{Letters}{UppercaseSmallCaps}{SMALLCAPS}
\aliasfontfeatureoption{Letters}{UppercasePetiteCaps}{PETITECAPS}

%%%%%%%%%%%%%%%%%%%%%%%
%%% FOR CONVENIENCE %%%

\newfontscript{Kana}{kana}
\newfontscript{Maths}{math}
\newfontscript{CJK}{hani}

%% 
%% Copyright 2004--2008 by Will Robertson <wspr81@gmail.com>
%% 
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
%% this license is at: http://www.latex-project.org/lppl.txt
%% 
%% This work is "maintained" (as per LPPL maintenance status)
%% by Will Robertson.
%% 
%% This work consists of this file  fontspec.dtx
%%           and the derived files fontspec.sty,
%%                                 fontspec.cfg,
%%                                 fontspec.ins,
%%                                 fontspec-example.ltx,
%%                             and fontspec.pdf.
%% 
%%
%% End of file `fontspec.cfg'.