Skip to content

Commit

Permalink
Fix sample
Browse files Browse the repository at this point in the history
  • Loading branch information
flavio20002 committed Oct 5, 2024
1 parent 73e77d0 commit c6d10a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions example/main.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "../lib.typ": book, part, chapter, my-bibliography, appendices, make-index, index, theorem, definition, notation,remark,corollary,proposition,example,exercise, problem, vocabulary, mathcal
#import "../lib.typ": book, part, chapter, my-bibliography, appendices, make-index, index, theorem, definition, notation,remark,corollary,proposition,example,exercise, problem, vocabulary, mathcal, update-heading-image

//#set text(font: "Linux Libertine")
//#set text(font: "TeX Gyre Pagella")
Expand Down Expand Up @@ -101,7 +101,9 @@ imperdiet urna iaculis, mattis eros. Pellentesque iaculis odio vel nisl ullamcor
#heading(level:3, numbering: none, "Unnumbered Subsection", outlined: false)
#heading(level:4, numbering: none, "Unnumbered Subsubsection", outlined: false)

#chapter("In-text Element Examples", image: image("./orange2.jpg"))
// Chapter can also be defined in this way
#update-heading-image(image: image("./orange2.jpg"))
= In-text Element Examples

== Referencing Publications
#index("Citation")
Expand Down
6 changes: 4 additions & 2 deletions tests/sample-book/test.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "../../lib.typ": book, part, chapter, my-bibliography, appendices, make-index, index, theorem, definition, notation,remark,corollary,proposition,example,exercise, problem, vocabulary, mathcal
#import "../../lib.typ": book, part, chapter, my-bibliography, appendices, make-index, index, theorem, definition, notation,remark,corollary,proposition,example,exercise, problem, vocabulary, mathcal, update-heading-image

//#set text(font: "Linux Libertine")
//#set text(font: "TeX Gyre Pagella")
Expand Down Expand Up @@ -101,7 +101,9 @@ imperdiet urna iaculis, mattis eros. Pellentesque iaculis odio vel nisl ullamcor
#heading(level:3, numbering: none, "Unnumbered Subsection", outlined: false)
#heading(level:4, numbering: none, "Unnumbered Subsubsection", outlined: false)

#chapter("In-text Element Examples", image: image("./orange2.jpg"))
// Chapter can also be defined in this way
#update-heading-image(image: image("./orange2.jpg"))
= In-text Element Examples

== Referencing Publications
#index("Citation")
Expand Down

0 comments on commit c6d10a5

Please sign in to comment.