how to align text in a table cell
8 ビュー (過去 30 日間)
古いコメントを表示
hay I create a table in a GUI, this table contains data. that aligns the center of cells, so how I want to align text left in the cell
2 件のコメント
Oleg Komarov
2011 年 6 月 1 日
Do you want to align numbers or strings to the left?
Can you provide an example of what you've done?
回答 (3 件)
Jan
2011 年 6 月 4 日
The display of your above text looks very strange in my browser. A picture would be better.
0 件のコメント
Walter Roberson
2011 年 6 月 1 日
Set the format for that column to '%15s' or whatever you want the width to be. Strings which are shorter than that number will be right-padded with spaces.
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で LaTeX についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!