PageSourceSearch

https://touying-typ.github.io/assets/js/7a45b203.5e8fcc3a.js

js touying-typ.github.io collected 2026-10-03 10:08:20 UTC 31,003 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6076],{26554:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>d,contentTitle:()=>t,default:()=>h,frontMatter:()=>r,metadata:()=>o,toc:()=>c});var i=n(85893),l=n(11151);const r={sidebar_position:2,description:"The common configurations of the slides.",toc_max_heading_level:2},t="config-common",o={id:"reference/configs/config-common",title:"config-common",description:"The common configurations of the slides.",source:"@site/docs/reference/configs/config-common.mdx",sourceDirName:"reference/configs",slug:"/reference/configs/config-common",permalink:"/docs/reference/configs/config-common",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2,description:"The common configurations of the slides.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"config-store",permalink:"/docs/reference/configs/config-store"},next:{title:"config-methods",permalink:"/docs/reference/configs/config-methods"}},d={},c=[{value:"breakable : <TypeLink></TypeLink>",id:"breakable",level:3},{value:"clip : <TypeLink></TypeLink>",id:"clip",level:3},{value:"detect-overflow : <TypeLink></TypeLink>",id:"detect-overflow",level:3},{value:"handout : <TypeLink></TypeLink>",id:"handout",level:3},{value:"handout-subslides : <TypeLink></TypeLink> | <TypeLink></TypeLink> | <TypeLink></TypeLink> | <TypeLink></TypeLink>",id:"handout-subslides",level:3},{value:"slide-level : <TypeLink></TypeLink>",id:"slide-level",level:3},{value:"slide-fn : <TypeLink></TypeLink>",id:"slide-fn",level:3},{value:"new-section-slide-fn : <TypeLink></TypeLink>",id:"new-section-slide-fn",level:3},{value:"new-subsection-slide-fn : <TypeLink></TypeLink>",id:"new-subsection-slide-fn",level:3},{value:"new-subsubsection-slide-fn : <TypeLink></TypeLink>",id:"new-subsubsection-slide-fn",level:3},{value:"new-subsubsubsection-slide-fn : <TypeLink></TypeLink>",id:"new-subsubsubsection-slide-fn",level:3},{value:"receive-body-for-new-section-slide-fn : <TypeLink></TypeLink>",id:"receive-body-for-new-section-slide-fn",level:3},{value:"receive-body-for-new-subsection-slide-fn : <TypeLink></TypeLink>",id:"receive-body-for-new-subsection-slide-fn",level:3},{value:"receive-body-for-new-subsubsection-slide-fn : <TypeLink></TypeLink>",id:"receive-body-for-new-subsubsection-slide-fn",level:3},{value:"receive-body-for-new-subsubsubsection-slide-fn : <TypeLink></TypeLink>",id:"receive-body-for-new-subsubsubsection-slide-fn",level:3},{value:"show-strong-with-alert : <TypeLink></TypeLink>",id:"show-strong-with-alert",level:3},{value:"datetime-format : <TypeLink></TypeLink> | <TypeLink></TypeLink>",id:"datetime-format",level:3},{value:"appendix : <TypeLink></TypeLink>",id:"appendix",level:3},{value:"freeze-slide-counter : <TypeLink></TypeLink>",id:"freeze-slide-counter",level:3},{value:"zero-margin-header : <TypeLink></TypeLink>",id:"zero-margin-header",level:3},{value:"zero-margin-footer : <TypeLink></TypeLink>",id:"zero-margin-footer",level:3},{value:"auto-offset-for-heading : <TypeLink></TypeLink>",id:"auto-offset-for-heading",level:3},{value:"enable-pdfpc : <TypeLink></TypeLink>",id:"enable-pdfpc",level:3},{value:"enable-mark-warning : <TypeLink></TypeLink>",id:"enable-mark-warning",level:3},{value:"reset-page-counter-to-slide-counter : <TypeLink></TypeLink>",id:"reset-page-counter-to-slide-counter",level:3},{value:"show-only-notes : <TypeLink></TypeLink>",id:"show-only-notes",level:3},{value:"show-notes-on-second-screen : <TypeLink></TypeLink> | <TypeLink></TypeLink>",id:"show-notes-on-second-screen",level:3},{value:"horizontal-line-to-pagebreak : <TypeLink></TypeLink>",id:"horizontal-line-to-pagebreak",level:3},{value:"reset-footnote-number-per-slide : <TypeLink></TypeLink>",id:"reset-footnote-number-per-slide",level:3},{value:"nontight-list-enum-and-terms : <TypeLink></TypeLink>",id:"nontight-list-enum-and-terms",level:3},{value:"align-list-marker-with-baseline : <TypeLink></TypeLink>",id:"align-list-marker-with-baseline",level:3},{value:"align-enum-marker-with-baseline : <TypeLink></TypeLink>",id:"align-enum-marker-with-baseline",level:3},{value:"scale-list-items : <TypeLink></TypeLink> | <TypeLink></TypeLink>",id:"scale-list-items",level:3},{value:"enable-frozen-states-and-counters : <TypeLink></TypeLink>",id:"enable-frozen-states-and-counters",level:3},{value:"show-hide-set-list-marker-none : <TypeLink></TypeLink>",id:"show-hide-set-list-marker-none",level:3},{value:"show-bibliography-as-footnote : <TypeLink></TypeLink>",id:"show-bibliography-as-footnote",level:3},{value:"frozen-states : <TypeLink></TypeLink>",id:"frozen-states",level:3},{value:"default-frozen-states : <TypeLink></TypeLink>",id:"default-frozen-states",level:3},{value:"frozen-counters : <TypeLink></TypeLink>",id:"frozen-counters",level:3},{value:"default-frozen-counters : <TypeLink></TypeLink>",id:"default-frozen-counters",level:3},{value:"label-only-on-last-subslide : <TypeLink></TypeLink>",id:"label-only-on-last-subslide",level:3},{value:"preamble : <TypeLink></TypeLink>",id:"preamble",level:3},{value:"default-preamble : <TypeLink></TypeLink>",id:"default-preamble",level:3},{value:"slide-preamble : <TypeLink></TypeLink>",id:"slide-preamble",level:3},{value:"default-slide-preamble : <TypeLink></TypeLink>",id:"default-slide-preamble",level:3},{value:"subslide-preamble : <TypeLink></TypeLink>",id:"subslide-preamble",level:3}
1,{value:"default-subslide-preamble : <TypeLink></TypeLink>",id:"default-subslide-preamble",level:3},{value:"page-preamble : <TypeLink></TypeLink>",id:"page-preamble",level:3},{value:"default-page-preamble : <TypeLink></TypeLink>",id:"default-page-preamble",level:3},{value:"default-composer : <TypeLink></TypeLink> | <TypeLink></TypeLink> | <TypeLink></TypeLink>",id:"default-composer",level:3}];function a(e){const s={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",strong:"strong",...(0,l.a)(),...e.components},{Param:n,Parameters:r,Signature:t,SignatureName:o,SignatureParam:d,SourceLink:c,TypeLink:a}=s;return n||u("Param",!0),r||u("Parameters",!0),t||u("Signature",!0),o||u("SignatureName",!0),d||u("SignatureParam",!0),c||u("SourceLink",!0),a||u("TypeLink",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.h1,{id:"config-common",children:"config-common"}),"\n",(0,i.jsx)(t,{children:(0,i.jsxs)("code",{children:[(0,i.jsx)(o,{children:"config-common"}),"(",(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#breakable",children:"breakable"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#clip",children:"clip"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#detect-overflow",children:"detect-overflow"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#handout",children:"handout"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#handout-subslides",children:"handout-subslides"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#slide-level",children:"slide-level"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#slide-fn",children:"slide-fn"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#new-section-slide-fn",children:"new-section-slide-fn"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#new-subsection-slide-fn",children:"new-subsection-slide-fn"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#new-subsubsection-slide-fn",children:"new-subsubsection-slide-fn"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#new-subsubsubsection-slide-fn",children:"new-subsubsubsection-slide-fn"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#receive-body-for-new-section-slide-fn",children:"receive-body-for-new-section-slide-fn"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#receive-body-for-new-subsection-slide-fn",children:"receive-body-for-new-subsection-slide-fn"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#receive-body-for-new-subsubsection-slide-fn",children:"receive-body-for-new-subsubsection-slide-fn"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#receive-body-for-new-subsubsubsection-slide-fn",children:"receive-body-for-new-subsubsubsection-slide-fn"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#show-strong-with-alert",children:"show-strong-with-alert"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#datetime-format",children:"datetime-format"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#appendix",children:"appendix"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#freeze-slide-counter",children:"freeze-slide-counter"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#zero-margin-header",children:"zero-margin-header"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#zero-margin-footer",children:"zero-margin-footer"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#auto-offset-for-heading",children:"auto-offset-for-heading"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#enable-pdfpc",children:"enable-pdfpc"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#enable-mark-warning",children:"enable-mark-warning"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#reset-page-counter-to-slide-counter",children:"reset-page-counter-to-slide-counter"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#enable-frozen-states-and-counters",children:"enable-frozen-states-and-counters"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#frozen-states",children:"frozen-states"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#default-frozen-states",children:"default-frozen-states"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#frozen-counters",children:"frozen-counters"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#default-frozen-counters",children:"default-frozen-counters"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#label-only-on-last-subslide",children:"label-only-on-last-subslide"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#preamble",children:"preamble"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#default-preamble",children:"default-preamble"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#slide-preamble",children:"slide-preamble"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#default-slide-preamble",children:"default-slide-preamble"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#subslide-preamble",children:"subslide-preamble"}),", "]}
1),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#default-subslide-preamble",children:"default-subslide-preamble"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#page-preamble",children:"page-preamble"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#default-page-preamble",children:"default-page-preamble"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#show-only-notes",children:"show-only-notes"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#show-notes-on-second-screen",children:"show-notes-on-second-screen"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#horizontal-line-to-pagebreak",children:"horizontal-line-to-pagebreak"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#reset-footnote-number-per-slide",children:"reset-footnote-number-per-slide"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#nontight-list-enum-and-terms",children:"nontight-list-enum-and-terms"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#align-list-marker-with-baseline",children:"align-list-marker-with-baseline"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#align-enum-marker-with-baseline",children:"align-enum-marker-with-baseline"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#scale-list-items",children:"scale-list-items"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#show-hide-set-list-marker-none",children:"show-hide-set-list-marker-none"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#show-bibliography-as-footnote",children:"show-bibliography-as-footnote"}),", "]}),(0,i.jsxs)(d,{children:[(0,i.jsx)(s.a,{href:"#default-composer",children:"default-composer"}),", "]}),(0,i.jsx)(d,{children:(0,i.jsx)(s.a,{href:"#args",children:"..args"})}),")",(0,i.jsx)(c,{href:"https://github.com/touying-typ/touying/blob/main/src/configs.typ#L249"})]})}),"\n",(0,i.jsx)(s.p,{children:"The common configurations of the slides."}),"\n",(0,i.jsxs)(r,{children:[(0,i.jsxs)(s.h3,{id:"breakable",children:["breakable : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to allow slide content to overflow to the next page. When ",(0,i.jsx)(s.code,{children:"true"})," (default), content that exceeds the slide height will automatically create new pages. When ",(0,i.jsx)(s.code,{children:"false"}),", content is constrained to a single page using a non-breakable block, which is useful for ensuring a strict one-to-one mapping between source slides and output pages in agentic workflows. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"clip",children:["clip : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to clip overflowing slide content when ",(0,i.jsx)(s.code,{children:"breakable"})," is ",(0,i.jsx)(s.code,{children:"false"}),". When ",(0,i.jsx)(s.code,{children:"true"}),", content that exceeds the slide height will be visually truncated. When ",(0,i.jsx)(s.code,{children:"false"}),", overflowing content remains visible but does not create new pages. Only takes effect when ",(0,i.jsx)(s.code,{children:"breakable"})," is ",(0,i.jsx)(s.code,{children:"false"}),". Default is ",(0,i.jsx)(s.code,{children:"false"}),"."]})}),(0,i.jsxs)(s.h3,{id:"detect-overflow",children:["detect-overflow : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to detect and warn on slide content overflow when ",(0,i.jsx)(s.code,{children:"breakable"})," is ",(0,i.jsx)(s.code,{children:"false"}),". When ",(0,i.jsx)(s.code,{children:"true"}),", a layout measurement is performed and a warning is emitted if the content height exceeds the available slide height, which is useful for catching overflow early in agentic workflows without aborting compilation. When ",(0,i.jsx)(s.code,{children:"false"}),", no overflow detection is performed. Only takes effect when ",(0,i.jsx)(s.code,{children:"breakable"})," is ",(0,i.jsx)(s.code,{children:"false"}),". Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"handout",children:["handout : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to enable the handout mode. By default, it retains only the last subslide of each slide, but this can be overridden via ",(0,i.jsx)(s.code,{children:"handout-subslides"}),". Default is ",(0,i.jsx)(s.code,{children:"false"}),"."]})}),(0,i.jsxs)(s.h3,{id:"handout-subslides",children:["handout-subslides : ",(0,i.jsx)(a,{type:"none"})," | ",(0,i.jsx)(a,{type:"int"})," | ",(0,i.jsx)(a,{type:"array"})," | ",(0,i.jsx)(a,{type:"str"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The subslides to include in handout mode. Accepts the same format as ",(0,i.jsx)(s.code,{children:"visible-subslides"})," (e.g. ",(0,i.jsx)(s.code,{children:"2"}),", ",(0,i.jsx)(s.code,{children:"(1, 3)"}),", ",(0,i.jsx)(s.code,{children:'"2-"'}),", ",(0,i.jsx)(s.code,{children:'"1, 3-5"'}),"). When ",(0,i.jsx)(s.code,{children:"none"}),", the last subslide is used (default behavior). Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"slide-level",children:["slide-level : ",(0,i.jsx)(a,{type:"int"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The level of the slides. Default is ",(0,i.jsx)(s.code,{children:"2"}),", which means the level 1 and 2 headings will be treated as slides."]})}),(0,i.jsxs)(s.h3,{id:"slide-fn",children:["slide-fn : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsx)(s.p,{children:"The function to create a new slide."})}
1),(0,i.jsxs)(s.h3,{id:"new-section-slide-fn",children:["new-section-slide-fn : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The function to create a new slide for a new section. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"new-subsection-slide-fn",children:["new-subsection-slide-fn : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The function to create a new slide for a new subsection. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"new-subsubsection-slide-fn",children:["new-subsubsection-slide-fn : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The function to create a new slide for a new subsubsection. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"new-subsubsubsection-slide-fn",children:["new-subsubsubsection-slide-fn : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The function to create a new slide for a new subsubsubsection. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"receive-body-for-new-section-slide-fn",children:["receive-body-for-new-section-slide-fn : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to receive the body for the new section slide function. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"receive-body-for-new-subsection-slide-fn",children:["receive-body-for-new-subsection-slide-fn : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to receive the body for the new subsection slide function. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"receive-body-for-new-subsubsection-slide-fn",children:["receive-body-for-new-subsubsection-slide-fn : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to receive the body for the new subsubsection slide function. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"receive-body-for-new-subsubsubsection-slide-fn",children:["receive-body-for-new-subsubsubsection-slide-fn : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to receive the body for the new subsubsubsection slide function. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"show-strong-with-alert",children:["show-strong-with-alert : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to show strong with alert. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"datetime-format",children:["datetime-format : ",(0,i.jsx)(a,{type:"auto"})," | ",(0,i.jsx)(a,{type:"str"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The format of the datetime. Default is ",(0,i.jsx)(s.code,{children:"auto"}),"."]})}),(0,i.jsxs)(s.h3,{id:"appendix",children:["appendix : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Is touying in the appendix mode. The last-slide-counter will be frozen in the appendix mode. Default is ",(0,i.jsx)(s.code,{children:"false"}),"."]})}),(0,i.jsxs)(s.h3,{id:"freeze-slide-counter",children:["freeze-slide-counter : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to freeze the slide counter. Default is ",(0,i.jsx)(s.code,{children:"false"}),"."]})}),(0,i.jsxs)(s.h3,{id:"zero-margin-header",children:["zero-margin-header : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to show the full header (with negative padding). Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"zero-margin-footer",children:["zero-margin-footer : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to show the full footer (with negative padding). Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"auto-offset-for-heading",children:["auto-offset-for-heading : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to add an offset relative to slide-level for headings. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"enable-pdfpc",children:["enable-pdfpc : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to add ",(0,i.jsx)(s.code,{children:"<pdfpc-file>"})," label for querying. Default is ",(0,i.jsx)(s.code,{children:"true"}),". You can export the .pdfpc file directly using: ",(0,i.jsx)(s.code,{children:'typst query --root . ./example.typ --field value --one "<pdfpc-file>" > ./example.pdfpc'})]})}),(0,i.jsxs)(s.h3,{id:"enable-mark-warning",children:["enable-mark-warning : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to enable the mark warning. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"reset-page-counter-to-slide-counter",children:["reset-page-counter-to-slide-counter : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to reset the page counter to the slide counter. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"show-only-notes",children:["show-only-notes : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to show the speaker notes as the main content with the slide shown as a small thumbnail in the top right corner. Default is ",(0,i.jsx)(s.code,{children:"false"}),". This is similar to LaTeX Beamer's ",(0,i.jsx)(s.code,{children:"\\setbeameroption{show only notes}"}),". It is useful for using speaker notes with presentation tools that let you load two PDFs and synchronize them, one to display on the main screen and one on the auxiliary screen."]})}),(0,i.jsxs)(s.h3,{id:"show-notes-on-second-screen",children:["show-notes-on-second-screen : ",(0,i.jsx)(a,{type:"none"})," | ",(0,i.jsx)(a,{type:"alignment"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to show the speaker notes on the second screen. Default is ",(0,i.jsx)(s.code,{children:"none"}),". Currently, the alignment can be ",(0,i.jsx)(s.code,{children:"none"}),", ",(0,i.jsx)(s.code,{children:"bottom"}),", and ",(0,i.jsx)(s.code,{children:"right"}),"."]})}),(0,i.jsxs)(s.h3,{id:"horizontal-line-to-pagebreak",children:["horizontal-line-to-pagebreak : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to convert horizontal lines to page breaks. Default is ",(0,i.jsx)(s.code,{children:"true"}),". You can use markdown-like syntax ",(0,i.jsx)(s.code,{children:"---"})," to divide slides."]})}),(0,i.jsxs)(s.h3,{id:"reset-footnote-number-per-slide",children:["reset-footnote-number-per-slide : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to reset the footnote number per slide. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"nontight-list-enum-and-terms",children:["nontight-list-enum-and-terms : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to make ",(0,i.jsx)(s.code,{children:"tight"}
1)," argument always be ",(0,i.jsx)(s.code,{children:"false"})," for list, enum, and terms. Default is ",(0,i.jsx)(s.code,{children:"false"}),"."]})}),(0,i.jsxs)(s.h3,{id:"align-list-marker-with-baseline",children:["align-list-marker-with-baseline : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to align the list marker with the baseline. Default is ",(0,i.jsx)(s.code,{children:"false"}),"."]})}),(0,i.jsxs)(s.h3,{id:"align-enum-marker-with-baseline",children:["align-enum-marker-with-baseline : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to align the enum marker with the baseline. Default is ",(0,i.jsx)(s.code,{children:"false"}),". It will only work when the enum item has a number like ",(0,i.jsx)(s.code,{children:"1."}),"."]})}),(0,i.jsxs)(s.h3,{id:"scale-list-items",children:["scale-list-items : ",(0,i.jsx)(a,{type:"none"})," | ",(0,i.jsx)(a,{type:"float"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to scale the list items recursively. For example, ",(0,i.jsx)(s.code,{children:"scale-list-items: 0.8"})," will scale the list items by 0.8. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"enable-frozen-states-and-counters",children:["enable-frozen-states-and-counters : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to enable the frozen states and counters. It is useful for equations, figures, and theorems. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"show-hide-set-list-marker-none",children:["show-hide-set-list-marker-none : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to set the list marker to none for hide function. Default is ",(0,i.jsx)(s.code,{children:"true"}),"."]})}),(0,i.jsxs)(s.h3,{id:"show-bibliography-as-footnote",children:["show-bibliography-as-footnote : ",(0,i.jsx)(a,{type:"bool"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["Whether to show the bibliography as footnote. Default is ",(0,i.jsx)(s.code,{children:"none"}),". It receives a bibliography function like ",(0,i.jsx)(s.code,{children:'bibliography(title: none, "ref.bib")'}),", or a dict like ",(0,i.jsx)(s.code,{children:'(numbering: "[1]", bibliography: bibliography(title: none, "ref.bib"))'}),"."]})}),(0,i.jsxs)(s.h3,{id:"frozen-states",children:["frozen-states : ",(0,i.jsx)(a,{type:"array"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The frozen states for the frozen states and counters. Default is ",(0,i.jsx)(s.code,{children:"()"}),"."]})}),(0,i.jsxs)(s.h3,{id:"default-frozen-states",children:["default-frozen-states : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The default frozen states for the frozen states and counters. Default is state for ",(0,i.jsx)(s.code,{children:"ctheorems"})," package."]})}),(0,i.jsxs)(s.h3,{id:"frozen-counters",children:["frozen-counters : ",(0,i.jsx)(a,{type:"array"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The frozen counters for the frozen states and counters. You can pass some counters like ",(0,i.jsx)(s.code,{children:"(counter(math.equation),)"}),". Default is ",(0,i.jsx)(s.code,{children:"()"}),"."]})}),(0,i.jsxs)(s.h3,{id:"default-frozen-counters",children:["default-frozen-counters : ",(0,i.jsx)(a,{type:"array"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The default frozen counters for the frozen states and counters. The default value is ",(0,i.jsx)(s.code,{children:"(counter(math.equation), counter(figure.where(kind: table)), counter(figure.where(kind: image)))"}),"."]})}),(0,i.jsxs)(s.h3,{id:"label-only-on-last-subslide",children:["label-only-on-last-subslide : ",(0,i.jsx)(a,{type:"array"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["We only label some contents in the last subslide, which is useful for ref equations, figures, footnotes, and theorems with multiple subslides. Default is ",(0,i.jsx)(s.code,{children:"(figure, math.equation, footnote)"}),"."]})}),(0,i.jsxs)(s.h3,{id:"preamble",children:["preamble : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The function to run before each slide. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"default-preamble",children:["default-preamble : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsx)(s.p,{children:"The default preamble for each slide. Default is a function to check the mark warning and add pdfpc file."})}),(0,i.jsxs)(s.h3,{id:"slide-preamble",children:["slide-preamble : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The function to run before each slide. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"default-slide-preamble",children:["default-slide-preamble : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The default preamble for each slide. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"subslide-preamble",children:["subslide-preamble : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The function to run before each subslide. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}
1),(0,i.jsxs)(s.h3,{id:"default-subslide-preamble",children:["default-subslide-preamble : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The default preamble for each subslide. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"page-preamble",children:["page-preamble : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The function to run before each page. Default is ",(0,i.jsx)(s.code,{children:"none"}),"."]})}),(0,i.jsxs)(s.h3,{id:"default-page-preamble",children:["default-page-preamble : ",(0,i.jsx)(a,{type:"function"})]}),(0,i.jsx)(n,{children:(0,i.jsx)(s.p,{children:"The default preamble for each page. Default is a function to reset the footnote number per slide and reset the page counter to the slide counter."})}),(0,i.jsxs)(s.h3,{id:"default-composer",children:["default-composer : ",(0,i.jsx)(a,{type:"auto"})," | ",(0,i.jsx)(a,{type:"function"})," | ",(0,i.jsx)(a,{type:"array"})]}),(0,i.jsx)(n,{children:(0,i.jsxs)(s.p,{children:["The default composer for slides. It is used when the ",(0,i.jsx)(s.code,{children:"composer"})," argument of the ",(0,i.jsx)(s.code,{children:"slide"})," function is ",(0,i.jsx)(s.code,{children:"auto"}),". Default is ",(0,i.jsx)(s.code,{children:"auto"}),", which falls back to using ",(0,i.jsx)(s.code,{children:"cols.with(lazy-layout: false)"}),". For example, ",(0,i.jsx)(s.code,{children:"config-common(default-composer: cols.with(lazy-layout: false, gutter: 2em))"})," sets the default gutter between columns to ",(0,i.jsx)(s.code,{children:"2em"})," for all slides."]})})]}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Returns:"})," ",(0,i.jsx)(a,{type:"dictionary"})]})]})}function h(e={}){const{wrapper:s}={...(0,l.a)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}function u(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,s,n)=>{n.d(s,{Z:()=>o,a:()=>t});var i=n(67294);const l={},r=i.createContext(l);function t(e){const s=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:t(e.components),i.createElement(r.Provider,{value:s},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.