PS. here is the file I get generated by latex_file() call.
On Sunday, December 4, 2016 at 6:20:23 PM UTC, Dima Pasechnik wrote:
>
>
>
> On Saturday, December 3, 2016 at 9:46:01 PM UTC, Wellington wrote:
>>
>> I'm having an issue with the latex file created by Sage for both of the
>> commands stated below. I've attached the latex file created.
>>
>> Any help would be much appreciated.
>>
>> Thanks
>>
>> sage: crystals.Tableaux("A2", shape=[2,1]).latex_file("/tmp/a2rho.tex")
>>
>>
>> sage: B = crystals.Tableaux(['A',2], shape=[2,1])sage: view(B,
>> tightpage=True)
>>
>>
> all works for me in Sage 7.5.beta5.
> I don't know whether it's caused by a recent update, or it's something not
> right in your setup (e.g outdated dot2tex).
>
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" 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 https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.
\documentclass{article}
\usepackage[x11names, rgb]{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{snakes,arrows,shapes}
\usepackage{amsmath}
\usepackage[active,tightpage]{preview}
\newenvironment{bla}{}{}
\PreviewEnvironment{bla}
\begin{document}
\begin{bla}\begin{tikzpicture}[>=latex,line join=bevel,]
%%
\node (node_7) at (34.5bp,15.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{2}&\lr{3}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
\node (node_6) at (58.5bp,100.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{2}&\lr{2}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
\node (node_5) at (13.5bp,100.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{3}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
\node (node_4) at (58.5bp,185.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{2}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
\node (node_3) at (58.5bp,270.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{1}\\\cline{1-2}\lr{3}\\\cline{1-1}\end{array}$}}$};
\node (node_2) at (13.5bp,185.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{3}\\\cline{1-2}\lr{2}\\\cline{1-1}\end{array}$}}$};
\node (node_1) at (13.5bp,270.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{2}\\\cline{1-2}\lr{2}\\\cline{1-1}\end{array}$}}$};
\node (node_0) at (35.5bp,355.5bp) [draw,draw=none] {${\def\lr#1{\multicolumn{1}{|@{\hspace{.6ex}}c@{\hspace{.6ex}}|}{\raisebox{-.3ex}{$#1$}}}\raisebox{-.6ex}{$\begin{array}[b]{*{2}c}\cline{1-2}\lr{1}&\lr{1}\\\cline{1-2}\lr{2}\\\cline{1-1}\end{array}$}}$};
\draw [red,->] (node_0) ..controls (42.981bp,327.5bp) and (47.816bp,310.05bp) .. (node_3);
\definecolor{strokecol}{rgb}{0.0,0.0,0.0};
\pgfsetstrokecolor{strokecol}
\draw (57.0bp,313.0bp) node {$2$};
\draw [blue,->] (node_5) ..controls (13.24bp,74.426bp) and (14.14bp,60.663bp) .. (17.5bp,49.0bp) .. controls (18.326bp,46.132bp) and (19.42bp,43.224bp) .. (node_7);
\draw (26.0bp,58.0bp) node {$1$};
\draw [red,->] (node_6) ..controls (50.694bp,72.504bp) and (45.648bp,55.054bp) .. (node_7);
\draw (57.0bp,58.0bp) node {$2$};
\draw [blue,->] (node_4) ..controls (58.5bp,157.62bp) and (58.5bp,140.39bp) .. (node_6);
\draw (67.0bp,143.0bp) node {$1$};
\draw [red,->] (node_1) ..controls (13.5bp,242.62bp) and (13.5bp,225.39bp) .. (node_2);
\draw (22.0bp,228.0bp) node {$2$};
\draw [blue,->] (node_3) ..controls (58.5bp,242.62bp) and (58.5bp,225.39bp) .. (node_4);
\draw (67.0bp,228.0bp) node {$1$};
\draw [blue,->] (node_0) ..controls (22.513bp,334.49bp) and (19.359bp,328.18bp) .. (17.5bp,322.0bp) .. controls (15.067bp,313.92bp) and (13.896bp,304.8bp) .. (node_1);
\draw (26.0bp,313.0bp) node {$1$};
\draw [red,->] (node_2) ..controls (13.5bp,157.62bp) and (13.5bp,140.39bp) .. (node_5);
\draw (22.0bp,143.0bp) node {$2$};
%
\end{tikzpicture}\end{bla}
\end{document}