PageSourceSearch

https://touying-typ.github.io/assets/js/b1702aae.dcb0702b.js

js touying-typ.github.io collected 2026-10-03 10:07:30 UTC 4,304 bytes, 1 lines download raw bytes

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