File: class-kerntest.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (107 lines) | stat: -rw-r--r-- 2,088 bytes parent folder | download | duplicates (2)
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
# kerntest package
# Matthew Bertucci 2022/07/20 for v2.4.2

#include:geometry
#include:helvet
#include:calc
#include:longtable
#include:array
#include:color
#include:ifthen
#include:keyval
#include:fontenc
# loads T1 option of fontenc

#keyvals:\documentclass/kerntest#c
family=%<font family%>
#endkeyvals

\kernsetup{options%keyvals}

#keyvals:\documentclass/kerntest#c,\kernsetup
encoding=%<font encoding%>
series=%<font series%>
shape=%<font shape%>
size=##L
baselineskip=##L
designsize=##L
example=%<text%>
papersize=%<geometry papersize%>
extraname=%<fontname extension%>
color#true,false
copyquotation#true,false
writeall#true,false
footer#true,false
#endkeyvals

\begin{kerntable}#\tabular
\end{kerntable}

\testkern{glyph1}{kerning1}{glyph2}{kerning2}{glyph3}
\mtxcomment{comment}

\encodingsetup{options%keyvals}

#keyvals:\encodingsetup
ligaturing=%<number%>
italicizing#true,false
#endkeyvals

\defglyphclass{side}{name}{glyphlist}
\newglyphclass{side}{name}{glyphlist}
\renewglyphclass{side}{name}{glyphlist}
\provideglyphclass{side}{name}{glyphlist}

\firstglyphinclass#S
\forallclasses{side}{glyph class}{action}#*
\forallinclass{side}{name}{glyph}{action}#*
\getclassofglyph{side}{glyph name}#*
\getkern{arg}#*
\getpsname{arg}#*
\getpsunit{arg}#*
\getslotnumber{arg}#*
\ifglyphinclass{side}{name}{glyph}{true}{false}#*
\leftkern#S
\mtxfile#*
\mtxfilename#*
\oldkerna#S
\oldkernb#S
\printglyph{arg}#*
\ProcessOptionsWithKV{family}#S
\psunit#*
\rightkern#S
\round{arg}#*
\saveslotnumber{arg1}{arg2}#*
\stoploop#*
\stoploop[var]#*
\textleft#S
\textright#S
\thisglyphname#S
\writemtxkern[opt]{arg1}{arg2}{arg3}#*
\writemtxkern{arg1}{arg2}{arg3}#*

oldcolor#B
newcolor#B

# from T1 option of fontenc
\DH#n
\dh#n
\dj#n
\DJ#n
\guillemetleft#n
\guillemetright#n
\guillemotleft#*n
\guillemotright#*n
\guilsinglleft#n
\guilsinglright#n
\Hwithstroke#n
\hwithstroke#n
\k{arg}#n
\NG#n
\ng#n
\quotedblbase#n
\quotesinglbase#n
\textogonekcentered{arg}#n
\textquotedbl#n
\th#n
\TH#n