axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] TeX help


From: Gregory Wright
Subject: Re: [Axiom-developer] TeX help
Date: Fri, 5 Sep 2003 16:23:07 -0400


Tim,

This problem sounds like a nice task for a student who wants to
learn dynamic programming. Find all off the legal line breaks in an
equation (after the obvious preprocessing, like converting x/y to 1/x * {y}) then combine them into bigger lines with a cost function that goes up with the number of lines but down when the lines are balanced, i.e., almost the
same length.

IIRC, there are some related example (written in Haskell) in Bird's
_Algebra of Programming_.

Best Wishes,
Greg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]