1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3899],{5407:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>h,frontMatter:()=>o,metadata:()=>a,toc:()=>l});var i=n(85893),r=n(11151);const o={sidebar_position:2,description:"Title slide for the presentation.",toc_max_heading_level:2},s="title-slide",a={id:"reference/themes/aqua/title-slide",title:"title-slide",description:"Title slide for the presentation.",source:"@site/docs/reference/themes/aqua/title-slide.mdx",sourceDirName:"reference/themes/aqua",slug:"/reference/themes/aqua/title-slide",permalink:"/docs/reference/themes/aqua/title-slide",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2,description:"Title slide for the presentation.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"slide",permalink:"/docs/reference/themes/aqua/slide"},next:{title:"outline-slide",permalink:"/docs/reference/themes/aqua/outline-slide"}},c={},l=[{value:"config : <TypeLink></TypeLink> <Default><code>(:)</code></Default>",id:"config",level:3},{value:"extra : <TypeLink></TypeLink> | <TypeLink></TypeLink> <Default><code>none</code></Default>",id:"extra",level:3}];function d(e){const t={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",pre:"pre",...(0,r.a)(),...e.components},{Default:n,Param:o,Parameters:s,Signature:a,SignatureName:c,SignatureParam:l,SourceLink:d,TypeLink:h}=t;return n||u("Default",!0),o||u("Param",!0),s||u("Parameters",!0),a||u("Signature",!0),c||u("SignatureName",!0),l||u("SignatureParam",!0),d||u("SourceLink",!0),h||u("TypeLink",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"title-slide",children:"title-slide"}),"\n",(0,i.jsx)(a,{children:(0,i.jsxs)("code",{children:[(0,i.jsx)(c,{children:"title-slide"}),"(",(0,i.jsxs)(l,{children:[(0,i.jsx)(t.a,{href:"#config",children:"config: (:)"}),", "]}),(0,i.jsxs)(l,{children:[(0,i.jsx)(t.a,{href:"#extra",children:"extra: none"}),", "]}),(0,i.jsx)(l,{children:(0,i.jsx)(t.a,{href:"#args",children:"..args"})}),")",(0,i.jsx)(d,{href:"https://github.com/touying-typ/touying/blob/main/themes/aqua.typ#L96"})]})}),"\n",(0,i.jsxs)(t.p,{children:["Title slide for the presentation. You should update the information in the ",(0,i.jsx)(t.code,{children:"config-info"})," function. You can also pass the information directly to the ",(0,i.jsx)(t.code,{children:"title-slide"})," function."]}),"\n",(0,i.jsx)(t.p,{children:"Example:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-typst",children:"#show: aqua-theme.with(\n config-info(\n title: [Title],\n ),\n)\n\n#title-slide(subtitle: [Subtitle], extra: [Extra information])\n"})}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsxs)(t.h3,{id:"config",children:["config : ",(0,i.jsx)(h,{type:"dictionary"})," ",(0,i.jsx)(n,{children:(0,i.jsx)(t.code,{children:"(:)"})})]}),(0,i.jsx)(o,{children:(0,i.jsxs)(t.p,{children:["The configuration of the slide. You can use ",(0,i.jsx)(t.code,{children:"config-xxx"})," to set the configuration of the slide. For more configurations, you can use ",(0,i.jsx)(t.code,{children:"utils.merge-dicts"})," to merge them."]})}),(0,i.jsxs)(t.h3,{id:"extra",children:["extra : ",(0,i.jsx)(h,{type:"content"})," | ",(0,i.jsx)(h,{type:"none"})," ",(0,i.jsx)(n,{children:(0,i.jsx)(t.code,{children:"none"})})]}),(0,i.jsx)(o,{children:(0,i.jsx)(t.p,{children:"The extra information you want to display on the title slide."})})]})]})}function h(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}function u(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>s});var i=n(67294);const r={},o=i.createContext(r);function s(e){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),i.createElement(o.Provider,{value:t},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.