Configuring Maxima output as an improper fraction?
Subject: Configuring Maxima output as an improper fraction?
From: Luke Scharf
Date: Tue, 03 Feb 2009 10:40:40 -0600
Robert Dodier wrote:
> On 1/29/09, Luke Scharf <luke.scharf at clusterbee.net> wrote:
>
>
>> Is there a way to configure Maxima to output the result as an improper
>> fraction?
>>
>> For instance, if I enter 3/4+3/4, then it outputs 3/2. Since I'm doing
>> arithmetic for a woodworking project, it would be easier if it would
>> output as 1+1/2. Or 1+4/8 would be super-useful, too. Is there a way
>> to make Maxima to do that?
>>
>
> Luke, I've attached some code which changes the way literal rational
> numbers are displayed. It doesn't change the way expressions are
> constructed, only the pretty-printing display. It doesn't change the
> 1-dimensional display, that could be done with the same approach.
>
Very cool -- many thanks!
-Luke