Is it possible to start a newline in published discriptive text?
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Cody Johnson
am 11 Sep. 2015
Beantwortet: Walter Roberson
am 13 Sep. 2015
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 Kommentare
per isakson
am 11 Sep. 2015
Bearbeitet: per isakson
am 11 Sep. 2015
The simple way is a blank line
%%Section Title
% info text line 1
%
% info text line 2
Akzeptierte Antwort
Walter Roberson
am 13 Sep. 2015
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 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!