nlib icon indicating copy to clipboard operation
nlib copied to clipboard

Whitespace around equations and table style

Open typesanitizer opened this issue 8 years ago • 2 comments

Several equations and align environments have additional newlines before and/or after them. If one makes the following substitutions to comment out those newlines: \n\n\begin{equation} -> \n%\n\begin{equation}, \end{equation}\n\n -> \end{equation}%\n\n (and similarly for align and alignat) -- commenting out the newlines prevents additional whitespace but keeps the source readable -- then the whitespace is reduced significantly:

ex6-comb

On making these changes, the book becomes 384 pages long instead of 388 pages.

Also, there is a \usepackage{booktabs} in the preamble but the tables drawn do not follow the booktabs manual; lots of horizontal and vertical lines are used. Here's what a table edited according to the booktabs style looks like compared to one of the current tables:

ex7-new

I will submit a PR if you like the suggested changes.

typesanitizer avatar Jun 03 '17 20:06 typesanitizer

@mdipierro, thoughts on this? Should I submit a PR or do you prefer the current style?

typesanitizer avatar Aug 07 '17 19:08 typesanitizer

I would appreciate removing the extra spaces. I like the first table style over the second. Thanks for your help.

mdipierro avatar Aug 07 '17 22:08 mdipierro