texlive[60020] Master/texmf-dist: tiscreen (22jul21)

commits+karl at tug.org commits+karl at tug.org
Thu Jul 22 22:41:03 CEST 2021


Revision: 60020
          http://tug.org/svn/texlive?view=revision&revision=60020
Author:   karl
Date:     2021-07-22 22:41:02 +0200 (Thu, 22 Jul 2021)
Log Message:
-----------
tiscreen (22jul21)

Modified Paths:
--------------
    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/tiscreen.sty

Modified: trunk/Master/texmf-dist/doc/latex/tiscreen/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tiscreen/README	2021-07-22 20:40:48 UTC (rev 60019)
+++ trunk/Master/texmf-dist/doc/latex/tiscreen/README	2021-07-22 20:41:02 UTC (rev 60020)
@@ -4,6 +4,7 @@
 calculators, specifically the TI-82 STATS.
 
 Changes:
+- 2021/07/22 Added bracket symbols
 - 2021/06/10 Simplified example code in documentation
 - 2021/06/07 Simplified characters table in documentation
 - 2021/06/01 Added more characters

Modified: trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.tex	2021-07-22 20:40:48 UTC (rev 60019)
+++ trunk/Master/texmf-dist/doc/latex/tiscreen/tiscreen-doc.tex	2021-07-22 20:41:02 UTC (rev 60020)
@@ -6,7 +6,6 @@
 \usepackage[color]{tiscreen}
 \usepackage{multicol}
 \usepackage{hyperref}
-\usepackage{xspace}
 \usepackage{array}
 \usepackage{fancyvrb-ex}
 \fvset{
@@ -18,8 +17,7 @@
 }
 
 \newcommand{\LCDsymb}[1]{\large \textLCD{1}|{#1}~|}
-\newcommand{\LCDcode}[1]{\texttt{\{#1\}}}
-\newcommand{\LCDcmd}{\textbackslash\texttt{LCD}\xspace}
+\newcommand{\LCDcmd}{\texttt{\textbackslash LCD}}
 
 \title{TI calculator display\\{\small(TI-82 STATS)}}
 \author{Mustafa Ibrahim}
@@ -27,6 +25,7 @@
 \begin{document}
 
 \maketitle
+
 \begin{center}
 \tiscreen
 |10^6*(4^7+1){rarrow}X  |
@@ -38,9 +37,9 @@
 |{fcur}               |
 |                |
 \end{center}
-\tableofcontents
-\newpage
 
+\tableofcontents\newpage
+
 \section{Quickstart}
 
 \begin{SideBySideExample}[xrightmargin=6cm]
@@ -57,10 +56,10 @@
 |                |
 \end{SideBySideExample}
 
-
 \section{Package option(s)}
 \subsection{Color}
-Using the \texttt{color} option will change the colors used by the \LCDcmd
+
+Using the \texttt{color} option will change the colors used by the \LCDcmd{}
 command. The colors are defined as \texttt{tiscreenfg} (foreground. i.e. font
 color) and \texttt{tiscreenbg} (background). These colors can be redefined like
 this:
@@ -72,11 +71,11 @@
 \end{Verbatim}
 
 \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
-\LCDcmd command.
 
+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 \LCDcmd{} command.
+
 \begin{Verbatim}
 % First method (For entire document)
 \def\tiscreenX{16}
@@ -92,33 +91,40 @@
 \end{Verbatim}
 
 \section{Additional defined characters} \LCDcolors{black}{white}
-\begin{tabular}{l|l|>{\ttfamily}l}
-	\hline
-	\multicolumn{3}{c}{\textbf{Added characters}} \\
-	\hline \hline
-	Name		& Symbol		&\normalfont{\LCDcmd Code} \\
-	\hline
-	E		& \LCDsymb{sciE}	& \{sciE\} \\
-	$\sigma$	& \LCDsymb{sigma}	& \{sigma\} \\
-	$\bar x$	& \LCDsymb{barx}	& \{barx\} \\
-	$\bar y$	& \LCDsymb{bary}	& \{bary\} \\
-	$x^2$		& \LCDsymb{sq}		& \{sq\} \\
-	$x^{-1}$	& \LCDsymb{ar}		& \{ar\} \\
-	$x_1$		& \LCDsymb{sub1}	& \{sub1\} \\
-	$x_2$		& \LCDsymb{sub2}	& \{sub2\} \\
-	$x_3$		& \LCDsymb{sub3}	& \{sub3\} \\
-	$x_4$		& \LCDsymb{sub4}	& \{sub4\} \\
-	$x_5$		& \LCDsymb{sub5}	& \{sub5\} \\
-	$x_6$		& \LCDsymb{sub6}	& \{sub6\} \\
-	\hline
-	\multicolumn{3}{c}{\textbf{Redefined characters}} \\
-	\hline \hline
-	!		& \LCDsymb{!}		& \{!\} \\
-	$\sqrt{x}$	& \LCDsymb{sqrt}	& \{sqrt\} \\
-	e		& \LCDsymb{e}		& e \\
-	i		& \LCDsymb{i}		& i \\
-	v		& \LCDsymb{v}		& v \\
-	w		& \LCDsymb{w}		& w \\
-\end{tabular}
+\begin{center}
+	\begin{tabular}{|l|l|>{\ttfamily}l|}
+		\multicolumn{3}{c}{\textbf{Added characters}} \\
+		\hline
+		Name       & Symbol          &\textnormal{\LCDcmd{} Code} \\
+		\hline
+		E          & \LCDsymb{sciE}  & \{sciE\} \\
+		$\sigma$   & \LCDsymb{sigma} & \{sigma\} \\
+		$x^2$      & \LCDsymb{sq}    & \{sq\} \\
+		$x^{-1}$   & \LCDsymb{ar}    & \{ar\} \\
+		$y^x$      & \LCDsymb{cx}    & \{cx\} \\
+		$x_1$      & \LCDsymb{sub1}  & \{sub1\} \\
+		$x_2$      & \LCDsymb{sub2}  & \{sub2\} \\
+		$x_3$      & \LCDsymb{sub3}  & \{sub3\} \\
+		$x_4$      & \LCDsymb{sub4}  & \{sub4\} \\
+		$x_5$      & \LCDsymb{sub5}  & \{sub5\} \\
+		$x_6$      & \LCDsymb{sub6}  & \{sub6\} \\
+		$\bar x$   & \LCDsymb{barx}  & \{barx\} \\
+		$\bar y$   & \LCDsymb{bary}  & \{bary\} \\
+		\hline
+		\multicolumn{3}{c}{\textbf{Redefined characters}} \\
+		\hline
+		!          & \LCDsymb{!}     & \{!\} \\
+		\{         & \LCDsymb{lb}    & \{lb\} \\
+		\}         & \LCDsymb{rb}    & \{rb\} \\
+		$[$        & \LCDsymb{rb}    & \{rb\} \\
+		$]$        & \LCDsymb{rb}    & \{rb\} \\
+		$\sqrt{x}$ & \LCDsymb{sqrt}  & \{sqrt\} \\
+		e          & \LCDsymb{e}     & e \\
+		i          & \LCDsymb{i}     & i \\
+		v          & \LCDsymb{v}     & v \\
+		w          & \LCDsymb{w}     & w \\
+		\hline
+	\end{tabular}
+\end{center}
 
 \end{document}

Modified: trunk/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty	2021-07-22 20:40:48 UTC (rev 60019)
+++ trunk/Master/texmf-dist/tex/latex/tiscreen/tiscreen.sty	2021-07-22 20:41:02 UTC (rev 60020)
@@ -4,10 +4,9 @@
 % license is at: http://www.latex-project.org/lppl.txt
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tiscreen}[2021/06/10 Ti calculator screen]
+\ProvidesPackage{tiscreen}[2021/07/22 Ti calculator screen]
 
-% TODO
-% Scaling option
+% TODO: Scaling option
 
 \def\tiscreenX{16}
 \def\tiscreenY{8}
@@ -26,6 +25,7 @@
 \DefineLCDchar{sub4}{00000000000100001010011100001000010}
 \DefineLCDchar{sub5}{00000000000111001000011000001001100}
 \DefineLCDchar{sub6}{00000000000011001000011100101001110}
+\DefineLCDchar{cx}{00101000100010100000000000000000000}
 % Redefine
 \DefineLCDchar{sqrt}{00111001000010000100101000110000100}
 \DefineLCDchar{!}{00100001000010000100000000010000100}
@@ -33,6 +33,10 @@
 \DefineLCDchar{i}{01000000001100001000010000101000100}
 \DefineLCDchar{w}{00000000001000110001101011010101010}
 \DefineLCDchar{v}{00000000001000110001100010101000100}
+\DefineLCDchar{[}{00110001000010000100001000010000110}
+\DefineLCDchar{]}{01100001000010000100001000010001100}
+\DefineLCDchar{lb}{00011001000010001000001000010000011}
+\DefineLCDchar{rb}{11000001000010000010001000010011000}
 
 \RequirePackage{xcolor}
 \definecolor{tiscreenfg}{HTML}{000000}



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