diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-17 20:45:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-17 20:45:42 +0000 |
commit | 898a57f59d62a088d5275d6d4b03a748ec593cab (patch) | |
tree | 9f50b7dab01d512ed8b9eb554ff8b617ec67fd98 /Master/texmf-dist/tex/latex | |
parent | c7c49efc9306695afe0a839544dd11cafbfa57aa (diff) |
tiscreen (17may21)
git-svn-id: svn://tug.org/texlive/trunk@59247 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty b/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty new file mode 100644 index 00000000000..2d911d6b2ec --- /dev/null +++ b/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty @@ -0,0 +1,32 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{tiscreen}[2021/05/17 Ti calculator screen] + +% TODO +% Scaling option + +\def\tiscreenX{16} +\def\tiscreenY{8} + +\RequirePackage{lcd} +% Undefine +\DefineLCDchar{barx}{11111000001000101010001000101010001} +\DefineLCDchar{bary}{11111000001000110001011110000101110} +\DefineLCDchar{ar}{00011000011100100001000010000000000} +\DefineLCDchar{sciE}{00000000000111101000011100100001111} +\DefineLCDchar{sigma}{00000000000111110010100101001001100} +\DefineLCDchar{sq}{01100000100010001000011100000000000} +% Redefine +\DefineLCDchar{sqrt}{00111001000010000100101000110000100} +\DefineLCDchar{!}{00100001000010000100000000010000100} +\DefineLCDchar{e}{00000000000111010001111101000001100} +\DefineLCDchar{i}{01000000001100001000010000101000100} + +\RequirePackage{xcolor} +\definecolor{tiscreenfg}{HTML}{000000} +\definecolor{tiscreenbg}{HTML}{5d9345} + +\DeclareOption{color}{\LCDcolors{tiscreenfg}{tiscreenbg}} +\DeclareOption*{\PackageWarning{tiscreen}{Unknown ‘\CurrentOption’}} +\ProcessOptions\relax + +\newcommand{\tiscreen}{\LCD{\tiscreenY}{\tiscreenX}} |