[squeak-dev] Greek letters and math equation displays

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Greek letters and math equation displays

Brad Fuller-4
Looking around for this on the swiki, but couldn't find exactly how I
could display greek letters easily in squeak (that is for a
presentation). Also, would like to display math equations as well.

thanks much.

--
Brad Fuller
                   *NOTE NEW PHONE*
                     +1 (408) 335-0112

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Greek letters and math equation displays

Bert Freudenberg
On 27.08.2009, at 19:14, Brad Fuller wrote:

> Looking around for this on the swiki, but couldn't find exactly how I
> could display greek letters easily in squeak (that is for a
> presentation). Also, would like to display math equations as well.

I guess we need a bit more information on your constraints. There are  
various ways, as you probably found out already. For example, one very  
easy way would be to make a screenshot of the equation you want to  
display, and drop it into Squeak ;)

E.g. does it need to work on all platforms? Does the font have to be  
in the image? Do you just want to display, or type, too? Which image  
are you using? Which VM? Etc. pp.

Until we have proper font and input support in a release it is  
somewhat complicated. Then of course it becomes easy.

One way I like particularly is this:

http://tracker.squeakland.org/browse/SQ-283

It's the result of a recent discussion on the etoys-dev list:

http://lists.squeakland.org/pipermail/etoys-dev/2009-July/003387.html

Note that the squeakland list you cc'ed is for Etoys users. To reach  
the Etoys developers, please use this list:

http://lists.squeakland.org/mailman/listinfo/etoys-dev

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Greek letters and math equation displays

Brad Fuller-4
On Thu, Aug 27, 2009 at 1:51 PM, Bert Freudenberg<[hidden email]> wrote:

> On 27.08.2009, at 19:14, Brad Fuller wrote:
>
>> Looking around for this on the swiki, but couldn't find exactly how I
>> could display greek letters easily in squeak (that is for a
>> presentation). Also, would like to display math equations as well.
>
> I guess we need a bit more information on your constraints. There are
> various ways, as you probably found out already. For example, one very easy
> way would be to make a screenshot of the equation you want to display, and
> drop it into Squeak ;)
>
> E.g. does it need to work on all platforms?

yes, but I could restrict it to windows if I had to.

> Does the font have to be in the
> image?

that would be preferable since I'm creating at home and using the
school's computers for display

> Do you just want to display, or type, too?

Yes, I'd like to be able to easily write it out in a text box, unless
there is an easier way.

>Which image are you using?

3.10, but I'll switch to whatever is best.

> Which VM? Etc. pp.

The one that comes with 3.10 on windows and mac (from the squeak.org site)

>
> Until we have proper font and input support in a release it is somewhat
> complicated. Then of course it becomes easy.
>
> One way I like particularly is this:
>
> http://tracker.squeakland.org/browse/SQ-283
>
> It's the result of a recent discussion on the etoys-dev list:
>
> http://lists.squeakland.org/pipermail/etoys-dev/2009-July/003387.html
>
> Note that the squeakland list you cc'ed is for Etoys users. To reach the
> Etoys developers, please use this list:
>
> http://lists.squeakland.org/mailman/listinfo/etoys-dev

Ah.. thanks!


Any ideas on math equations?

--
Brad Fuller
                   *NOTE NEW PHONE*
                     +1 (408) 335-0112

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Greek letters and math equation displays

Bert Freudenberg

On 28.08.2009, at 00:59, Brad Fuller wrote:

> On Thu, Aug 27, 2009 at 1:51 PM, Bert  
> Freudenberg<[hidden email]> wrote:
>> On 27.08.2009, at 19:14, Brad Fuller wrote:
>>
>>> Looking around for this on the swiki, but couldn't find exactly  
>>> how I
>>> could display greek letters easily in squeak (that is for a
>>> presentation). Also, would like to display math equations as well.
>>
>> I guess we need a bit more information on your constraints. There are
>> various ways, as you probably found out already. For example, one  
>> very easy
>> way would be to make a screenshot of the equation you want to  
>> display, and
>> drop it into Squeak ;)
>>
>> E.g. does it need to work on all platforms?
>
> yes, but I could restrict it to windows if I had to.

The hack below should be cross-platform.

>> Does the font have to be in the
>> image?
>
> that would be preferable since I'm creating at home and using the
> school's computers for display

In that case, see if this still works:

http://lists.squeakfoundation.org/pipermail/squeak-dev/2006-June/105193.html

>> Do you just want to display, or type, too?
>
> Yes, I'd like to be able to easily write it out in a text box, unless
> there is an easier way.

The above "hack" should allow this.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Greek letters and math equation displays

Simon Guest-2
In reply to this post by Brad Fuller-4
At Thu, 27 Aug 2009 10:14:57 -0700,
Brad Fuller wrote:
>
> Looking around for this on the swiki, but couldn't find exactly how I
> could display greek letters easily in squeak (that is for a
> presentation). Also, would like to display math equations as well.

Hi Brad,

I wrote a LatexMorph a while back, to do exactly this.  It grabs the
output of Latex and displays it in a morph.  K K Subramaniam ("Subbu")
made extensive improvements, among others making it behave like a
proper EToy (which my version never did.)

I had a screenshot up at
http://www.tesujimath.org/squeak/LatexMorph

but you really should use Subbu's much improved version, at
http://www.squeaksource.com/LatexMorph/

Enjoy!

cheers,
Simon



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Greek letters and math equation displays

Brad Fuller-4
THANKS!

On Mon, Aug 31, 2009 at 2:59 AM, Simon Guest<[hidden email]> wrote:

> At Thu, 27 Aug 2009 10:14:57 -0700,
> Brad Fuller wrote:
>>
>> Looking around for this on the swiki, but couldn't find exactly how I
>> could display greek letters easily in squeak (that is for a
>> presentation). Also, would like to display math equations as well.
>
> Hi Brad,
>
> I wrote a LatexMorph a while back, to do exactly this.  It grabs the
> output of Latex and displays it in a morph.  K K Subramaniam ("Subbu")
> made extensive improvements, among others making it behave like a
> proper EToy (which my version never did.)
>
> I had a screenshot up at
> http://www.tesujimath.org/squeak/LatexMorph
>
> but you really should use Subbu's much improved version, at
> http://www.squeaksource.com/LatexMorph/
>
> Enjoy!
>
> cheers,
> Simon
>
>
>



--
Brad Fuller
                   *NOTE NEW PHONE*
                     +1 (408) 335-0112