How do I align this table to the centre?

24 views (last 30 days)
PromoCodeBSJ
PromoCodeBSJ on 9 Oct 2018
Commented: Rahul Singhal on 11 Oct 2018
This table was made with the report generator toolkit.

Answers (1)

Rahul Singhal
Rahul Singhal on 10 Oct 2018
  2 Comments
PromoCodeBSJ
PromoCodeBSJ on 11 Oct 2018
That unfortunately only aligns the text within the graph.
Rahul Singhal
Rahul Singhal on 11 Oct 2018
This was a known issue, where HAlign format was being applied to the table entries instead of the table in PDF output. This was fixed in R2016b, see EBR https://www.mathworks.com/support/bugreports/1411506 for the workaround.
After R2016b, you can use HAlign to center the table, and as mentioned in the documentation also set the Width property for wide tables.

Sign in to comment.

Categories

Find more on MATLAB Report Generator 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!