From c9fcf97bc045a9d020980c33b6c7c1ee5aedef99 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 20 Sep 2021 03:02:23 +0000 Subject: CTAN sync 202109200302 --- macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdf | Bin 133505 -> 150094 bytes macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex | 58 +++++++++++++++++---- 2 files changed, 49 insertions(+), 9 deletions(-) (limited to 'macros/latex/contrib/tiscreen/doc') diff --git a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdf b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdf index 33e5b2d735..3b8f41078b 100644 Binary files a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdf and b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.pdf differ diff --git a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex index dfe6216dc6..b1e689ba74 100644 --- a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex +++ b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex @@ -1,3 +1,5 @@ +% TODO: make funciton for printing \LCDcmd + \documentclass[a4paper,12pt]{article} \usepackage[iso,english]{isodate} \usepackage[margin=1in]{geometry} @@ -17,9 +19,9 @@ } \newcommand{\LCDsymb}[1]{\large \textLCD{1}|{#1}~|} -\newcommand{\LCDcmd}{\texttt{\textbackslash LCD}} +\newcommand{\printcmd}[1]{\texttt{\textbackslash #1}} -\title{TI calculator display\\{\small(TI-82 STATS)}} +\title{TI calculator screen (and buttons)\\{\small TI-82 STATS}} \author{Mustafa Ibrahim} \begin{document} @@ -36,13 +38,15 @@ | 62.11246| |{fcur} | | | + +\tibtnmatrixextra \end{center} \tableofcontents\newpage \section{Quickstart} -\begin{SideBySideExample}[xrightmargin=6cm] +\begin{SideBySideExample}[xrightmargin=5.5cm] %\usepackage[color]{tiscreen} \tiscreen @@ -54,15 +58,23 @@ | | | | | | + +\tibtnmatrixextra + +Lorem +\tibtn[white]{tibtngray}{MATH} +ipsum + +\tibtnextra{\tibtn[white]{tibtngray}{MATH}}{TEST}{A} \end{SideBySideExample} \section{Package option(s)} \subsection{Color} -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: +Using the \texttt{color} option will change the colors used by the +\printcmd{LCD} command for printing the screen using \printcmd{tiscreen}. The +colors are defined as \texttt{tiscreenfg} (foreground, i.e. font color) and +\texttt{tiscreenbg} (background) and redefined like this: \begin{Verbatim} % Add this to your preamble @@ -70,11 +82,12 @@ this: \definecolor{tiscreenfg}{HTML}{FFFFFF} \end{Verbatim} +\part{Screen} \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. +or by using the original \printcmd{LCD} command. \begin{Verbatim} % First method (For entire document) @@ -95,7 +108,7 @@ or by using the original \LCDcmd{} command. \begin{tabular}{|l|l|>{\ttfamily}l|} \multicolumn{3}{c}{\textbf{Added characters}} \\ \hline - Name & Symbol &\textnormal{\LCDcmd{} Code} \\ + Name & Symbol &\textnormal{\printcmd{LCD} Code} \\ \hline E & \LCDsymb{sciE} & \{sciE\} \\ $\sigma$ & \LCDsymb{sigma} & \{sigma\} \\ @@ -127,4 +140,31 @@ or by using the original \LCDcmd{} command. \end{tabular} \end{center} +\part{Buttons} +\section{Usage} + +Use the \printcmd{tibtn} command only prints the button and is usefull when +needing the buttons to be displayed inline. The \printcmd{tibtnextra} takes +extra arguments to show extra options for the button (accesed by the +\tibtnsecond{} and \tibtnalpha{} buttons). + +\begin{SideBySideExample}[xrightmargin=5.5cm] +\tibtnextra{\tibtn[white]{tibtngray}{MATH}}{TEST}{A} + +Lorem +\tibtn[white]{tibtngray}{MATH} +ipsum +\end{SideBySideExample} + +\section{Defined buttons} + +\begin{center} + \begin{tabular}{|>{\ttfamily}l|l|} + \multicolumn{2}{c}{\textbf{Defined buttons}} \\ \hline + \textnormal{Command} & Output \\ \hline + \printcmd{tibtnmatrix} & \tibtnmatrix{} \\ \hline + \printcmd{tibtnmatrixextra} & \tibtnmatrixextra{} \\ \hline + \end{tabular} +\end{center} + \end{document} -- cgit v1.2.3