#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-6.2
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+------------------------
Description changed by boussica:
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 (partitions and cores in ticket
> #12314)
>
> 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.
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://sourceforge.net/p/mupad-combinat/code/HEAD/tree/trunk/MuPAD-
Combinat/lib/DOMAINS/CATEGORY/CombinatorialClassWith2DBoxedRepresentation.mu
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 (partitions and cores in ticket
#12314)
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/ticket/4355#comment:10>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.