summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/casiofont/casiofont.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/casiofont/casiofont.tex')
-rw-r--r--macros/latex/contrib/casiofont/casiofont.tex235
1 files changed, 235 insertions, 0 deletions
diff --git a/macros/latex/contrib/casiofont/casiofont.tex b/macros/latex/contrib/casiofont/casiofont.tex
new file mode 100644
index 0000000000..7d5aef7089
--- /dev/null
+++ b/macros/latex/contrib/casiofont/casiofont.tex
@@ -0,0 +1,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} \ No newline at end of file