login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for SandBoxOutputPackage revision 3 of 4

1 2 3 4
Editor: Bill Page
Time: 2014/07/22 01:29:45 GMT+0
Note:

changed:
-T1:=vconcat([1,2,3])$OutputForm
)set output algebra on
\end{axiom}

\begin{axiom}
T1:=hconcat("abc",vconcat([1,1234,123,12])$OutputForm)
output(T1::TEX)$OutputPackage

removed:
-output(T1)$OutputPackage

added:
output(C1::TEX)$OutputPackage

removed:
-output(C1)$OutputPackage

removed:
-
-\begin{axiom}
-output(T1::TEX)$OutputPackage
-output(C1::TEX)$OutputPackage
-\end{axiom}

fricas
)set output algebra on

fricas
T1:=hconcat("abc",vconcat([1,1234,123,12])$OutputForm)
(1) "abc" 1 1234 123 12

\label{eq1}\mbox{\tt "abc"}{
\begin{array}{c}
1 
\
{1234}
\
{123}
\
{12}
\
(1)
Type: OutputForm?
fricas
output(T1::TEX)$OutputPackage
["$$", "\mbox{\tt "abc"} {\begin{array}{c}1\\{1234}\\{123}\\{12}\\\end{array}} ", "$$"]
Type: Void
fricas
T1 pretend SExpression
(3) (CONCAT "abc" (VCONCAT 1 1234 123 12))

\label{eq2}\left(\hbox{\axiomType{CONCAT}\ } \  \mbox{\tt "abc"}\ {\left(\hbox{\axiomType{VCONCAT}\ } \  1 \ {1234}\ {123}\ {12}\right)}\right)(2)
Type: SExpression?
fricas
C1:=center(T1)
(4) "abc" 1 1234 123 12

\label{eq3}\mbox{\rm}{\mbox{\tt "abc"}{
\begin{array}{c}
1 
\
{1234}
\
{123}
\
{12}
\
(3)
Type: OutputForm?
fricas
output(C1::TEX)$OutputPackage
["$$", "\mbox{\rm } { \mbox{\tt "abc"} ", "{\begin{array}{c}1\\{1234}\\{123}\\{12}\\\end{array}}} ", "$$"]
Type: Void
fricas
C1 pretend SExpression
(6) (CONCAT (CONCAT "abc" (VCONCAT 1 1234 123 12)))

\label{eq4}\left({
\begin{array}{@{}l}
\displaystyle
\hbox{\axiomType{CONCAT}\ } \  \mbox{\rm}\ {\left({
\begin{array}{@{}l}
\displaystyle
\hbox{\axiomType{CONCAT}\ } \  \mbox{\tt "abc"}\  \cdot 
\
\
\displaystyle
{\left(\hbox{\axiomType{VCONCAT}\ } \  1 \ {1234}\ {123}\ {12}\right)}
(4)
Type: SExpression?

fricas
)sh OutputForm
OutputForm is a domain constructor Abbreviation for OutputForm is OUTFORM This constructor is not exposed in this frame. ------------------------------- Operations -------------------------------- ?*? : (%,%) -> % ?+? : (%,%) -> % -? : % -> % ?-? : (%,%) -> % ?/? : (%,%) -> % ?<? : (%,%) -> % ?<=? : (%,%) -> % ?=? : (%,%) -> % ?=? : (%,%) -> Boolean ?>? : (%,%) -> % ?>=? : (%,%) -> % ?SEGMENT : % -> % ?..? : (%,%) -> % ?^? : (%,%) -> % ?and? : (%,%) -> % assign : (%,%) -> % binomial : (%,%) -> % blankSeparate : List(%) -> % box : % -> % brace : List(%) -> % brace : % -> % bracket : List(%) -> % bracket : % -> % center : % -> % center : (%,Integer) -> % coerce : % -> OutputForm commaSeparate : List(%) -> % dot : % -> % ?.? : (%,List(%)) -> % empty : () -> % exquo : (%,%) -> % hash : % -> SingleInteger hconcat : List(%) -> % hconcat : (%,%) -> % hspace : Integer -> % infix : (%,%,%) -> % infix : (%,List(%)) -> % infix? : % -> Boolean int : (%,%,%) -> % int : (%,%) -> % int : % -> % label : (%,%) -> % latex : % -> String left : % -> % left : (%,Integer) -> % matrix : List(List(%)) -> % message : String -> % messagePrint : String -> Void not? : % -> % ?or? : (%,%) -> % outputForm : String -> % outputForm : Symbol -> % outputForm : Integer -> % over : (%,%) -> % overbar : % -> % overlabel : (%,%) -> % paren : List(%) -> % paren : % -> % pile : List(%) -> % postfix : (%,%) -> % prefix : (%,List(%)) -> % presub : (%,%) -> % presuper : (%,%) -> % prime : % -> % print : % -> Void prod : (%,%,%) -> % prod : (%,%) -> % prod : % -> % ?quo? : (%,%) -> % quote : % -> % rarrow : (%,%) -> % ?rem? : (%,%) -> % right : % -> % right : (%,Integer) -> % root : (%,%) -> % root : % -> % rspace : (Integer,Integer) -> % scripts : (%,List(%)) -> % semicolonSeparate : List(%) -> % slash : (%,%) -> % string : % -> % sub : (%,%) -> % sum : (%,%,%) -> % sum : (%,%) -> % sum : % -> % super : (%,%) -> % supersub : (%,List(%)) -> % tensor : (%,%) -> % vconcat : List(%) -> % vconcat : (%,%) -> % vspace : Integer -> % zag : (%,%) -> % ?~=? : (%,%) -> % ?~=? : (%,%) -> Boolean differentiate : (%,NonNegativeInteger) -> % dot : (%,NonNegativeInteger) -> % hashUpdate! : (HashState,%) -> HashState prime : (%,NonNegativeInteger) -> %
fricas
)sh OutputPackage
OutputPackage is a package constructor Abbreviation for OutputPackage is OUT This constructor is exposed in this frame. ------------------------------- Operations -------------------------------- output : String -> Void output : OutputForm -> Void outputList : List(Any) -> Void output : (String,OutputForm) -> Void