Is it possible to start a newline in published discriptive text?

13 ビュー (過去 30 日間)
Cody Johnson
Cody Johnson 2015 年 9 月 11 日
回答済み: Walter Roberson 2015 年 9 月 13 日
When publishing, is it possible to insert a carriage return (or some other markup) in order to start a new line in the descriptive text of a section? I would like to do this without resorting to preformatted text blocks. The following markup gives the descriptive text in one line,
%%Section Title
% info text line 1
% info text line 2
as: info text line 1 info text line 2. However, the descriptive text formatting I want to accomplish would contain two separate lines each contain one of the info text lines. I'm using matlab 2015b.
  3 件のコメント
per isakson
per isakson 2015 年 9 月 11 日
編集済み: per isakson 2015 年 9 月 11 日
The simple way is a blank line
%%Section Title
% info text line 1
%
% info text line 2
Cody Johnson
Cody Johnson 2015 年 9 月 12 日
Inserting a blank line, prints a blank line. It seems like and is a trivial matter, but I simply want to begin a new line of text directly below another line of text. Thanks for the suggestion though.
I think coding it in HTML will work, but I was hoping to avoid going into HTML or LaTex right here.

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2015 年 9 月 13 日
There is no documented way to do this. Instead the description of the publish markup says that you will often need to leave an empty comment line to start new markup, implying that Yup, they know there isn't anything you can put in to say "End of what was going on" or "Start of something new not part of what was going on."

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by