All,
I'm working on another calculator screen. This will produce what I have thus far. Note the line in red, with a single mu character in red. I need that line to read:
\mu:\ne\mu_0 <\mu_0 >\mu_0
I also need to select one of the three, put a black background and type the characters in white.
Any suggestions?
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{booktabs}
\usepackage{xparse}
\newcommand\tsurd{\ensuremath{\sqrt{\phantom{i}}}}
\newcommand\txbar{\ensuremath{\overline{\text{x}}}}
\newcommand\sumx{\ensuremath{\Sigma{\text{x}}}}
\newcommand\sumxsq{\ensuremath{\Sigma{\text{x}}^2}}
\newcommand\sigmax{\ensuremath{\sigma{\text{x}}}}
\newcommand\muzero{\ensuremath{\mu_0}}
\newcommand\muzerone{\ensuremath{\ne\mu_0}}
\newcommand\mymu{\ensuremath{\color{red}{\mu}}}
\ExplSyntaxOn
\NewDocumentCommand{\calcinput}{m}
{
\tl_map_inline:nn { #1 } { ##1 \hspace{0pt} }
}
\ExplSyntaxOff
\begin{document}
\def\ttest{\calcinput{T-Test}}
\def\inpt{\calcinput{\ Inpt:{\colorbox{black}{\textcolor{white}{Data}}\ Stats}}}
\def\mymuzero{\calcinput{\ \muzero:0}}
\def\mylist{\calcinput{\ List:L1}}
\def\myfreq{\calcinput{\ Freq:1}}
\def\myalt{\calcinput{\ \mymu:}}
\def\mycalc{\calcinput{\ {\colorbox{black}{\textcolor{white}{Calculate}}\ Draw}}}
\begin{center}
\begin{tikzpicture}[font=\large\ttfamily]
\draw (0,0) rectangle (5,-4);
\node[align=flush left,text width =5cm,
anchor=north west,inner sep=1pt] (ttest) {\ttest};
\node[align=flush left,text width =5cm,
anchor=north west,inner sep=1pt] (inpt) at (ttest.south west) {\inpt};
\node[align=flush left,text width =5cm,
anchor=north west,inner sep=1pt] (mymuzero) at (inpt.south west) {\mymuzero};
\node[align=flush left,text width =5cm,
anchor=north west,inner sep=1pt] (mylist) at (mymuzero.south west) {\mylist};
\node[align=flush left,text width =5cm,
anchor=north west,inner sep=1pt] (myfreq) at (mylist.south west) {\myfreq};
\node[align=flush left,text width =5cm,
anchor=north west,inner sep=1pt] (myalt) at (myfreq.south west) {\myalt};
\node[align=flush left,text width =5cm,
anchor=north west,inner sep=1pt] (mycalc) at (myalt.south west) {\mycalc};
\end{tikzpicture}
\end{center}
\end{document}