#14714: Correct latex generated by DyckWord class
---------------------------------+------------------------------------------
Reporter: zabrocki | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.11
Component: combinatorics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: zabrocki | Merged in:
Dependencies: #14712 | Stopgaps:
---------------------------------+------------------------------------------
Changes (by zabrocki):
* status: new => needs_review
Old description:
> (bug reported by ncohen on ticket #13550) The latex generated by
> {{{DyckWord}}} causes an error in the command
> {{{view(DyckWord([1,0]))}}}. It seems that this may be due to a
> parameter sent to a \draw command being incorrect.
New description:
(bug reported by ncohen on ticket #13550) The latex generated by
{{{DyckWord}}} causes an error in the command {{{view(DyckWord([1,0]))}}}.
This was due to a parameter sent to a \draw command being incorrect and
because the {{{tikz}}} package was added to the preamble late in the
drawing process. The problem with the package being added late was fixed
in #14712. This also fixes a bug where the peaks and valleys option is
incompatible with the bounce path option.
--
Comment:
I made a few changes to the latex output so that the bounce path will be
displayed if peaks and valleys are displayed too (bug fix: these two
options were not compatible before)
I made a few aesthetic choices in these changes. bounce path is a
different color than the peak/valley points. the valleys and peaks are
filled and drawn below the path rather than on top
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14714#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 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.