Loading examples/example.typ +3 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,9 @@ ) // We want to let the user to be able to choose the font, but provide them with a default #set text(font: "EB Garamond", number-type: "old-style") #show math.equation: set text(font: "Garamond-Math") // todo: find a comprehensive math font #set text(font: "EB Garamond") #show math.equation: set text(font: "Latin Modern Math") #show raw: set text(font: "Latin Modern Mono", number-type: "lining") // force lining numbers #pages.title() Loading src/styles/code.typ +0 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ codly(languages: codly-languages) codly(radius: 0pt, lang-format: none, zebra-fill: none, stroke: none) show raw: set text(font: "Latin Modern Mono 12", number-type: "lining") show raw.where(block: false): box.with( fill: luma(240), outset: (y: 2pt), Loading src/styles/heading.typ +2 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,8 @@ } set text(text-size) it.body // Headings use smallcaps, not bold smallcaps(it.body) }) } Loading @@ -35,7 +36,6 @@ set heading(numbering: "1.1") // Headings use smallcaps, not bold show heading: smallcaps show heading: set text(weight: "regular") // Headings do not use hyphenation Loading Loading
examples/example.typ +3 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,9 @@ ) // We want to let the user to be able to choose the font, but provide them with a default #set text(font: "EB Garamond", number-type: "old-style") #show math.equation: set text(font: "Garamond-Math") // todo: find a comprehensive math font #set text(font: "EB Garamond") #show math.equation: set text(font: "Latin Modern Math") #show raw: set text(font: "Latin Modern Mono", number-type: "lining") // force lining numbers #pages.title() Loading
src/styles/code.typ +0 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ codly(languages: codly-languages) codly(radius: 0pt, lang-format: none, zebra-fill: none, stroke: none) show raw: set text(font: "Latin Modern Mono 12", number-type: "lining") show raw.where(block: false): box.with( fill: luma(240), outset: (y: 2pt), Loading
src/styles/heading.typ +2 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,8 @@ } set text(text-size) it.body // Headings use smallcaps, not bold smallcaps(it.body) }) } Loading @@ -35,7 +36,6 @@ set heading(numbering: "1.1") // Headings use smallcaps, not bold show heading: smallcaps show heading: set text(weight: "regular") // Headings do not use hyphenation Loading