Automatic numbering and cross-referencing of sections in Live Script

조회 수: 31 (최근 30일)
Matt J
Matt J 2022년 5월 19일
답변: Steven Lord 2022년 5월 19일
I am investigating the possibility of having automatic section numbering and cross-references in Live Script. Here is an example of attempted code:
When I run and then hide this code in the Live Editor, it looks sort of like what I want:
however, the section headings are oddly indented, and also in a smaller font than a heading should have. Also, the section citation is not inlined with the rest of the text in Section 2.2. Can anyone think of a way these things could be remedied?

채택된 답변

Steven Lord
Steven Lord 2022년 5월 19일
Cross references: the Hyperlink entry in the first table on this documentation page indicates you can link to another location in the same Live Script.
I don't think it is possible to have automatically numbered sections in a Live Script. That does sound like a reasonable enhancement request for Live Scripts.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by