Debian Codegraph @

texmf-dist/doc/fonts/junicodevf/JunicodeManual.sty

raw
1 \ProvidesPackage{JunicodeManual}
2
3 \usepackage{microtype}
4
5 \usepackage[
6 MainFeatures={
7 StylisticSet={9,10}
8 },
9 MainRegularSizeFeatures={
10 {size=8.6,wght=550,wdth=120},
11 {size=10.99,wght=475,wdth=115},
12 {size=21.59,wght=400,wdth=112.5},
13 {size=21.59,wght=351,wdth=100}
14 },
15 MainItalicSizeFeatures={
16 {size=8.6,wght=550,wdth=118},
17 {size=10.99,wght=475,wdth=114},
18 {size=21.59,wght=450,wdth=111},
19 {size=21.59,wght=372,wdth=98}
20 },
21 MainBoldSizeFeatures={
22 {size=8.6,wght=700,wdth=120},
23 {size=10.99,wght=700,wdth=115},
24 {size=21.59,wght=650,wdth=112.5},
25 {size=21.59,wght=600,wdth=100}
26 },
27 MainBoldItalicSizeFeatures={
28 {size=8.6,wght=700,wdth=118},
29 {size=10.99,wght=700,wdth=114},
30 {size=21.59,wght=650,wdth=111},
31 {size=21.59,wght=600,wdth=98}
32 },
33 CondSizeFeatures={
34 {size=8.5,wght=420,wdth=75},
35 {size=11,wght=400,wdth=75},
36 {size=22,wght=350,wdth=75},
37 {size=22,wght=345,wdth=75}
38 },
39 SmCondLightFeatures={StylisticSet=9},
40 SmCondFeatures={StylisticSet=9}
41 ]{junicodevf}
42 \setfontface\samplefootnote{JunicodeVF}[
43 Renderer = HarfBuzz,
44 SizeFeatures = {{Size={5-}, RawFeature={axis={wght=490,wdth=115}}}},
45 ]
46 \setfontface\sampleheader{JunicodeVF}[
47 Renderer = HarfBuzz,
48 StylisticSet = 9,
49 SizeFeatures = {{Size={5-}, RawFeature={axis={wght=350,wdth=95}}}}
50 ]
51 \setmonofont{Fira Mono}[Scale=MatchLowercase,Numbers=Lowercase]
52 \setsansfont{Fira Sans}[Scale=MatchLowercase,Numbers=Lowercase]
53
54 %\usepackage{showidx}
55 \usepackage{imakeidx}
56 \usepackage{idxlayout}
57
58 \makeindex[title=Index of OpenType Features,intoc]
59
60 \usepackage{fancyhdr}
61 \usepackage{realscripts}
62 \usepackage{graphicx}
63 \usepackage[table,dvipsnames]{xcolor}
64 \definecolor{BrickRed}{RGB}{146,18,6}
65 \definecolor{SlateGray}{RGB}{112,128,144}
66 \definecolor{GGOrange}{RGB}{240,74,6}
67 \definecolor{RViolet}{RGB}{70,18,87}
68 \definecolor{myRed}{rgb}{0.5,0,0}
69 \definecolor{myBlue}{rgb}{0,0,0.5}
70 \definecolor{myLightRed}{RGB}{255,232,244}
71 \definecolor{myLightYellow}{RGB}{239,249,218}
72 \definecolor{myLightBlue}{RGB}{203,228,249}
73 \definecolor{myLightGreen}{RGB}{234,255,244}
74 \definecolor{myLightPurple}{RGB}{214,205,234}
75 \definecolor{GunMetalGray}{RGB}{42,52,57}
76 \usepackage{multicol}
77 \usepackage{array}
78 \usepackage{tabto}
79 \usepackage{supertabular}
80 \usepackage{hhline}
81 \usepackage{metalogo}
82 \usepackage{hyperref}
83 \hypersetup{pdftex, colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue,%
84 urlcolor=blue, pdftitle=, pdfauthor=, pdfsubject=, pdfkeywords=,}
85 \pdfstringdefDisableCommands{%
86 \def\unic{}%
87 \def\textSourceText{}%
88 \def\addfontfeature\@gobble
89 }
90 \urlstyle{same}
91 % Footnotes configuration
92 \makeatletter
93 \renewcommand\thefootnote{\arabic{footnote}}
94 \makeatother
95 % Text styles
96 \linespread{1.1}
97 \newopentypefeature{MyStyle}{mirrored}{+rtlm}
98 \newopentypefeature{MyStyle}{IPA}{+ss03}
99 \newopentypefeature{MyStyle}{thornswap}{+ss01}
100 \newopentypefeature{MyStyle}{noentities}{-ss10}
101 \newopentypefeature{Ligatures}{histoff}{-hlig}
102 \newcommand{\noent}[1]{{\addfontfeature{MyStyle=noentities}#1}}
103 \newcommand\textex[1]{\textrm{\textbf{\color{BrickRed}#1}}}
104 \newcommand\textUName[1]{\textsc{#1}}
105 \newcommand\textSourceText[1]{{\color{GGOrange}\texttt{#1}}}
106 \newcommand\cvc[1]{{\color{magenta}#1}}
107 \newcommand\textstyleEmphasis[1]{\textit{#1}}
108 \newcommand\textstyleEntityRef[1]{\textrm{#1}}
109 \newcommand{\cvd}[3][0]{{\addfontfeature{CharacterVariant=#2:#1}#3}}
110 \newcommand{\salti}[2]{{\addfontfeature{StylisticAlternates=#1}#2}}
111 \newcommand{\hlig}[1]{{\addfontfeature{Ligatures=Historic}#1}}
112 \newcommand{\sups}[1]{{\addfontfeature{VerticalPosition = Superior}#1}}
113 \newcommand{\subs}[1]{{\addfontfeature{VerticalPosition = Inferior}#1}}
114 \newcommand{\oprop}[1]{{\addfontfeature{Numbers={Lowercase,Proportional}}#1}}
115 \newcommand{\lprop}[1]{{\addfontfeature{Numbers={Uppercase,Proportional}}#1}}
116 \newcommand{\otab}[1]{{\addfontfeature{Numbers={Lowercase,Monospaced}}#1}}
117 \newcommand{\ltab}[1]{{\addfontfeature{Numbers={Uppercase,Monospaced}}#1}}
118 \newcommand{\ornm}[2][0]{{\addfontfeature{Ornament=#1}#2}}
119 \newcommand{\unic}[1]{{\jSmCond\addfontfeature{Numbers={Uppercase,Monospaced}}#1}}
120 \newcommand{\src}[1]{{\color{BrickRed}\texttt{#1}}}
121 \newcommand{\option}[1]{{\color{RViolet}\sffamily#1}}
122 \newcommand{\enla}[1]{{\EnlargedOne#1}}
123 \newcommand{\enlax}[1]{{\EnlargedTwo#1}}
124 \newcommand{\ltech}{Lua\kern-1.5pt\TeX}
125 \newcommand{\restag}[1]{{\addfontfeature{StylisticSet=10}#1}}
126 \newcommand{\mufi}{\rowcolor{myLightGreen}}
127 \newcommand{\prob}{\cellcolor{myLightPurple}}
128 \newcommand{\opua}{\rowcolor{myLightYellow}}
129 \newcommand{\stdu}{\rowcolor{myLightBlue}}
130 \newcommand{\bluerow}{\rowcolor{myLightBlue}}
131 \newcommand{\nuni}{\rowcolor{myLightRed}}
132 \newcommand{\tcomp}{\jCond\addfontfeature{Numbers=Uppercase}}
133 \newcommand{\ctosc}[1]{{\addfontfeature{Letters=UppercaseSmallCaps}#1}}
134 \newcommand{\secletter}[1]{\textbf{#1}}
135 \newcommand{\fspec}{{\sffamily fontspec}}
136 \newcommand{\grk}[1]{{\addfontfeature{Language=Greek}#1}}
137 \makeatletter
138 \newcommand\arraybslash{\let\\\@arraycr}
139 \makeatother
140 \setlength\headheight{15pt}
141 \pagestyle{fancy}
142 \footskip = 30pt
143 \headsep = 30pt
144 \renewcommand{\headrule}{}
145 \fancyhead[L]{}
146 \fancyhead[C]{}
147 \fancyhead[R]{}
148 \fancyfoot[L]{}
149 \fancyfoot[C]{}
150 \fancyfoot[R]{}
151 \setlength\tabcolsep{1mm}
152 \renewcommand\arraystretch{1.3}
153 % Headers
154 \usepackage{titlesec}
155 \titleformat{\chapter}[hang]{\huge\jSmCondLight\color{RViolet}}{\thechapter.}{1em}{}
156 \titleformat{\section}[hang]{\Large\jSmCond\color{GunMetalGray}}{\thesection.}{1em}{}
157 \titleformat{\subsection}[hang]{\large\color{BrickRed}}{\thesubsection.}{1em}{}
158 % List styles
159 \newcommand\liststyleLi{%
160 \renewcommand\labelitemi{{\textbullet}}
161 \renewcommand\labelitemii{{\textbullet}}
162 \renewcommand\labelitemiii{{\textbullet}}
163 \renewcommand\labelitemiv{{\textbullet}}
164 }
165 \newcommand\liststyleLii{%
166 \renewcommand\labelitemi{{\textbullet}}
167 \renewcommand\labelitemii{{\textbullet}}
168 \renewcommand\labelitemiii{{\textbullet}}
169 \renewcommand\labelitemiv{{\textbullet}}
170 }
171 \newcounter{Feature}
172 \renewcommand\theFeature{\arabic{Feature}}
173 \renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}}
174 \tolerance=1500
175 \widowpenalty=500
176 \clubpenalty=500
177 \frenchspacing
178 \raggedbottom
179 \usepackage{unicodefonttable}