-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port latex/asciiArt output for tableaux and all friends from MuPAD-Combinat #4355
Comments
comment:1
I have added two patches tableaux_output.patch and tableaux_output1.patch with the aim of fixing the latex output for tableaux. This is particularly important for CrystalOfTableaux tex output which is a main way of viewing crystals. For discussion see this thread: http://groups.google.com/group/sage-combinat-devel/browse_thread/thread/3fff0cbc6b44b483?hl=en# |
comment:2
I changed the type from "enhancement" to "defect" since the existing code is actually broke. Nicolas envisions an enhancement here but in the meantime perhaps we can at least make the existing code work correctly. |
comment:3
Since what Nicolas is proposing is clearly different from the problems the patches addresses, I created a new ticket at #4362 and changed the type of this one back to enhancement. |
comment:4
I have deleted both of Dan's patches and moved them over to the new ticket so that things are kept simple :) Cheers, Michael |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:7
I have completed a portion of part 1 in ticket #12314. Travis |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Author: Adrien Boussicault |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
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.sourceforge.net/doc/en/Cat_Combinat/CombinatorialClassWith2DBoxedRepresentation.html
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.
CC: @sagetrac-sage-combinat @sagetrac-boussica
Component: combinatorics
Author: Adrien Boussicault
Branch/Commit: u/boussica/port_latex_asciiart_output_for_tableaux_and_all_friends_from_mupad_combinat @
5b3a35d
Issue created by migration from https://trac.sagemath.org/ticket/4355
The text was updated successfully, but these errors were encountered: