### Quick Start with Touying Simple Theme Source: https://typst.app/universe/package/touying-aqua Demonstrates the basic setup for creating a presentation using Touying with the simple theme. Ensure Typst is installed or use the Web App. ```typst #import "@preview/touying:0.7.3": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") = Title == First Slide Hello, Touying! #pause Hello, Typst! ``` -------------------------------- ### Basic Typst Setup with ctz-euclide Source: https://typst.app/universe/package/ctz-euclide Quick start example demonstrating how to import and use ctz-euclide for basic geometric constructions. Includes point definition, drawing, and labeling. ```typst #import "@preview/ctz-euclide:0.1.5": * #ctz-canvas({ import cetz.draw: * ctz-init() ctz-style(point: (shape: "cross", size: 0.1, stroke: black + 1.5pt)) // Define points ctz-def-points(A: (0, 0), B: (4, 0), C: (2, 3)) // Draw triangle ctz-draw-line("A", "B", "C", "A", stroke: black) // Mark points and add labels ctz-draw-points("A", "B", "C") ctz-draw-labels("A", "B", "C", A: "below left", B: "below right", C: "above") // Mark an angle ctz-draw-angle("A", "B", "C", label: $alpha$, radius: 0.5) }) ``` -------------------------------- ### Quickstart Songbook Setup Source: https://typst.app/universe/package/songb Set up a Typst project with the songb package to display songs. Includes page layout, importing songb, and including song files. ```typst #set page(paper: "a6",margin: (inside: 14mm, outside: 6mm, y: 10mm)) #import "@preview/songb:0.1.0": autobreak, index-by-letter // helper function, to include you own songs (feel free to customize) #let song(path) = { // WARNING: autobreak is currently broken (does not converge) // see https://github.com/typst/typst/discussions/4530 autobreak(include path) v(-1.19em) } // indexes (put them wherever you want, or comment them out) = Song Index #index-by-letter() = Singer Index #index-by-letter() #pagebreak() // include all you songs, in the right order #song("./songs/first_song.typ") #song("./songs/other_song.typ") // ... ``` -------------------------------- ### Install sdu-touying-simpl Template Source: https://typst.app/universe/package/sdu-touying-simpl Use this command to install the sdu-touying-simpl template via Typst Universe. This is the recommended method for local project setup. ```bash typst init @preview/sdu-touying-simpl:1.0.1 ``` -------------------------------- ### Typst Usage Example with Project Setup Source: https://typst.app/universe/package/academi-notes-gr A comprehensive example demonstrating how to import the template and use its features, including project parameters and mathematical environments. ```typst #import "@preview/academi-notes-gr:0.1.0": * #show: project.with( title: "Introduction to Probability Theory", author: "Miguel Ángel De la Vega Rodriguez", academic-year: "Curso 2025-2026", logo: image("UGR-Logo.png", width: 40%), github: "https://github.com/Miguevrgo", ) = Chapter 1: Basic Concepts == Probability Spaces #definicion("Probability Space")[ A probability space is a triple $(Omega, cal(A), P)$ where: - $Omega$: Sample space - $cal(A)$: σ-algebra of events - $P$: Probability measure with $P(Omega) = 1$ ] #teorema("Central Limit Theorem")[ For i.i.d. random variables $X_1, ..., X_n$ with mean $mu$ and variance $sigma^2$: $ sqrt(n)(bar(X)_n - mu) / sigma arrow.r N(0,1) $ ] ``` -------------------------------- ### Initialize Guided Resume Starter CGC with Typst CLI Source: https://typst.app/universe/package/guided-resume-starter-cgc Use this command to start a new project on your computer using the Guided Resume Starter CGC template version 2.0.0. ```bash typst init @preview/guided-resume-starter-cgc:2.0.0 ``` -------------------------------- ### Initialize New Project with Specific Version Source: https://typst.app/universe/package/touying-brandred-uobristol Use this Typst CLI command to start a new project on your computer with a specific version of the Touying Branded UOBristol theme. Ensure you have the Typst CLI installed. ```bash typst init @preview/touying-brandred-uobristol:0.2.0 ``` -------------------------------- ### Quick Start: Vertical Stack Diagram Source: https://typst.app/universe/package/facade Create a simple vertical stack of layers using `dg-layers`. This is a basic example for getting started. ```typst #import "@preview/facade:0.1.0": * // Simple vertical stack #dg-layers( [Presentation Layer], [Business Logic], [Data Access Layer], [Database], ) ``` -------------------------------- ### Basic Package Import Source: https://typst.app/universe/package/ionio-illustrate A minimal example demonstrating how to import the ionio-illustrate package. This is useful for getting started quickly. ```typst #import "@preview/ionio-illustrate:0.2.0" ``` -------------------------------- ### Initialize Touying-Quick Project with CLI Source: https://typst.app/universe/package/touying-quick Use the Typst CLI to initialize a new project with the touying-quick template. This command downloads and sets up the template in your current directory. ```bash typst init @preview/touying-quick:0.4.2 ``` -------------------------------- ### Initialize Project with CLI Source: https://typst.app/universe/package/minimal-presentation Use this command to start a new project with the minimal-presentation template via the Typst CLI. ```bash typst init @preview/minimal-presentation ``` -------------------------------- ### Add Example with Hidden Boilerplate Source: https://typst.app/universe/package/toot Includes a Typst code example where specific lines, marked with `// START` and `// STOP`, are shown on the website, while other lines are hidden. This is useful for omitting distracting setup code. ```typst #example( ```typ #some-invisible-setup(a: 13, b: ) // START This line will appear on the website. // STOP This will be hidden again // START This will be shown. ``` ) ``` -------------------------------- ### Quickstart: Generate Step Diagram Source: https://typst.app/universe/package/fibber Generates a generic step diagram using `step-diagram` and `format-legend` with specified columns, device steps, step descriptions, and legend. ```typst #step-diagram( columns: 2, device-steps: device-steps, step-desc: step-desc, legend: format-legend(columns: 2, materials: materials,), ``` -------------------------------- ### Initialize Project with Typst CLI (English) Source: https://typst.app/universe/package/touying-simpl-swufe Use the Typst CLI to start a new project using the touying-simpl-swufe template, specifying the version. ```bash typst init @preview/touying-simpl-swufe:0.2.0 ``` -------------------------------- ### Setup and Content Creation in Leonux Source: https://typst.app/universe/package/leonux Demonstrates how to import the Leonux package, set up presentation parameters like title, author, and date, and create slides with content, citations, and blocks. Use this for the main structure of your presentation. ```typst #import "@preview/leonux:1.1.0": * // Setup the format and enter personal information #show: setup.with( ratio: "16-9", primary: rgb("137C24"), // This is the default color, if primary: none title: "Title of the presentation", subtitle: "Subtitle of the presentation", date: "April 9, 2025", author: "Name", institute: "Institute" ) // slide number only counts slide and content,references (both based on slide) // Create titlepage #titlepage() // Create Table of contents (shows sections, not slides) #content(title: "Content") // Create a section #section(title: "Probability") // Create a slide #slide(title: "Name of the slide")[ - Some content - Some citation @ref of Leonux #footnote("Leonux - minimalistic typst slides") // Create a block (e.g. for a definition) #my-block(title: "Definition: Law of large numbers")[ $ forall epsilon > 0: lim_(n -> infinity) P(|r_n - p| <= epsilon) = 1 $ Or in words: For large $n$ applies: $p approx r_n$. ] This text will be shown on the first and second subslide. \ #show: later // Make following content appear on the next subslide This text will only be shown on the second subslide. ] // Create bibliography #references(title:"References")[ #bibliography("bibliography.bib") ] ``` -------------------------------- ### Initialize Noteworthy Template via CLI (Duplicate) Source: https://typst.app/universe/package/noteworthy Use this command to start a new Typst project with the Noteworthy template using the command-line interface. This is a repeated example from the installation section. ```bash typst init @preview/noteworthy:0.3.0 ``` -------------------------------- ### Initialize Project with CLI Source: https://typst.app/universe/package/clean-print-cv Start a new project on your computer using the Typst CLI and the clean-print-cv template. This command downloads and sets up the template. ```bash typst init @preview/clean-print-cv:0.1.0 ``` -------------------------------- ### Install TypstJlyfish Julia Package Source: https://typst.app/universe/package/jlyfish Install the necessary Julia package for Jlyfish integration. This is a one-time setup. ```julia julia> ] (@v1.10) pkg> add TypstJlyfish ``` -------------------------------- ### Initialize Project with Template Source: https://typst.app/universe/package/typographix-polytechnique-slides Use the Typst CLI to start a new project with this template. Ensure you have the correct version specified. ```bash typst init @preview/typographix-polytechnique-slides:0.2.0 ``` -------------------------------- ### Auto-Bidi: First-Character Detection Example Source: https://typst.app/universe/package/auto-bidi Demonstrates the default first-character detection mode. The direction of a paragraph is determined by the script of its first recognized character. This example shows how a paragraph starting with Hebrew is RTL, while one starting with English is LTR. ```typst // starts with Hebrew → RTL הרבה עברית כתובה פה with some English // starts with English → LTR A הרבה עברית כתובה פה ``` -------------------------------- ### Import and Setup Beautitled Package Source: https://typst.app/universe/package/beautitled Import the beautitled package and apply its initial setup for document titles. This is the basic setup required to start using the package's features. ```typst #import "@preview/beautitled:0.1.0": * #beautitled-setup(style: "titled") #show: beautitled-init = My Chapter Title == My Section Title === My Subsection Title ``` -------------------------------- ### Initialize New Project with Twilight Book CLI Source: https://typst.app/universe/package/twilight-book Use the Typst CLI to initialize a new project with the twilight-book package. ```bash typst init @preview/twilight-book:0.1.8 ``` -------------------------------- ### Initialize Typst Resume Starter Project Source: https://typst.app/universe/package/guided-resume-starter-cgc Use this command to download and initialize the resume starter template using the Typst CLI. ```bash typst init @preview/resume-starter-cgc ``` -------------------------------- ### Basic Template Setup in Typst Source: https://typst.app/universe/package/unofficial-kth-thesis-proposal Import and show the proposal template in a new Typst file. This is the minimal setup required to start using the template. ```typst #import "@preview/unofficial-kth-thesis-proposal:0.2.0": proposal #show: proposal = Name and e-mail address of the student John Doe \ #link("mailto:john.doe@kth.se") = Thesis title Your preliminary thesis title here = Background Describe the research area, how the project connects to current research, why it's interesting, and the organization's interest in it. // ... continue with other sections ``` -------------------------------- ### Quick Start Presentation Setup Source: https://typst.app/universe/package/metropolyst Basic setup for a Metropolyst presentation, including importing the theme, configuring presentation info, and setting text styles. ```typst #import "@preview/metropolyst:0.1.0": metropolyst-theme, brands #show: metropolyst-theme.with( config-info( title: [Your Title], subtitle: [Your Subtitle], author: [Your Name], date: datetime.today(), institution: [Your Institution], ), ) #set text(font: "Fira Sans", weight: "light", size: 20pt) #set strong(delta: 100) #title-slide() == Section Title #slide[ = Slide Title Your content here... ] ``` -------------------------------- ### Initialize Project with Version Source: https://typst.app/universe/package/upb-corporate-design-slides Use this command to start a new Typst project on your computer using a specific version of the upb-corporate-design-slides template. ```bash typst init @preview/upb-corporate-design-slides:0.1.3 ``` -------------------------------- ### Initialize Project with CLI Source: https://typst.app/universe/package/sleek-university-assignment Use the Typst CLI to initialize a new project with the sleek-university-assignment template. ```bash typst init @preview/sleek-university-assignment:0.1.0 ``` -------------------------------- ### Initialize Project with Setup Script Source: https://typst.app/universe/package/easy-wi-hwr Set up a new project interactively by cloning the repository and running the setup script. This script guides you through project configuration. ```bash git clone https://github.com/lultoni/easy-wi-hwr.git bash easy-wi-hwr/scripts/init.sh ``` -------------------------------- ### Install Basic Academic Letter Template Source: https://typst.app/universe/package/basic-academic-letter Use this CLI command to directly install and start the basic-academic-letter template. Typst will automatically create the relevant directories. ```bash typst init @preview/basic-academic-letter ``` -------------------------------- ### Initialize Project via Typst CLI (Versioned) Source: https://typst.app/universe/package/ethz-iis-research-plan Use the Typst CLI to start a new project with a specific version of the ethz-iis-research-plan template. ```bash typst init @preview/ethz-iis-research-plan:1.0.0 ``` -------------------------------- ### Build Website with Make Source: https://typst.app/universe/package/tufted Run this command to build the static website after initializing the Tufted template. ```bash make html ``` -------------------------------- ### Typst Template Setup with Metadata Source: https://typst.app/universe/package/typxidian A minimal example demonstrating how to import and configure the TypXidian template with thesis metadata. Ensure all required fields are populated for a complete setup. ```typst #import "@preview/typxidian:1.1.1": * #show: template.with( title: [TypXidian], subtitle: [A template for academic writing written in Typst], department: [Department of Computer Science], course: [Master of Science (Computer Science)], university: [University of Salerno], academic-year: [2024-2025], authors: ((name: "Mario Rossi", email: "mario@rossi.it", num: "Registration Number: XXXX"),), supervisors: ("Prof. Giuseppe Verdi", "Prof. Mario Bianchi"), is-thesis: true, thesis-type: [master thesis], abbreviations: abbreviations, chapter-alignment: right, bib: bibliography("bibliography.bib"), quote: quote(block: true, quotes: true, attribution: [Some wise guy], [#lorem(25)]), abstract: lorem(200), ) ``` -------------------------------- ### Minimal Thesis Template Setup Source: https://typst.app/universe/package/h-brs-thesis-unofficial Basic setup for the thesis template, including title, author, work type, and date. Essential for starting a new thesis document. ```typst #import "@preview/h-brs-thesis-unofficial:0.1.1": template #show: template.with( title: "Titel der Arbeit", authors: "Max Mustermann", type-of-work: "Bachelorarbeit", date: "01. Januar 2026", ) = Einleitung Text... ``` -------------------------------- ### Quick Start: Using Uniwarn Source: https://typst.app/universe/package/uniwarn Demonstrates registering a namespace, creating a package-specific warning function, and using disable/enable warnings. ```typst #import "@preview/uniwarn:0.1.1" as uwarn #let ns = "your-package" #uwarn.register-namespace(ns) // will panic if already registered by another package #let pkg-warning = uwarn.warning.with(namespace: ns, prefix: "[yr-pkg] ") // Visible by default #pkg-warning("Unsupported option \"foo\"; falling back to default.") // Disable all warnings in this namespace #uwarn.disable-warnings(ns) #pkg-warning("This will not be shown.") // Re-enable later #uwarn.enable-warnings(ns) #pkg-warning("Warnings are visible again.") ``` -------------------------------- ### Initialize New Project with CLI Source: https://typst.app/universe/package/elsevier-replica Use this Typst CLI command to start a new project on your computer using the elsevier-replica template. ```bash typst init @preview/elsevier-replica:0.1.0 ``` -------------------------------- ### Custom Head Section Function Example Source: https://typst.app/universe/package/quick-minutes Provides an example of how to handle start-time and end-time within the custom head section. It demonstrates conditional formatting for the start time if it exists. ```typst let start-time = start-time.final() if (start-time != none) [*#translate(“START”)*: #four-digits-to-time(start-time) ] ``` -------------------------------- ### Full Example with YAML Bibliography Source: https://typst.app/universe/package/debug-city Demonstrates a full Typst setup including `debug-cite` with a YAML bibliography entry. This example shows how to define a video entry and inspect its CSL representation. ```typst #set page(height: auto, width: 300pt, margin: 15pt) #import "@preview/debug-city:0.0.2": debug-cite #debug-cite() #bibliography(bytes( ```yaml key: type: video title: Title of Episode author: - Creator - Another contributor director: Director date: 2161 note: Season 1, Episode 1. archive: Streaming Platform url: https://example.com parent: title: Title of TV Series author: Production company ```.text, )) ``` -------------------------------- ### Initialize Project with CLI Source: https://typst.app/universe/package/exzellenz-tum-thesis Use this command to start a new project using the exzellenz-tum-thesis template via the Typst CLI. ```bash typst init @preview/exzellenz-tum-thesis ``` -------------------------------- ### Local Installation with Just Source: https://typst.app/universe/package/parcio-slides Steps to install the template locally using the 'Just - A Command Runner'. Requires cloning the repository and running the install command. ```bash git clone git@github.com:xkevio/parcio-typst.git cd parcio-typst/parcio-slides/ just install ``` -------------------------------- ### Configure TiefFiction Setup Source: https://typst.app/universe/package/tieffiction Use the `setup` function for manual layout control. This allows detailed configuration of book metadata, page dimensions, language, and header/footer styles. ```typst #show: setup.with( title: "Your Title", // Title used for metadata and title page author: ("Author 1", "Author 2"), // Author name or array of names publisher: "Your Publisher", // Publisher name(s) date: datetime(year: 2026, month: 2, day: 3), // datetime for publication (defaults to today) isbn: "000-0-00000-000-0", // ISBN string edition: 1, // Edition number or label blurb: "Back cover blurb.", // Blurb text stored in metadata dedication: "For someone.", // Dedication text stored in metadata license: "cc-by-nc-sa", // Creative Commons license id (e.g. "cc-by-nc-sa") paper: "a5", // Paper size when width/height not set margin: (x: 18mm, y: 20mm), // Page margin override width: none, // Page width override height: none, // Page height override language: languages.english-us, // TiefLang language key header-footer: header-footer-values.chapter-number-outside, // Sets the corresponding header and footer for main matter ) ``` -------------------------------- ### Quick Start Source: https://typst.app/universe/package/bidi-flow A quick example demonstrating the automatic direction detection for headings, paragraphs, and lists. ```APIDOC ## Quick start ``` #import "@preview/bidi-flow:0.1.1": * #show: bidi-flow = Hello // → LTR heading = שלום // → RTL heading automatically English paragraph here. פסקה בעברית מופיעה אוטומטית מימין לשמאל. - English list - items here - רשימה בעברית - מוצגת מימין לשמאל ``` ``` -------------------------------- ### Install Typst on Linux using Package Manager Source: https://typst.app/universe/package/std-sjtu-doctoral-annual-progress Installs Typst using the system's package manager. Examples provided for Arch Linux and Fedora. Debian/Ubuntu users may need alternative methods. ```bash # Arch Linux sudo pacman -S typst # Debian/Ubuntu(需要添加仓库) # 暂不支持,请使用方法二或方法三 # Fedora sudo dnf install typst ``` -------------------------------- ### Initialize Pepentation Project with CLI Source: https://typst.app/universe/package/pepentation Use the Typst CLI to create a new project with the Pepentation package. ```bash typst init @preview/pepentation:0.2.0 ``` -------------------------------- ### Basic Glossary Setup and Usage Source: https://typst.app/universe/package/glossarium Demonstrates the fundamental setup for creating and displaying a glossary. Ensure this is placed before any glossary term references. ```typst #import "@preview/glossarium:0.5.10": make-glossary, register-glossary, print-glossary, gls, glspl #show: make-glossary #let entry-list = ( ( key: "kuleuven", short: "KU Leuven", long: "Katholieke Universiteit Leuven", description: "A university in Belgium.", ), // Add more terms ) #register-glossary(entry-list) // Your document body #print-glossary( entry-list ) ``` -------------------------------- ### Get Example Usage Source: https://typst.app/universe/package/self-example Demonstrates how to use the getExample function from the self-example package. Ensure the package is imported first. ```typst #import "@preview/self-example:0.1.0": * #getExample("= Hello") ``` -------------------------------- ### Initialize Project with Typst CLI Source: https://typst.app/universe/package/elspub Use the Typst CLI to start a new project with the elspub template. This command downloads and sets up the specified package version for local development. ```bash typst init @preview/elspub:1.0.0 ``` -------------------------------- ### Show QRH with Title Source: https://typst.app/universe/package/quick-sip Starts a Quick Reference Handbook (QRH) with a specified title. This is the initial setup for a checklist document. ```typst #import "@preview/quick-sip:0.1.2": * #show: QRH.with(title: "Cup of Tea") ``` -------------------------------- ### Install neural-viz Package Source: https://typst.app/universe/package/neural-viz Import the neural-viz package to start drawing neural network graphs. Ensure you have the correct version specified. ```typst #import "@preview/neural-viz:0.1.0": * ``` -------------------------------- ### Initialize New Project with Touying Simpl HKUST(GZ) Source: https://typst.app/universe/package/touying-simpl-hkustgz Use this command to create a new Typst project pre-configured with the Touying Simpl HKUST(GZ) theme. After creation, navigate into the project directory and run 'typst watch main.typ' to start writing. ```bash $ typst init @preview/touying-simpl-hkustgz Successfully created new project from @preview/touying-simpl-hkustgz: To start writing, run: > cd touying-simpl-hkustgz > typst watch main.typ ``` -------------------------------- ### Initialize New Project with Template Source: https://typst.app/universe/package/unofficial-eirb-report Start a new project on your local machine using the Typst CLI by initializing it with the specified template package and version. ```bash typst init @preview/unofficial-eirb-report:0.1.0 ``` -------------------------------- ### Basic k-mapper Import Source: https://typst.app/universe/package/k-mapper A minimal example showing how to import the k-mapper package. This is useful for quick setup in new Typst projects. ```typst #import "@preview/k-mapper:1.4.0" ``` -------------------------------- ### Initialize Project with Quic-Style Template Source: https://typst.app/universe/package/quic-style Use the Typst CLI to initialize a new project with the Quic-Style template. This command downloads and sets up the template for local use. ```bash typst init @preview/quic-style:0.0.1 ``` -------------------------------- ### Initialize Gallus-HSG Template Locally Source: https://typst.app/universe/package/gallus-hsg Use this command to start a new project locally with the gallus-hsg template. Ensure you have the Typst CLI installed. ```bash typst init @preview/gallus-hsg:1.0.1 ``` -------------------------------- ### Automate Transition Slides Source: https://typst.app/universe/package/navigator Automates the creation of roadmap slides using a show rule. This example uses the global configuration for a clean setup. ```typst // Clean one-liner using global configuration #show heading: render-transition ``` -------------------------------- ### Initialize Touying PPT Project Source: https://typst.app/universe/package/touying-ppt-hustvn Use this command to create a new project with the Touying PPT theme using the Typst CLI. Ensure you have the specified version of the package installed. ```bash typst init @preview/touying-ppt-hustvn:0.1.0 ``` -------------------------------- ### Generate Examples with Standard Theme Source: https://typst.app/universe/package/keyle Use the standard theme provided by Keyle to generate examples of styled keyboard shortcuts. Ensure the 'kbd' configuration is set. ```typst #let kbd = keyle.config(theme: keyle.themes.standard) #keyle.gen-examples(kbd) ``` -------------------------------- ### Initialize Codez Package Source: https://typst.app/universe/package/codez Import and initialize the codez package for use in Typst documents. This is the basic setup required to start using its features. ```typst #import "@preview/codez:0.1.0": * #show: init.with() ``` -------------------------------- ### Initialize Project with Typst CLI Source: https://typst.app/universe/package/awesome-mff-cuni Use this command to start a new project on your computer using the template. ```bash typst init @preview/awesome-mff-cuni:0.1.0 ``` -------------------------------- ### Install Basic Academic Letter Template (Versioned) Source: https://typst.app/universe/package/basic-academic-letter Use this Typst CLI command to start a new project with a specific version of the basic-academic-letter template. ```bash typst init @preview/basic-academic-letter:0.2.0 ``` -------------------------------- ### Basic Template Setup and Usage Source: https://typst.app/universe/package/buaa-unofficial-gradient Imports the BUAA gradient template and applies a theme with basic presentation information. This is the starting point for creating slides. ```typst #import "@preview/buaa-unofficial-gradient:0.1.0": * #show: buaa-theme.with( config-info( title: [Buaa in Touying: Customize Your Slide Title Here], subtitle: [Customize Your Slide Subtitle Here], author: [Authors], date: datetime.today(), institution: [Institution], ), ) #title-slide() #outline-slide() = Section 1 == Slide 1 #end-slide() ``` -------------------------------- ### Initialize knowledge-key Project with CLI Source: https://typst.app/universe/package/knowledge-key Use this command to create a new project with the knowledge-key template using the Typst CLI. ```bash typst init @preview/knowledge-key ``` -------------------------------- ### Watch and Preview Website with Typst Source: https://typst.app/universe/package/toot Use this command to get a decent preview of your website during development. Note that examples will not be rendered and navigation between pages is not available. ```bash typst watch --features=html --format=html src/your-file.typ ``` -------------------------------- ### Initialize Project with Typst CLI Source: https://typst.app/universe/package/supercharged-hm Use the Typst CLI to start a new project on your computer using the specified package and version. ```bash typst init @preview/supercharged-hm:0.1.2 ``` -------------------------------- ### Import fine-lncs Template Locally Source: https://typst.app/universe/package/fine-lncs Example of how to import the fine-lncs template after it has been installed locally. This is useful during development to use the local version instead of a published one. ```typst #import "@local/fine-lncs:0.5.1": lncs, institute, author, theorem, proof ``` -------------------------------- ### Typst Project Configuration Example Source: https://typst.app/universe/package/visillos-excelencia Example of a main.typ file demonstrating how to import the template and configure project details like title, author, and supervisor. ```typst #import "@preview/plantilla-excelencia-gaite:0.1.0": * #show: proyecto.with( titulo: "Impacto de la Inteligencia Artificial en la Educación", autor: "Nombre del Alumno", supervisor: "Nombre del Profesor", fecha: "Mayo 2026", ) #include "Archivos/00_1_Abstract.typ" #include "Archivos/01_Introducción.typ" // Añade el resto de tus archivos aquí... ``` -------------------------------- ### Quick Start Plotting a Function Source: https://typst.app/universe/package/simple-plot This example demonstrates the basic usage of the `plot` function to draw a simple parabolic function. Ensure the `simple-plot` package is imported. ```typst #import "@preview/simple-plot:0.3.0": plot #plot( xmin: -3, xmax: 3, ymin: -1, ymax: 9, xlabel: $x$, ylabel: $y$, show-grid: true, (fn: x => calc.pow(x, 2), stroke: blue + 1.5pt), ) ``` -------------------------------- ### Initialize Typst Project with Template Source: https://typst.app/universe/package/modern-shu-thesis Use this command in the Typst CLI to start a new project based on the modern-shu-thesis template. Ensure you have the Typst CLI installed. ```bash typst init @preview/modern-shu-thesis:0.3.3 ``` -------------------------------- ### Compile Example Project Directly Source: https://typst.app/universe/package/fubell Compile the example template directly by cloning the repository. ```bash typst compile template/main.typ ``` -------------------------------- ### Initialize Qooklet Project with Typst CLI Source: https://typst.app/universe/package/qooklet Create a new Typst project using the qooklet template via the Typst command-line interface. This command fetches and sets up the specified version of the qooklet package. ```bash typst init @preview/qooklet:0.6.2 ``` -------------------------------- ### Configure and Use Summy Cheatsheet Template Source: https://typst.app/universe/package/summy Example of importing the summy package and configuring the cheatsheet function with various options. This setup is recommended for existing projects. ```typst #import "@preview/summy:0.1.0": * #set page(paper: "a4", flipped: true, margin: 1cm) #set text(font: "Arial", size: 11pt) #show: cheatsheet.with( title: "Cheatsheet Title", authors: "Authors", write_title: false, font_size: 5.5pt, line_skip: 5.5pt, x_margin: 30pt, y_margin: 30pt, num_columns: 5, column_gutter: 4pt, numbered_units: false, ) #include "units/00-general-formula.typ" #include "units/01-lorem-ipsum.typ" #include "units/02-lorem-ipsum.typ" ``` -------------------------------- ### Initialize Typst Project with Templates Source: https://typst.app/universe/package/athena-tu-darmstadt-exercise Use 'typst init' to create a new project based on provided templates. Navigate into the created project directory. ```bash # for tudapub typst init @preview/athena-tu-darmstadt-thesis cd athena-tu-darmstadt-thesis # for tudaexercise typst init @preview/athena-tu-darmstadt-exercise cd athena-tu-darmstadt-exercise # for not-tudabeamer-2023 typst init @preview/not-tudabeamer-2023 cd not-tudabeamer-2023 ``` -------------------------------- ### Showman Configuration with Prefix and Scope Source: https://typst.app/universe/package/showman Configure Showman to prefix all examples with specific imports or provide variables directly in the scope. This is useful for common setup code. ```typst // Setup either through providing scope or import prefixes #let my-variable = 5 #let showman-config = ( eval-kwargs: ( prefix: "#import \"@preview/cetz:0.1.2\" ), // Now you can use `my-var` in your examples scope: (my-var: my-variable) ) ``` -------------------------------- ### Initialize Project with Template Source: https://typst.app/universe/package/modern-hust-cs-report Use 'typst init' to create a new project with the specified template. You can optionally provide a custom directory name. ```bash typst init @preview/modern-hust-cs-report ``` ```bash typst init @preview/modern-hust-cs-report my-report ```