summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/casiofont/casiofont.tex
blob: 7d5aef7089f0a8ac3f66e20ee95b08b6b50bec17 (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
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage[sf,small]{titlesec}
\usepackage{titling}
\setlength{\droptitle}{-.5in}
\usepackage{caption}
\usepackage{casiofont}
\newcommand\csdisplay[1]{{\ttfamily\textbackslash#1}}
\usepackage{array}
\usepackage{collcell}
\usepackage{multicol,longtable}
\newcolumntype{L}{>{\collectcell\csdisplay}l<{\endcollectcell}}
\newcolumntype{C}{>{\casio}l}
\newenvironment{fonttable}{\begin{center}}{\end{center}}
\setlength{\extrarowheight}{3pt}
\usepackage[colorlinks]{hyperref}
\title{The \texttt{casiofont} package}
\author{Alan Munn\\\url{amunn@msu.edu}}
\date{Version 1.1\\October 22, 2018}
\begin{document}
\maketitle
This package provides support for the \href{https://edu.casio.com/forteachers/er/fontsets/index.php}{Casio ClassWiz} font, available from the Casio web site.  The font itself is \emph{not} included in the distribution.  This package arose out of a question on Stackexchange: \href{https://tex.stackexchange.com/q/434335/2693}{Easiest way to create TeX macro/code to access symbols from particular font?}
The package requires compilation with XeLaTeX or LuaLaTeX.
\section*{Installation}
\begin{description}
\item[MikTeX]{The package is included in MikTeX and should be installed normally using the MikTeX package manager if it is not already installed.}
\item[TeX Live]{Because TeX Live has much stricter licensing requirements, the package is not included in TeX Live because it provides support for a non-free (in the Free Software sense) font. You must therefore install the package yourself in your local \texttt{texmf} directory.  To do this make two directories (folders): \texttt{texmf/tex/latex/casiofont} and \texttt{texmf/doc/casiofont}. Put \texttt{casiofont.sty} into the \texttt{texmf/tex/latex/casiofont} directory, and \texttt{casiofont.pdf} into the \texttt{texmf/doc/casiofont} directory.}
\end{description}
\section*{Support}
The package is hosted at \href{https://github.com/amunn/casiofont}{GitHub}. I welcome suggestions for better names, since I don't use the calculator myself. Thanks to Chen Stats Yu for giving names to the unknown characters in version 1.0.

\clearpage
\section*{Character commands (roughly sorted)}
\begin{fonttable}
\captionof{table}{Calculator Functions}
\begin{tabular}{LCLCLC}
casioAC  &  \casioAC   &
Alpha  &  \Alpha &
Ans  &  \Ans  \\
Calc  &  \Calc   &
casioAC  &  \casioAC   &
Eng  &  \Eng   \\
LineFrac  &  \LineFrac   &
Menu  &  \Menu   &
MixedFrac  &  \MixedFrac   \\
Mminus  &  \Mminus   &
Mplus  &  \Mplus   &
Optn  &  \Optn  \\
Setup  &  \Setup   &
Simp  &  \Simp   &
Sto  &  \Sto 
\end{tabular}
\end{fonttable}
\begin{fonttable}

\captionof{table}{Movement and arrows}
\begin{tabular}{LCLCLC}
BackArrow  &  \BackArrow   &
DownArrow  &  \DownArrow   &
LeftArrow  &  \LeftArrow  \\
RightArrow  &  \RightArrow  &
UpArrow  &  \UpArrow &
Shift  &  \Shift   \\
Del  &  \Del   
\end{tabular}
\end{fonttable}

\begin{fonttable}
\captionof{table}{Mathematical Functions}
\begin{tabular}{LCLCLC}
Abs  &  \Abs   &
casioCos  &  \casioCos   \\
casioLn  &  \casioLn   &
casioLog  &  \casioLog   &
casioSin  &  \casioSin  \\
casioTan  &  \casioTan   &
InverseCos  &  \InverseCos   &
InverseSin & \InverseSin \\
InverseTan  &  \InverseTan   &
logParen  &  \logParen   &
Sen  &  \Sen
\end{tabular}
\end{fonttable}

\begin{fonttable}
\captionof{table}{Calculus}
\begin{tabular}{LCLCLC}
casioIntegral  &  \casioIntegral   &
casioProd  &  \casioProd   &
casioSum  &  \casioSum   \\
dydx  &  \dydx  
\end{tabular}
\end{fonttable}

\begin{fonttable}
\captionof{table}{Roots and Exponents}
\begin{tabular}{LCLCLC}
Cube  &  \Cube   &
CubeParen  &  \CubeParen   &
CubeRoot  &  \CubeRoot   \\
eExp  &  \eExp   &
nExp  &  \nExp   &
nLog  &  \nLog   \\
nRoot  &  \nRoot   &
nTen  &  \nTen   &
SquareRoot  &  \SquareRoot  
\end{tabular}
\end{fonttable}

\begin{fonttable}
\captionof{table}{Misc Math Functions}
\begin{tabular}{LCLCLC}
Factorial  &  \Factorial   &
Inverse  &  \Inverse   &
InverseParen  &  \InverseParen   \\
xTenx  &  \xTenx   &
divR  &  \divR  
\end{tabular}
\end{fonttable}

\begin{fonttable}
\captionof{table}{Basic Math Operators}
\begin{tabular}{LCLCLC}
Divide  &  \Divide   &
Equal  &  \Equal  &
Minus  &  \Minus   \\
Percent  &  \Percent   &
Plus  &  \Plus   &
Sim  &  \Sim   \\
Times  &  \Times 
\end{tabular}
\end{fonttable}

\begin{fonttable}

\captionof{table}{Variables and constants}
\begin{tabular}{LCLCLCLC}
casioPi  &  \casioPi   &
casioX  &  \casioX   &
casioY  &  \casioY   &
iParen  &  \iParen  
\end{tabular}
\end{fonttable}
\begin{fonttable}

\captionof{table}{Other Symbols}
\begin{tabular}{LCLCLC}
InverseParen  &  \InverseParen   &
angleParen  &  \angleParen   &
casioComma  &  \casioComma   \\
casioDblParen  &  \casioDblParen   &
casioDot  &  \casioDot   &
casioLParen  &  \casioLParen   \\
casioObar  &  \casioObar   &
casioOdot  &  \casioOdot   &
casioRParen  &  \casioRParen   \\
CommaParen  &  \CommaParen   &
DegRadGrad  &  \DegRadGrad  
\end{tabular}
\end{fonttable}

\begin{fonttable}

\captionof{table}{Fractions}
\begin{tabular}{LCLC}
Frac  &	 \Frac &
FracMult &	 \FracMult 
\end{tabular}
\end{fonttable}



\begin{fonttable}

\captionof{table}{Digits}
\begin{tabular}{LCLCLC}
Zero  &  \Zero   &
One  &  \One   &
Two  &  \Two  \\
Three  &  \Three   &
Four  &  \Four   &
Five  &  \Five   \\
Six  &  \Six   &
Seven  &  \Seven   &
Eight  &  \Eight  \\
Nine  &  \Nine  
\end{tabular}
\end{fonttable}

\begin{fonttable}

\captionof{table}{CJK Keys}
\begin{tabular}{LCLC}
CJKMenu 	& \CJKMenu &
CJKOn 	 \CJKOn 
\end{tabular}
\end{fonttable}

\clearpage
\begin{fonttable}
\captionof{table}{Alphabetical List}
\begin{tabular}{LCLCLC}
Abs 	&	 \Abs 	&	Cube 	&	 \Cube 	&	minusParen 	&	 \minusParen 	\\
Alpha 	&	 \Alpha 	&	CubeParen 	&	 \CubeParen 	&	MixedFrac 	&	 \MixedFrac 	\\
angleParen 	&	 \angleParen	&	CubeRoot 	&	 \CubeRoot 	&	Mminus 	&	 \Mminus 	\\
Ans 	&	 \Ans 	&	DegRadGrad 	&	 \DegRadGrad 	&	Mplus 	&	 \Mplus 	\\
BackArrow 	&	 \BackArrow 	&	Del 	&	 \Del 	&	nExp 	&	 \nExp 	\\
Calc 	&	 \Calc 	&	Divide 	&	 \Divide 	&	Nine 	&	 \Nine 	\\
casioAbs 	&	 \casioAbs 	&	divR 	&	 \divR 	&	nLog 	&	 \nLog 	\\
casioAC 	&	 \casioAC 	&	DownArrow 	&	 \DownArrow 	&	nRoot 	&	 \nRoot 	\\
casioComma 	&	 \casioComma 	&	dydx 	&	 \dydx 	&	nTen 	&	 \nTen 	\\
casioCos 	&	 \casioCos 	&	eExp 	&	 \eExp 	&	One 	&	 \One 	\\
casioDblParen 	&	 \casioDblParen 	&	Eight 	&	 \Eight 	&	Optn 	&	 \Optn 	\\
casioDot 	&	 \casioDot 	&	Eng 	&	 \Eng 	&	Percent 	&	 \Percent 	\\
casioIntegral 	&	 \casioIntegral 	&	Equal 	&	 \Equal 	&	Plus 	&	 \Plus 	\\
casioLn 	&	 \casioLn 	&	Factorial 	&	 \Factorial 	&	RightArrow 	&	 \RightArrow 	\\
casioLog 	&	 \casioLog 	&	Five 	&	 \Five 	&	Sen 	&	 \Sen 	\\
casioLParen 	&	 \casioLParen 	&	Four 	&	 \Four 	&	Setup 	&	 \Setup 	\\
casioObar 	&	 \casioObar 	&	Frac 	&	 \Frac 	&	Seven 	&	 \Seven 	\\
casioOdot 	&	 \casioOdot 	&	FracMult 	&	 \FracMult 	&	Shift 	&	 \Shift 	\\
casioPi 	&	 \casioPi 	&	Inverse 	&	 \Inverse 	&	Sim 	&	 \Sim 	\\
casioProd 	&	 \casioProd 	&	InverseCos 	&	 \InverseCos 	&	Simp 	&	 \Simp 	\\
casioRParen 	&	 \casioRParen 	&	InverseParen 	&	 \InverseParen 	&	Six 	&	 \Six 	\\
casioSin 	&	 \casioSin 	&	InverseSin 	&	 \InverseSin 	&	SquareRoot 	&	 \SquareRoot 	\\
casioSum 	&	 \casioSum 	&	InverseTan 	&	 \InverseTan 	&	Sto 	&	 \Sto 	\\
casioTan 	&	 \casioTan 	&	iParen 	&	 \iParen 	&	switchMixedFrac 	&	 \switchMixedFrac 	\\
casioX 	&	 \casioX 	&	LeftArrow 	&	 \LeftArrow 	&	Three 	&	 \Three 	\\
casioY 	&	 \casioY 	&	LineFrac 	&	 \LineFrac 	&	Times 	&	 \Times 	\\
CJKMenu 	&	 \CJKMenu	&	logParen 	&	 \logParen 	&	Two 	&	 \Two 	\\
CJKOn 	&	 \CJKOn 	&	Menu 	&	 \Menu 	&	UpArrow 	&	 \UpArrow 	\\
CommaParen 	&	 \CommaParen 	&	Minus 	&	 \Minus 	&	xTenx 	&	 \xTenx 	\\
\multicolumn{4}{c}{} &							Zero 	&	 \Zero 	\\
\end{tabular}
\end{fonttable}
\end{document}