texlive[59247] Master: tiscreen (17may21)

commits+karl at tug.org commits+karl at tug.org
Mon May 17 22:45:43 CEST 2021


Revision: 59247
          http://tug.org/svn/texlive?view=revision&revision=59247
Author:   karl
Date:     2021-05-17 22:45:42 +0200 (Mon, 17 May 2021)
Log Message:
-----------
tiscreen (17may21)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/libexec/ctan2tds
    trunk/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/tiscreen/
    trunk/Master/texmf-dist/doc/latex/tiscreen/README
    trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.pdf
    trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.tex
    trunk/Master/texmf-dist/tex/latex/tiscreen/
    trunk/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty
    trunk/Master/tlpkg/tlpsrc/tiscreen.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/tiscreen/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tiscreen/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tiscreen/README	2021-05-17 20:45:42 UTC (rev 59247)
@@ -0,0 +1,15 @@
+tiscreen (TI calculator screen)
+v1.0
+
+This package mimics the screen of older Texas instruments dot matrix display
+calculators, specifically the TI-82 STATS.
+
+Changes:
+- 2021/05/17 Initial version
+
+For more information, please see the documentation.
+
+Copyright 2021
+This work may be distributed and/or modified under the conditions of the LaTeX
+Project Public License, either version 1.3c or higher. The latest version the
+license is at: http://www.latex-project.org/lppl.txt


Property changes on: trunk/Master/texmf-dist/doc/latex/tiscreen/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.pdf	2021-05-17 20:44:32 UTC (rev 59246)
+++ trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.pdf	2021-05-17 20:45:42 UTC (rev 59247)

Property changes on: trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.tex	2021-05-17 20:45:42 UTC (rev 59247)
@@ -0,0 +1,127 @@
+\documentclass[a4paper,12pt]{article}
+\usepackage[margin=1in]{geometry}
+\usepackage[english]{babel}
+\usepackage{parskip}
+\usepackage[color]{tiscreen}
+\usepackage{multicol}
+
+\usepackage{listings}
+\lstset{
+	numbers=left, numberstyle=\tiny,
+	frame=single,
+	basicstyle=\footnotesize\ttfamily,
+	language=Tex,
+}
+
+\newcommand{\LCDsymb}[1]{\large \textLCD{1}|{#1}~|}
+\newcommand{\LCDcode}[1]{\texttt{\{#1\}}}
+
+\title{TI calculator display\\{\small(TI-82 STATS)}}
+\author{Mustafa Ibrahim}
+\date{2021/05/17}
+
+\begin{document}
+
+\maketitle
+\begin{center}
+\tiscreen
+|10^6*(4^7+1){rarrow}X  |
+|       1.6385E10|
+|{sqrt}(X)*X/10!      |
+|     577971782.1|
+|cos{ar}(cos(Ans))  |
+|        62.11246|
+|{fcur}               |
+|                |
+\end{center}
+\tableofcontents
+\newpage
+
+\section{Quickstart}
+\tiscreen
+|4+1             |
+|               5|
+|Ans{sq}            |
+|              25|
+|                |
+|                |
+|                |
+|                |
+
+\begin{lstlisting}
+\documentclass{article}
+\usepackage[color]{tiscreen}
+% Remove 'color' to display in back and white
+
+\begin{document}
+
+\tiscreen
+|4+1             |
+|               5|
+|Ans{sq}            |
+|              25|
+|                |
+|                |
+|                |
+|                |
+
+\end{document}
+\end{lstlisting}
+
+\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
+\texttt{tiscreenfg} (foreground. i.e. font color) and \texttt{tiscreenbg}
+(background). These colors can be redefined like this:
+
+\begin{lstlisting}
+% Add this to your preamble
+\definecolor{tiscreenbg}{HTML}{5d9345}
+\definecolor{tiscreenfg}{HTML}{FFFFFF}
+\end{lstlisting}
+
+\section{LCD size}
+The default LCD size is $8\times 16$ (the size of the TI-82 STATS). It can be
+changed by redefining the variables used to determine the size of the display
+or by using the original {\textbackslash LCD} command.
+
+\begin{lstlisting}
+% First method:
+\def\tiscreenX{16}
+\def\tiscreenY{8}
+
+% Second method:
+\LCD{5}{11}
+|ANOTHER  |
+|EXAMPLE  |
+|WITH A   |
+|DIFFERENT|
+|SIZE     |
+\end{lstlisting}
+
+\section{Additional defined characters} \LCDcolors{black}{white}
+\begin{tabular}{l|l|l}
+	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} \\
+\end{tabular}
+
+\subsection{Redefined characters}
+Predefined characters that where redefined to match the TI-82 STATS.
+
+\begin{tabular}{l|l|l}
+	Name & Symbol & Code \\
+	\hline
+	e & \LCDsymb{e} & \texttt{e} \\
+	i & \LCDsymb{i} & \texttt{i} \\
+	Square root & \LCDsymb{sqrt} & \LCDcode{sqrt} \\
+	! & \LCDsymb{!} & \LCDcode{!} \\
+\end{tabular}
+
+\end{document}


Property changes on: trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty	2021-05-17 20:45:42 UTC (rev 59247)
@@ -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}}


Property changes on: trunk/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2021-05-17 20:44:32 UTC (rev 59246)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2021-05-17 20:45:42 UTC (rev 59247)
@@ -770,7 +770,7 @@
     tikzscale tikzsymbols
     tikztosvg tile-graphic
     timbreicmc times timetable timing-diagrams tinos tipa tipa-de tipauni tipfr
-    titlecaps titlefoot titlepages titlepic titleref titlesec titling
+    tiscreen titlecaps titlefoot titlepages titlepic titleref titlesec titling
     tkz-base tkz-berge tkz-doc tkz-euclide tkz-fct tkz-graph tkz-tab
     tkz-orm tikz-page
     tlc-article tlc2 tlcockpit tlmgr-intro-zh-cn tlmgrbasics

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2021-05-17 20:44:32 UTC (rev 59246)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2021-05-17 20:45:42 UTC (rev 59247)
@@ -1328,6 +1328,7 @@
  'timing',      "die 'skipping, noinfo license, 1994 mf'",
  'tipa',        "&MAKEflatten",
  'tipfr',       "&MAKEflatten",
+ 'tiscreen',	"&MAKEflatten",
  'titlepage-uni-dortmund', "die 'skipping, needs graphics (too short names) in .'",
  'titleps',     "die 'skipping, use titlesec'",
  'tkhyph',      "die 'skipping, part of hyph-utf8'",

Modified: trunk/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc	2021-05-17 20:44:32 UTC (rev 59246)
+++ trunk/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc	2021-05-17 20:45:42 UTC (rev 59247)
@@ -210,6 +210,7 @@
 depend textgreek
 depend textopo
 depend thmbox
+depend tiscreen
 depend turnstile
 depend ulqda
 depend unitsdef

Added: trunk/Master/tlpkg/tlpsrc/tiscreen.tlpsrc
===================================================================


More information about the tex-live-commits mailing list.