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 件のコメント
Jarrod Rivituso
2011 年 4 月 20 日
Which Report Generator element do you want to contain the subscript?
回答 (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 件のコメント
Oleg Komarov
2011 年 4 月 21 日
Sorry, didn't get it! Never used report generator, can't be of any help.
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!