wojtask / clrs4e-solutions

Solutions to exercises and problems from "Introduction to Algorithms", Fourth Edition by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein
Creative Commons Attribution 4.0 International
249 stars 39 forks source link

Enrich the format #6

Closed wojtask closed 1 year ago

wojtask commented 2 years ago

Suggest improvements to the format of the document to make it modern, readable, and consistent with the book. Think about page layout, part opening pages, chapter headers, subchapter headers, problems headers, notes. How to best present long pictures and pseudocodes? Can we move anything to margins (exercise numbers, any new indicator icons)? If we decided to include exercise texts just for reference, what style should we apply to them? According to the book's overview one of the changes in the 4th edition is added color, so now we also need to have colored pictures and/or headers.

wojtask commented 1 year ago

While doing so, try to improve code in cormensol.sty. Is there a way to reduce the number of different packages for setting up layout, e.g., relying entirely on fancyhdr?

wojtask commented 1 year ago

fancyhdr alone won't let us achieve all desired results. Instead, I'm using recommended packages for different things in order to copy (and improve) the book's format:

wojtask commented 1 year ago

The book has page dimensions 233 x 262 mm - checked with pdfinfo on the original book's PDF. This is a nonstandard paper format, almost square in ratio. It is to decide if we need to have the same in the solutions, or use a standard format, like letter.

wojtask commented 1 year ago

Remaining issues to fix:

wojtask commented 1 year ago

Closing, as the format is now consistent with the book, with several nice improvements.