#5975: [with patch, needs work] Implement latex output for (combinatorial)
graphs
--------------------------+-------------------------------------------------
Reporter: rbeezer | Owner: rbeezer
Type: enhancement | Status: new
Priority: major | Milestone: sage-feature
Component: graph theory | Keywords:
Reviewer: | Author: Robert Beezer, Fidel Barrera Cruz
Merged: |
--------------------------+-------------------------------------------------
Comment(by jhpalmieri):
Replying to [comment:19 rbeezer]:
> Replying to [comment:18 jhpalmieri]:
>
3.
> The code snippet
> >
{{{
sage: g = graphs.CompleteBipartiteGraph(1,3)
sage: g.latex_options(tkz_style = 'Art')
}}}
>
> should have no immediate ovious effect or output. But {{{latex(g)}}}
should differ if run before and after these commands - afterwards it
should have the tkz-graph commands to use the pre-built "Art" style,
rather than the default "Normal" style.
I think at the moment it doesn't do this: it only changes the options if
the options are None. {{{g.set_latex_options()}}} behaves as it should,
but either {{{g.latex_options()}}} should behave the same way, or it
should not accept any arguments. The documentation suggests the second
choice.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5975#comment:20>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---