b

boxed-sheet

@preview

An automatically colored and well organised cheatsheet template for writing daily notes with colored bounding box and line titles.

v0.1.2
MIT
Template

Package Information

Last Updated
Authors
Zhihao Li
Categories
report
Disciplines
engineeringcomputer-science

Preview

Template preview

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/boxed-sheet:0.1.2

2. Initialize from template

Create a new project from this template:

typst init @preview/boxed-sheet:0.1.2

Version History

0.1.2
83bda7173c98...
0.1.1
55a85eaf047e...
0.1.0
e18b689a31dd...

Boxed Sheet

Colorful and organised cheatsheet template for Typst that allows you to make a overview of learning notes. Only one or few pages can cover all content about what you want to review and what you need to explore. This way make it convenient to the way of learning one technology and then getting a cheat sheet, and go on.

Page 1 Page 2
Page 3 Page 4

⭐ If this project helps you, please give me a Star!


Usage

To build this project via the CLI, use the command

typst init @preview/boxed-sheet:0.1.2

A sample project will be created with the template format.

Configuration

boxedsheet config

This template exports the boxedsheet function using the a4 page with the following named optional
arguments:

  • title: Title of document (Default = "")
  • homepage: Homepage of author (Default = "")
  • authors: Author Name (Default = "")
  • write_title: Writes Title (Default = false)
  • title-align: Position of titles (Default = center)
  • title-number: Whether to numbered the title (Default = true)
  • title-delta: Fonts delta for title scaling (Default = 1pt)
  • scaling-size: Whether to scale the titles (Default = false)
  • font_size: Size of font (Default = 5.5pt)
  • line_skip: Size of line-skip (Default = 5.5pt)
  • x_margin: Margin on x-axis (Default = 30pt)
  • y_margin: Margin on y-axis (Default = 0pt)
  • num_columns: Number of columns (Default = 5)
  • column_gutter: Space between columns (Default = 4pt)
  • numbered_units: Numbering of units (Default = false)
  • color_box: Color scheme of boxes (Default = my-colors)

boxedsheet-scaling config

In this template we add the extral parameters to adjust the page size and keep other parameters same.

  • page-w: The width of page (Default = auto)
  • page-h: The height of page (Default = auto)

concept-block

This is a bounding box with automatical colors according to top level titles that can hold any text and image.

  • body: Content to write (Required)
  • alignment: Alignment of content (Default = start)
  • width: Width of bounding box (Default = 100%)
  • fill_color: Filling color of bounding box (Default = white)

line title

This is a style placing subtitle in the middle of a colored line drawing more attention.

  • title: Title to show (Required)

Reference