recreating pandoc [@citation] and @citation style with typst (ideally using the citation with brackets) #4833
-
I am coming from writing my thesis articles in markdown in pandoc where Currently Typst is supporting |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can set the To change the default behavior, you can apply the set rule #set cite(form: "prose")
This citation @jones2024 shows as Jones et al. (2024),
but this #cite(<jones2024>, form: "normal") shows as (Jones et al, 2024). The bracketed syntax |
Beta Was this translation helpful? Give feedback.
You can set the
cite.form
parameter. To render the citation as(Jones et al, 2024)
, you can set it to"normal"
(or don't set it at all as it's the default) and to render it asJones et al. (2024)
, set it to"prose"
. You can't use the@citation
syntax though when you want to specify the form, but have to explicitly write#cite(<citation>, form: ...)
(or create a custom function to simplify it).To change the default behavior, you can apply the set rule
#set cite(form: "prose")
, then you have to specify it each time you want the normal behavior back, e.g.