Skip to content

Commit

Permalink
Updated listing display style
Browse files Browse the repository at this point in the history
  • Loading branch information
TomVer99 committed Nov 4, 2023
1 parent f4999c8 commit 49ee942
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions fhict-template.typ
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
show heading.where(level: 4): h => {text(upper(h), size: 11pt, fill: rgb("2F5496"))}
show heading.where(level: 5): h => {text(emph(upper(h)), size: 11pt, fill: rgb("2F5496"), font: "Calibri")}

// Set the listing style
show figure.where(kind: raw): it => {
set align(left)
it.body
it.caption
}

// Set Cover Page
set page("a4",
background: [
Expand Down
Binary file modified showcase.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions showcase.typ
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ This is a figure with code. This will be shown in the list of listings if enable

#figure(
```cpp
int main() {
return 0;
}
int main() {
return 0;
}
```,
caption: "Code example",
)
Expand Down

0 comments on commit 49ee942

Please sign in to comment.