Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

charged-ieee: Change figure caption alignment to center & change colon to period in figure caption #60

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions charged-ieee/lib.typ
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
show figure.where(kind: table): set figure(numbering: "I")
show figure.where(kind: image): set figure(supplement: figure-supplement, numbering: "1")
show figure.caption: set text(size: 8pt)
show figure.caption: set align(start)
show figure.caption.where(kind: table): set align(center)


// Adapt supplement in caption independently from supplement used for
// references.
Expand All @@ -59,7 +58,7 @@
else [#fig.supplement]
)
let numbers = numbering(fig.numbering, ..fig.counter.at(fig.location()))
show figure.caption: it => [#prefix~#numbers: #it.body]
show figure.caption: it => [#prefix~#numbers. #it.body]
show figure.caption.where(kind: table): smallcaps
fig
}
Expand Down