How can make the word in Table not-split?
조회 수: 4 (최근 30일)
이전 댓글 표시

In above table, the word is split. How can keep the words "right" and "left" (and any word) not split?
댓글 수: 2
Walter Roberson
2020년 9월 25일
Would I be correct that you are talking about Report Generator product?
채택된 답변
Rhea Chandy
2020년 9월 28일
Hi John,
It’s my understand that you are using Report Generator and you want to avoid hyphenation, i.e. Splitting the words in a table entry. You can use Hyphenation class to specify the hyphenation behaviour of paragraphs and table cells.
h = mlreportgen.dom.Hyphenation(false)
This will disable hyphenation and set the property Value to [].
댓글 수: 3
Rhea Chandy
2020년 9월 29일
Hi John,
From my understanding, you are using an older release.Before R2020b release, in which, when hyphenation was enabled, a line break and hyphenation character could occur anywhere in a word in a paragraph or table.
This behaviour has been changed in R2020b, in which, when hyphenation is enabled, a line break and hyphenation character occur only at the end of a syllable. If a table cell contains a long sequence of numbers or letters that have no clear syllable breaks, overflow can occur. The table stretches to accommodate the overflow.
추가 답변 (0개)
참고 항목
카테고리
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!