summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex')
-rw-r--r--macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex84
1 files changed, 45 insertions, 39 deletions
diff --git a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex
index 925cb809f8..dfe6216dc6 100644
--- a/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex
+++ b/macros/latex/contrib/tiscreen/doc/tiscreen-doc.tex
@@ -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,8 +37,8 @@
|{fcur} |
| |
\end{center}
-\tableofcontents
-\newpage
+
+\tableofcontents\newpage
\section{Quickstart}
@@ -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,10 +71,10 @@ this:
\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)
@@ -92,33 +91,40 @@ determine the size of the display or by using the original
\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}