Change font of mlreportge​n.report.T​ableOfCont​ents

1 Ansicht (letzte 30 Tage)
Christian
Christian am 11 Feb. 2020
Beantwortet: Rahul Singhal am 21 Feb. 2020
Hi there! I am currently working with the mlreportgen and I want to change the font and color of the TOC. I managed to assign my own pdf template, but it changes only the header of the TOC, not the contents itself. Can this be done?
TOC.png

Akzeptierte Antwort

Rahul Singhal
Rahul Singhal am 21 Feb. 2020
Hi Christian,
I am guessing you are using mlreportgen.report.TableOfContents reporter to create this TOC and you have customized this reporter's PDF template to customize the header. The styles for the TOC content are actually specified in the container mlreportgen.report.Report template. You can customize the styles like TOC1, TOC2, ... in the report's template to customize your TOC content.
Thanks,
Rahul

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by