How to keep a table in one page and not to be separated in to 2 pages?

6 views (last 30 days)
John
John on 4 Jan 2021
Commented: Walter Roberson on 4 Jan 2021
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?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!