How do I align this table to the centre?
14 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197435/image.png)
This table was made with the report generator toolkit.
0 件のコメント
回答 (1 件)
Rahul Singhal
2018 年 10 月 10 日
You can use the HAlign property of the Table.
2 件のコメント
Rahul Singhal
2018 年 10 月 11 日
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.
参考
カテゴリ
Help Center および File Exchange で MATLAB Report Generator についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!