summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/junicode/junicode-package.tex
blob: 8bfd429b4fa12392d330455977cdeb6dde6e3094 (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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
\documentclass{article}
\usepackage[
    medium,
    semiexpanded,
    SmCondLightFeatures={
        Language=English,
        StylisticSet=8
    }
]{junicode}
\usepackage{microtype}
\usepackage{multicol}
\usepackage{supertabular}
\usepackage{metalogo}
s\setmonofont{Fira Mono}[Scale=MatchLowercase,Numbers=Lowercase]
\setsansfont{Fira Sans}[Scale=MatchLowercase,Numbers=Lowercase]
\newcommand{\fspec}{{\sffamily fontspec}}
\linespread{1.1}
\tolerance=1500
\title{Junicode}
\author{Peter S. Baker}
\date{\today}
\begin{document}
\maketitle

\section{Introduction}

This package supports the Junicode static fonts (version 2.204 or higher)
for {\XeLaTeX} and {\LuaLaTeX}. If your {\TeX} installation has an older version of
Junicode (probably version 1.002), you should upgrade to the latest version.
This package loads
\fspec, 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 {\verb|\usepackage{junicode}|}. Several options are available:

\begin{description}
%\item[fonttype] The type of font to look for, \textbf{otf} (the default) or \textbf{ttf}.
%These font types differ in the
%way they draw outlines, and their hinting technologies are very different. They may look subtly
%different on a computer screen. Example:\\
%\hspace*{1in}{\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.
The main text in this document is set in Junicode Medium.
\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 \textbf{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 \textbf{light} and the \textbf{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 \textbf{light} and the \textbf{semiexpanded} options
will produce an error.
\item[proportional] Numbers in the document will be proportionally spaced. This is the default.
\item[tabular] Numbers will be tabular (or monospaced).
\item[oldstyle] Numbers will be old-style, harmonizing with lowercase letters.
\item[lining] Numbers will be lining, harmonizing with uppercase letters.
\item[style options] These will be discussed in the next section.
\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}

\noindent You can customize these styles by passing options when you load the package.
The name of each option is based on the corresponding stylename, but without the
prefixed “j” or any suffixed “Italic” (since each of these options
affects both the roman and the matching italic face), and with “Features” suffixed.
The content of the option must be one or more of the {\fspec} features appropriate to
Junicode. For example, this is the {\verb|\usepackage|} command from the preamble to
this document:

\begin{verbatim}
    \usepackage[
        medium,
        semiexpanded,
        SmCondLightFeatures={
            Language=English,
            StylisticSet=8
        }
    ]{junicode}
\end{verbatim}

\noindent After the options for setting the main text, the \textbf{SmCondLightFeatures}
option sets the language to English and turns on Stylistic Set 8 (“Contextual Long s”)
for the semicondensed light face:
{\jSmCondLight \textcv[4]{\jcvf}{self\char"200Clessness}}.

\section{Other Commands}

This package's other commands are offered as conveniences---shorter and more
mnemonic than the {\fspec} commands they invoke (though of course all {\fspec} commands
remain available). Each of these commands
also has a corresponding “text” command that works like 
{\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,
{\verb|\textInsularLetterForms{}|}
corresponding to {\verb|\InsularLetterForms|}.  For a fuller account of the OpenType features
applied by these commands, see Chapter 4 of the \textit{Junicode Manual}, “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.\\\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.\\\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 {\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 ({\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 {\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}