1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2032],{53550:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>s,default:()=>c,frontMatter:()=>i,metadata:()=>a,toc:()=>u});var o=n(85893),r=n(11151);const i={slug:"touying-0-6-1",title:"Touying 0.6.1",authors:"orangex4",tags:["release"]},s=void 0,a={permalink:"/blog/touying-0-6-1",editUrl:"https://github.com/touying-typ/touying-typ.github.io/tree/main/blog/2025-01-01-touying-0-6-1.md",source:"@site/blog/2025-01-01-touying-0-6-1.md",title:"Touying 0.6.1",description:"Touying 0.6.1 adds first-class support for the theorion package and uses it as the default math theorem environment.",date:"2025-01-01T00:00:00.000Z",formattedDate:"January 1, 2025",tags:[{label:"release",permalink:"/blog/tags/release"}],readingTime:.51,hasTruncateMarker:!0,authors:[{name:"OrangeX4",title:"Maintainer of Touying.",url:"https://github.com/OrangeX4",imageURL:"https://orangex4.cool/images/icons/profile.jpg",key:"orangex4"}],frontMatter:{slug:"touying-0-6-1",title:"Touying 0.6.1",authors:"orangex4",tags:["release"]},unlisted:!1,nextItem:{title:"Touying 0.6.0",permalink:"/blog/touying-0-6-0"}},l={authorsImageUrls:[void 0]},u=[{value:"What's New",id:"whats-new",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:["Touying 0.6.1 adds first-class support for the ",(0,o.jsx)(t.a,{href:"https://github.com/OrangeX4/typst-theorion",children:"theorion"})," package and uses it as the default math theorem environment."]}),"\n",(0,o.jsx)(t.h2,{id:"whats-new",children:"What's New"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Theorion integration"}),": Added built-in support for the ",(0,o.jsx)(t.code,{children:"theorion"})," package, which provides beautiful numbered theorem, lemma, corollary, definition, and proof environments. It is now the recommended way to write theorem blocks in Touying slides."]}),"\n"]}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-typst",children:'#import "@preview/touying:0.6.1": *\n#import themes.university: *\n#import "@preview/theorion:0.3.2": *\n#import cosmos.clouds: *\n#show: show-theorion\n\n#show: university-theme.with(\n aspect-ratio: "16-9",\n config-common(frozen-counters: (theorem-counter,)),\n)\n\n= Theorems\n\n== Prime numbers\n\n#theorem(title: "Euclid")[\n There are infinitely many primes.\n]\n'})}),"\n",(0,o.jsxs)(t.p,{children:["See the ",(0,o.jsx)(t.a,{href:"/docs/integration/theorion",children:"Theorion integration guide"})," for more details."]})]})}function c(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},11151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>s});var o=n(67294);const r={},i=o.createContext(r);function s(e){const t=o.useContext(i);return o.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),o.createElement(i.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.