summaryrefslogtreecommitdiff
path: root/fonts/junicode/doc/junicode-package.tex
blob: 221c9171ff56b64099a93361e00fa9569ca58890 (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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
\documentclass{article}
\usepackage[medium,semiexpanded]{Junicode}
\usepackage{microtype}
\usepackage{multicol}
\usepackage{supertabular}
\linespread{1.1}
\title{Junicode}
\author{Peter S. Baker}
\date{}
\begin{document}
\maketitle

\section{Introduction}

This package supports the Junicode static fonts (version 2.204 or higher)
for XeLaTeX and LuaLaTeX. The current version of the Junicode font should
be installed in your system. If the font is included in your TeX installation,
it is an obsolete version: you should remove it if possible. This package loads
fontspec, so it is not necessary to load it separately, even if you are using
other fonts alongside Junicode.

\section{Loading Junicode}

Load Junicode in the usual way, with {\small\verb|\usepackage{Junicode}|}. Several options are available:

\begin{description}
\item[fonttype] The type of font to look for, CFF or TrueType. These font types differ in the
way they draw outlines, and their hinting technologies are very different. Values may be otf
(the default) or ttf, e.g.\\
\hspace*{1in}{\small\verb|\usepackage[fonttype=ttf]{Junicode}|}
\item[light] The weight of the type for the main text is Light instead of Regular.
\item[medium] The weight of the type for the main text is Medium, somewhat heavier than Regular.
\item[semibold] The weight of bold type is somewhat lighter than the usual bold. This may be a
good choice if you have selected the light option.
\item[condensed] The width of the type is narrow. Note that bold type cannot be condensed: when
this option is selected, any bold type in the text will have normal width.
\item[semicondensed] The width of the type is wider than condensed but narrower than the default.
Note that bold type cannot be semicondensed: when this option is selected, any bold type in the
text will have normal width.
\item[expanded] The width of the type is wide. Note that light type cannot be expanded: using
both the light and the expanded options will produce an error.
\item[semiexpanded] The width of the type is wider than the default but narrower than expanded.
Note that light type cannot be semiexpanded: using both the light and the semiexpanded options
will produce an error.
\end{description}

\section{Selecting Alternate Styles}

The Junicode font comes in thirty-eight styles: nineteen roman and nineteen italic. You can
switch to any of these styles with one of the following commands, which will be self-explanatory
if you keep these abbreviations in mind: Sm = Semi, Cond = Condensed, Exp = Expanded.

\begin{multicols}{3}
    \jCond\textbackslash jBold

    \textbackslash jBoldItalic
    
    \textbackslash jCond
    
    \textbackslash jCondItalic
    
    \textbackslash jCondLight
    
    \textbackslash jCondLightItalic
    
    \textbackslash jCondMedium
    
    \textbackslash jCondMediumItalic
    
    \textbackslash jExp
    
    \textbackslash jExpItalic
    
    \textbackslash jExpBold
    
    \textbackslash jExpBoldItalic
    
    \textbackslash jExpMedium
    
    \textbackslash jExpMediumItalic
    
    \textbackslash jExpSmbold
    
    \textbackslash jExpSmboldItalic
    
    \textbackslash jItalic
    
    \textbackslash jLight
    
    \textbackslash jLightItalic
    
    \textbackslash jMedium
    
    \textbackslash jMediumItalic
    
    \textbackslash jRegular
    
    \textbackslash jSmbold
    
    \textbackslash jSmboldItalic
    
    \textbackslash jSmCond
    
    \textbackslash jSmCondItalic
    
    \textbackslash jSmCondLight
    
    \textbackslash jSmCondLightItalic
    
    \textbackslash jSmCondMedium
    
    \textbackslash jSmCondMediumItalic
    
    \textbackslash jSmExp
    
    \textbackslash jSmExpItalic
    
    \textbackslash jSmExpBold
    
    \textbackslash jSmExpBoldItalic
    
    \textbackslash jSmExpMedium
    
    \textbackslash jSmExpMediumItalic
    
    \textbackslash jSmExpSmbold
    
    \textbackslash jSmExpSmboldItalic    
\end{multicols}

\section{Other Commands}

These commands do nothing more than wrap fontspec commands, which can still be
used with the Junicode package and are actually needed if you want to take full
advantage of the Junicode font’s features. Some of these commands are more mnemonic
than the corresponding fontspec commands, and others are more compact. Each command
also has a corresponding “text” command that works like 
{\small\verb|\textit{}|}—that is, it takes
as its sole argument the text to which the command will be applied. Each “text” command
consists of the main command with “text” prefixed—for example,
{\small\verb|\textInsularLetterForms{}|}
corresponding to {\small\verb|\InsularLetterForms|}.  For a fuller account of the OpenType features
applied by these commands, see Chapter 4, Feature Reference.

\begin{center}
\tablehead{\hline}
\tabletail{\hline}
\begin{supertabular}{| l | p{2.75in} |}
\textbackslash AltThornEth & Applies ss01, Alternate thorn and eth.\\\hline
\textbackslash InsularLetterForms & Applies ss02, Insular letter-forms.
This has an effect only with English and Irish text.\\\hline
\textbackslash IPAAlternates & Applies ss03, IPA alternates.\\\hline
\textbackslash HighOverline & Applies ss04, High Overline.\\\hline
\textbackslash MediumHighOverline & Applies ss05, Medium-high Overline.\\\hline
\textbackslash EnlargedMinuscules & Applies ss06, Enlarged minuscules.\\\hline
\textbackslash Underdotted & Applies ss07, Underdotted.\\\hline
\textbackslash ContextualLongS & Applies ss08, Contextual long s. This should be used only in English or
French text. With other languages it simply converts all instances of s to ſ.\\\hline
\textbackslash AlternateFigures & Applies ss09, Alternate Figures.\\\hline
\textbackslash EntitiesAndTags & Applies ss10, Entities and Tags.\\\hline
\textbackslash EarlyEnglishFuthorc & Applies ss12, Early English Futhorc.\\\hline
\textbackslash ElderFuthark & Applies ss13, Elder Futhark.\\\hline
\textbackslash YoungerFuthark & Applies ss14, Younger Futhark.\\\hline
\textbackslash LongBranchToShortTwig & Applies ss15, Long Branch to Short Twig.\\\hline
\textbackslash ContextualRRotunda & Applies ss16, Contextual r rotunda.\\\hline
\textbackslash RareDigraphs & Applies ss17, Rare Digraphs.\\\hline
\textbackslash OldStylePunctuation & Applies ss18, Old-style Punctuation.\\\hline
\textbackslash LatinToGothic & Applies ss19, Latin to Gothic.\\\hline
\textbackslash LowDiacritics & Applies ss20, Low Diacritics.\\\hline
\textbackslash jcv, \textbackslash textcv & Applies any Character Variant feature (see below).\\
\end{supertabular}
\end{center}

\noindent The syntax of \textbackslash jcv
is {\small\verb|\jcv[num]{num}|}, where the second (required) argument is the number of the Character Variant feature,
and the first (optional) argument is an index into the variants provided by that feature (starting with zero, the default).
\textbackslash textcv takes an additional required argument ({\small\verb|\textcv[num]{num}{text}|}—the text to which the
feature should be applied.

Character Variant features can also be selected with mnemonics, listed below. For example, a feature for
lowercase \textbf{a} can be expressed as {\small\verb|\textcv[2]{\jcva}{a}|}, yielding \textbf{\textcv[2]{\jcva}{a}}.

\begin{multicols}{3}
\jCond\textbackslash jcvA

\textbackslash jcva

\textbackslash jcvB

\textbackslash jcvb

\textbackslash jcvC

\textbackslash jcvc

\textbackslash jcvD

\textbackslash jcvd

\textbackslash jcvE

\textbackslash jcve

\textbackslash jcvF

\textbackslash jcvf

\textbackslash jcvG

\textbackslash jcvg

\textbackslash jcvH

\textbackslash jcvh

\textbackslash jcvI

\textbackslash jcvi

\textbackslash jcvJ

\textbackslash jcvj

\textbackslash jcvK

\textbackslash jcvk

\textbackslash jcvL

\textbackslash jcvl

\textbackslash jcvM

\textbackslash jcvm

\textbackslash jcvN

\textbackslash jcvn

\textbackslash jcvO

\textbackslash jcvo

\textbackslash jcvP

\textbackslash jcvp

\textbackslash jcvQ

\textbackslash jcvq

\textbackslash jcvR

\textbackslash jcvr

\textbackslash jcvS

\textbackslash jcvs

\textbackslash jcvT

\textbackslash jcvt

\textbackslash jcvU

\textbackslash jcvu

\textbackslash jcvV

\textbackslash jcvv

\textbackslash jcvW

\textbackslash jcvw

\textbackslash jcvX

\textbackslash jcvx

\textbackslash jcvY

\textbackslash jcvy

\textbackslash jcvZ

\textbackslash jcvz

\textbackslash jcvaa

\textbackslash jcvAE

\textbackslash jcvae

\textbackslash jcvAO

\textbackslash jcvao

\textbackslash jcvAogonek

\textbackslash jcvaogonek

\textbackslash jcvASCIItilde

\textbackslash jcvasterisk

\textbackslash jcvav

\textbackslash jcvbrevebelow

\textbackslash jcvcombiningdieresis

\textbackslash jcvcombiningdoublemacron

\textbackslash jcvcombininginsulard

\textbackslash jcvcombiningopena

\textbackslash jcvcombiningoverline

\textbackslash jcvcombiningrrotunda

\textbackslash jcvcombiningzigzag

\textbackslash jcvcomma

\textbackslash jcvcurrency

\textbackslash jcvdbar

\textbackslash jcvdcroat

\textbackslash jcvEng

\textbackslash jcvEogonek

\textbackslash jcvetabbrev

\textbackslash jcvexclam

\textbackslash jcvflorin

\textbackslash jcvGermanpenny

\textbackslash jcvglottal

\textbackslash jcvlb

\textbackslash jcvlhighstroke %somehow escaped the documentation

\textbackslash jcvmacron

\textbackslash jcvmiddot

\textbackslash jcvoPolish

\textbackslash jcvounce

\textbackslash jcvperiod

\textbackslash jcvpunctuselevatus

\textbackslash jcvquestion

\textbackslash jcvrum

\textbackslash jcvsemicolon

\textbackslash jcvslash

\textbackslash jcvspacingusabbrev

\textbackslash jcvspacingzigzag

\textbackslash jcvsterling

\textbackslash jcvthorncrossed

\textbackslash jcvTironianEt

\textbackslash jcvYogh
\end{multicols}

\end{document}