#4355: Port latex/asciiArt output for tableaux and all friends from
MuPAD-Combinat
-----------------------------+----------------------------------------------
Reporter: nthiery | Owner: mhansen
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.6.1
Component: combinatorics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Changes (by nthiery):
* upstream: => N/A
Old description:
> The latex method for tableaux was written in a rush during Sage Days 7
> to get the latex output for crystals. This is a partial quick port of
> the TeX method we use in MuPAD-Combinat in the general case of
> "ObjectsWith2DBoxedRepresentation" which includes everything from
> partitions, tableaux, skew tableaux, ribbons tableaux, to rigged
> configurations, or other things that can be drawn with symbols in an
> array, and some horizontal and vertical delimiters, like mazes.
>
> A class which inherits from ObjectsWith2DBoxedRepresentation just has
> to implement a method that fills appropriately an array for the
> symbols, and another for the delimiters, and it gets for free 2D ascii
> art, latex, ... output. See:
>
> http://mupad-combinat.svn.sourceforge.net/viewvc/mupad-combinat/trunk
> /MuPAD-
> Combinat/lib/DOMAINS/CATEGORY/CombinatorialClassWith2DBoxedRepresentation.mu?revision=7455&view=markup
>
> For a few samples of the produced 2d ascii art, you can have a look
> at:
>
> http://mupad-
> combinat.sourceforge.net/doc/en/output_Combinat/asciiArt.html
>
> (note: the pictures are broken unless you use a fixed font).
>
> It as proven to be a handy tool, for the zillion of tableaux-like
> classes, so a good candidate for porting.
>
> First straightforward step: LaTeX output
>
> Second step: ascii art output. This may require a bit more thinking,
> since there is not yet (?) a general framework for ascii art in Sage.
New description:
The latex method for tableaux was written in a rush during Sage Days 7
to get the latex output for crystals. This is a partial quick port of
the TeX method we use in MuPAD-Combinat in the general case of
"ObjectsWith2DBoxedRepresentation" which includes everything from
partitions, tableaux, skew tableaux, ribbons tableaux, to rigged
configurations, or other things that can be drawn with symbols in an
array, and some horizontal and vertical delimiters, like mazes.
A class which inherits from ObjectsWith2DBoxedRepresentation just has
to implement a method that fills appropriately an array for the
symbols, and another for the delimiters, and it gets for free 2D ascii
art, latex, ... output. See:
http://mupad-combinat.svn.sourceforge.net/viewvc/mupad-combinat/trunk
/MuPAD-
Combinat/lib/DOMAINS/CATEGORY/CombinatorialClassWith2DBoxedRepresentation.mu?revision=7455&view=markup
For a few samples of the produced 2d ascii art, you can have a look
at:
http://mupad-combinat.sourceforge.net/doc/en/output_Combinat/asciiArt.html
(note: the pictures are broken unless you use a fixed font).
It as proven to be a handy tool, for the zillion of tableaux-like
classes, so a good candidate for porting.
First straightforward step: LaTeX output
Second step: same as above, but making sure the produced LaTeX is
compatible with jsmath/mathjax, for display in the notebook.
Third step: ascii art output. This may require a bit more thinking,
since there is not yet (?) a general framework for ascii art in Sage.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4355#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.