Report Generator - Writing subscripts within text
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm using the report generator and would like to include a variable letter with a subscript, for instance Q_turbine. Is there any way to get the report generator to write the subscript within a text. I know how to the the LaTeX commands to add subscripts to an axis label, but I'm not sure how this would work for plain text.
댓글 수: 2
답변 (2개)
Oleg Komarov
2011년 4월 20일
EDIT
This is what you get
%% % My solution: % % $$ Q_{turbine} $$ % % Jarrod's: % % <html> % Q<sub>turbine</sub> % </html>
![](http://i55.tinypic.com/2j3qwr5.png)
댓글 수: 9
Jarrod Rivituso
2011년 4월 20일
Not sure if this meets your needs, but it seems like you could write HTML formatted text in a separate file and then include it using the "File" component.
In case you don't know, the < sub > tag is used for subscript in HTML:
This is a subscript: Qturbine
댓글 수: 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!