Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 4
    Do you have an issue using that algorithm with a variable-width font where every character just happens to have the same width? Commented Dec 1, 2020 at 19:46
  • 1
    What are your requirements: maximum line size? equal sized lines for the whole para? do you neeed to block-justify the lines adding spaces? Commented Dec 1, 2020 at 22:02
  • 1
    en.wikipedia.org/wiki/Par_(command) Commented Dec 2, 2020 at 0:58
  • 1
    @jmoreno: asking for an algorithm is not generally off-topic. In this case, the OP mentioned a complex algorithm for a specific problem and asks for a simpler one for an even more specific problem. That is IMHO focussed enough for making the question a good fit for this site, and I find it pretty ridicuolus that it already got 4 close votes. Commented Dec 2, 2020 at 7:18
  • 1
    ... it seems to me parts of the community here seem only to seek for reasons to close a question, instead of thinking about constructive ways to keep more of them open. Commented Dec 2, 2020 at 7:22