editorialTheme
Function editorialTheme
editorialTheme(fonts: ThemeFonts): ThemeClassic book / magazine typography: serif body, warm off-white surface, generous leading, no card rounding, large display headings. Inspired by Garamond / Caslon trade-paperback typesetting.
Best for: resumes, cover letters, white papers, reading-heavy reports, literary or formal documents.
Pair with the Times family — standardFonts(pdf, "times") fills the
italic slot (used by captions and any text({ font: theme.italic, ... })
in your templates) automatically.
Parameters
-
fonts: ThemeFonts
Returns Theme
editorialTheme(font: PDFFont, bold: PDFFont, italic?: PDFFont): ThemeClassic book / magazine typography: serif body, warm off-white surface, generous leading, no card rounding, large display headings. Inspired by Garamond / Caslon trade-paperback typesetting.
Best for: resumes, cover letters, white papers, reading-heavy reports, literary or formal documents.
Pair with the Times family — standardFonts(pdf, "times") fills the
italic slot (used by captions and any text({ font: theme.italic, ... })
in your templates) automatically.
Parameters
-
font: PDFFont -
bold: PDFFont -
italic?: PDFFont
Returns Theme