I have added a feature to allow latex users to specify the matrix type and
delimitter in _print_Matrix. It is in this branch:
git://github.com/ryanGT/sympy.git
The approach works for me, but it is no longer as clean to switch from
inline=True to inline=False. These options still work, but inline
On Wed, Jun 24, 2009 at 12:37 PM, Ryan Krauss wrote:
> I have added a feature to allow latex users to specify the matrix type and
> delimitter in _print_Matrix. It is in this branch:
> git://github.com/ryanGT/sympy.git
>
> The approach works for me, but it is no longer as clean to switch from
> i
They work fine. The issue is that I think the defaults should be different
with inline=False. I don't think that this
'\\begin{equation*}\\left(\\begin{smallmatrix}1 + x & yy & -1 +
x\\end{smallmatrix}\\right)\\end{equation*}'
is useful Latex. I would not typically want to use smallmatrix
On Wed, Jun 24, 2009 at 1:24 PM, Ryan Krauss wrote:
> They work fine. The issue is that I think the defaults should be different
> with inline=False. I don't think that this
> '\\begin{equation*}\\left(\\begin{smallmatrix}1 + x & yy & -1 +
> x\\end{smallmatrix}\\right)\\end{equation*}'
> i
I think I have a plan. Basically, I want two sets of defaults, one for
inline=True and one for inline=False. I think I can handle it without
making it too messy.
Standby for updated branch push.
On Wed, Jun 24, 2009 at 2:25 PM, Ondrej Certik wrote:
>
> On Wed, Jun 24, 2009 at 1:24 PM, Ryan Kr
OK, so I think my github branch latex_matrix contains a decent solution.
Basically, in the LatexPrinter __init__ method, if the incoming profile is
not None and it has inline=False, then I modify the default _settings before
updating from the profile. This allows different default values for mat_s
2009/6/25 Ryan Krauss
> OK, so I think my github branch latex_matrix contains a decent solution.
> Basically, in the LatexPrinter __init__ method, if the incoming profile is
> not None and it has inline=False, then I modify the default _settings before
> updating from the profile. This allows di
On Thu, Jun 25, 2009 at 10:41 AM, Vinzent
Steinberg wrote:
> 2009/6/25 Ryan Krauss
>>
>> OK, so I think my github branch latex_matrix contains a decent solution.
>> Basically, in the LatexPrinter __init__ method, if the incoming profile is
>> not None and it has inline=False, then I modify the de