How to change fontsize in the report generator explorer?
古いコメントを表示
Hello,
I'm currently working with the report generator of matlab 2016a, with the report explorer. I managed to do almost everything i want in, except the font and fontsize which are not the good one. So I'm looking to modify those settings. I did try by right clicking on my report setup file and selected "Edit style sheet", then adding and modifying "bf size" and "mono font family" but no success.
Example: I want that the "paragraph" use "Time new roman", "12".
I would like also a tip to have a line or 2 beetween 2 pictures gathered by "FigureLoop"
Best regards,
Baptiste
採用された回答
その他の回答 (1 件)
Stephen Devlin
2018 年 6 月 7 日
編集済み: Stephen Devlin
2018 年 6 月 7 日
Hi,
Here's an example of how I change fantasize in a table using the report generator.
t3=TableOutForPPoint;%this takes the table from the analysis script and makes it an
%object we insert
ResultsSlide1 = add(slides,'Title and Content');
replace(ResultsSlide1,'Title','Printhead Results Table');
ResultsSlide1.Style={FontColor('midnightblue'),Bold(true),FontFamily('Arial')};
% apply a table style to it.
contents = find(ResultsSlide1,'Content');
tbl = replace(contents(1),Table(t3));
tbl.StyleName = 'Medium Style 1 - Accent 1';
tbl.FontSize = '12';
And here's an example for altering font sizes in text, this is for a cover or section break.
%%Section Break Slide 3
BreakSlide2 = add(slides,'Title and Content');
replace(BreakSlide2,'Title','Nozzle Scans');
contents = find(BreakSlide2,'Content');
replace(contents(1),XaarP4pic);
BreakSlide2.Style={FontSize('60'),FontColor('midnightblue'),Bold(true),Underline('single'),FontFamily('Arial')};
Is that any help?
カテゴリ
ヘルプ センター および File Exchange で Format Reports についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!