summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tiscreen
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-02 03:04:23 +0000
committerNorbert Preining <norbert@preining.info>2021-06-02 03:04:23 +0000
commit138d0a6cfd5f2187973fb6b83ad2fb0dcf5a8348 (patch)
treea95fba7d01d57bba550f5114c936ec76d57a49ac /macros/latex/contrib/tiscreen
parent0f69e2fd4a9928663f0cc64b8cac1f0d8baee9d6 (diff)
CTAN sync 202106020304
Diffstat (limited to 'macros/latex/contrib/tiscreen')
-rw-r--r--macros/latex/contrib/tiscreen/README2
-rw-r--r--macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdfbin121968 -> 131993 bytes
-rw-r--r--macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex34
-rw-r--r--macros/latex/contrib/tiscreen/tex/tiscreen.sty10
4 files changed, 31 insertions, 15 deletions
diff --git a/macros/latex/contrib/tiscreen/README b/macros/latex/contrib/tiscreen/README
index 55292264d4..651328b28e 100644
--- a/macros/latex/contrib/tiscreen/README
+++ b/macros/latex/contrib/tiscreen/README
@@ -1,10 +1,10 @@
tiscreen (TI calculator screen)
-v1.0.1
This package mimics the screen of older Texas instruments dot matrix display
calculators, specifically the TI-82 STATS.
Changes:
+- 2021/06/01 Added more characters
- 2021/05/21 Minor README and documentation issues
- 2021/05/17 Initial version
diff --git a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdf b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdf
index de6991dc04..dfb03700e2 100644
--- a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdf
+++ b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex
index 22baf4949b..adf8b59ca3 100644
--- a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex
+++ b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex
@@ -71,7 +71,7 @@
\section{Package option(s)}
\subsection{Color}
Using the \texttt{color} option will change the colors used by the
-\texttt{\textbackslash LCD} command. The colors are defined as
+\textbackslash\texttt{LCD} command. The colors are defined as
\texttt{tiscreenfg} (foreground. i.e. font color) and \texttt{tiscreenbg}
(background). These colors can be redefined like this:
@@ -102,26 +102,34 @@ or by using the original {\textbackslash LCD} command.
\section{Additional defined characters} \LCDcolors{black}{white}
\begin{tabular}{l|l|l}
- Name & Symbol & Code \\
+ Name & Symbol & Code \\
\hline
- E (scientific notation) & \LCDsymb{sciE} & \LCDcode{sciE} \\
- Sigma (lowercase) & \LCDsymb{sigma} & \LCDcode{sigma} \\
- $\bar x$ & \LCDsymb{barx} & \LCDcode{barx} \\
- $\bar y$ & \LCDsymb{bary} & \LCDcode{bary} \\
- $^\wedge 2$ (square root) & \LCDsymb{sq} & \LCDcode{sq} \\
- $^\wedge (-1)$ & \LCDsymb{ar} & \LCDcode{ar} \\
+ E (scientific notation) & \LCDsymb{sciE} & \LCDcode{sciE} \\
+ Sigma (lowercase) & \LCDsymb{sigma} & \LCDcode{sigma} \\
+ $\bar x$ & \LCDsymb{barx} & \LCDcode{barx} \\
+ $\bar y$ & \LCDsymb{bary} & \LCDcode{bary} \\
+ $^\wedge 2$ (power of two) & \LCDsymb{sq} & \LCDcode{sq} \\
+ $^\wedge (-1)$ & \LCDsymb{ar} & \LCDcode{ar} \\
+ $_1$ & \LCDsymb{sub1} & \LCDcode{sub1} \\
+ $_2$ & \LCDsymb{sub2} & \LCDcode{sub2} \\
+ $_3$ & \LCDsymb{sub3} & \LCDcode{sub3} \\
+ $_4$ & \LCDsymb{sub4} & \LCDcode{sub4} \\
+ $_5$ & \LCDsymb{sub5} & \LCDcode{sub5} \\
+ $_6$ & \LCDsymb{sub6} & \LCDcode{sub6} \\
\end{tabular}
\subsection{Redefined characters}
Predefined characters that where redefined to match the TI-82 STATS.
\begin{tabular}{l|l|l}
- Name & Symbol & Code \\
+ Name & Symbol & Code \\
\hline
- e & \LCDsymb{e} & \texttt{e} \\
- i & \LCDsymb{i} & \texttt{i} \\
- Square root & \LCDsymb{sqrt} & \LCDcode{sqrt} \\
- ! & \LCDsymb{!} & \LCDcode{!} \\
+ ! & \LCDsymb{!} & \LCDcode{!} \\
+ $\sqrt{\hphantom{0}}$ (Square root) & \LCDsymb{sqrt} & \LCDcode{sqrt} \\
+ e & \LCDsymb{e} & \texttt{e} \\
+ i & \LCDsymb{i} & \texttt{i} \\
+ v & \LCDsymb{v} & \texttt{v} \\
+ w & \LCDsymb{w} & \texttt{w} \\
\end{tabular}
\end{document}
diff --git a/macros/latex/contrib/tiscreen/tex/tiscreen.sty b/macros/latex/contrib/tiscreen/tex/tiscreen.sty
index 45c2b46292..e227e11bac 100644
--- a/macros/latex/contrib/tiscreen/tex/tiscreen.sty
+++ b/macros/latex/contrib/tiscreen/tex/tiscreen.sty
@@ -13,18 +13,26 @@
\def\tiscreenY{8}
\RequirePackage{lcd}
-% Undefine
+% Define
\DefineLCDchar{barx}{11111000001000101010001000101010001}
\DefineLCDchar{bary}{11111000001000110001011110000101110}
\DefineLCDchar{ar}{00011000011100100001000010000000000}
\DefineLCDchar{sciE}{00000000000111101000011100100001111}
\DefineLCDchar{sigma}{00000000000111110010100101001001100}
\DefineLCDchar{sq}{01100000100010001000011100000000000}
+\DefineLCDchar{sub1}{00000000000010001100001000010000100}
+\DefineLCDchar{sub2}{00000000000110000010001000100001110}
+\DefineLCDchar{sub3}{00000000000110000010001000001001100}
+\DefineLCDchar{sub4}{00000000000100001010011100001000010}
+\DefineLCDchar{sub5}{00000000000111001000011000001001100}
+\DefineLCDchar{sub6}{00000000000011001000011100101001110}
% Redefine
\DefineLCDchar{sqrt}{00111001000010000100101000110000100}
\DefineLCDchar{!}{00100001000010000100000000010000100}
\DefineLCDchar{e}{00000000000111010001111101000001100}
\DefineLCDchar{i}{01000000001100001000010000101000100}
+\DefineLCDchar{w}{00000000001000110001101011010101010}
+\DefineLCDchar{v}{00000000001000110001100010101000100}
\RequirePackage{xcolor}
\definecolor{tiscreenfg}{HTML}{000000}