how to align text in a table cell
조회 수: 2 (최근 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!