How to keep a table in one page and not to be separated in to 2 pages?
1 view (last 30 days)
Show older comments
The table has the right size (less than the page width, and less than 1/3 of page height).
When the remaining page is not enough for the table, it's desirable to place the entire table in next page.
Before R2020b, it was done in following way and worked well:
thetable.Style = [thetable.Style {KeepLinesTogether(true)}];
thetable.TableEntriesStyle = [thetable.TableEntriesStyle {KeepWithNext(true)}];
R2020b ignores these commands and breaks the table in two pages with part in last page and part in next page.
How can it work in R2020b?
1 Comment
Walter Roberson
on 4 Jan 2021
How does this differ from your existing https://www.mathworks.com/matlabcentral/answers/687834-how-to-keep-the-entire-table-together?s_tid=srchtitle ?
Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!