cu1ch3n/caidan

šŸ” A clean and minimal food menu template.

20

stars

8

commits

Typst

primary language

Apr 4, 2024

updated

README

Caidan

Caidan (čœå• in Chinese, /cĆ i dān/, meaning food menu) is a clean and minimal food menu template.

See the example.pdf file to see how it looks. Additionally, cu1ch3n/menu serves as a practical example project utilizing this template.

Usage

Ensure that WebOMints GD, LXGW WenKai, and Ysabeau Infant fonts are installed first. The required fonts are provided in fonts.

To use this template with typst.app, you may upload the required fonts manually (Note: LXGW WenKai may be too large to upload onto typst.app).

Configuration

This template includes the caidan function, which comes with several configurable named arguments:

ArgumentDefault ValueTypeDescription
titlenonecontentThe title for your menu
cover_imagenonecontentThe image on the menu's cover page
update_datenonedatetimeThis date will be displayed on the cover page in both Chinese and English
page_height595.28ptlengthPage height of your menu
page_width841.89ptlengthPage width of your menu
num_columns3intThe number of columns per page

The function also accepts a single, positional argument for the body.

Example

#import "@preview/caidan:0.1.0": *

#show: caidan.with(
  title: [#en_text(22pt, fill: nord0)[Chen's Private Cuisine]],
  cover_image: image("cover.png"),
  update_date: datetime.today(),
  num_columns: 3,
)

#cuisine[é²čœ][Shandong Cuisine]
- #item[č‘±ēƒ§ęµ·å‚][Braised Sea Cucumber w/ Scallions]
- #item[č‘±ēˆ†ē‰›č‚‰][Scallion Beef Stir-Fry]
- #item[é†‹ęŗœē™½čœ][Napa Cabbage Stir-Fry w/ Vinegar]

#cuisine[å·čœ][Sichuan Cuisine]
- #item[å®«äæéø”äø][Gong Bao Chicken]
- #item[å›žé”…č‚‰][Twice-cooked pork]
- #item[麻婆豆腐][Mapo Tofu]

Contributors

cu1ch3n

7 commits

skylee03

1 commits

cu1ch3n/caidan

šŸ” A clean and minimal food menu template.

20

stars

8

commits

Typst

primary language

Apr 4, 2024

updated

README

Caidan

Caidan (čœå• in Chinese, /cĆ i dān/, meaning food menu) is a clean and minimal food menu template.

See the example.pdf file to see how it looks. Additionally, cu1ch3n/menu serves as a practical example project utilizing this template.

Usage

Ensure that WebOMints GD, LXGW WenKai, and Ysabeau Infant fonts are installed first. The required fonts are provided in fonts.

To use this template with typst.app, you may upload the required fonts manually (Note: LXGW WenKai may be too large to upload onto typst.app).

Configuration

This template includes the caidan function, which comes with several configurable named arguments:

ArgumentDefault ValueTypeDescription
titlenonecontentThe title for your menu
cover_imagenonecontentThe image on the menu's cover page
update_datenonedatetimeThis date will be displayed on the cover page in both Chinese and English
page_height595.28ptlengthPage height of your menu
page_width841.89ptlengthPage width of your menu
num_columns3intThe number of columns per page

The function also accepts a single, positional argument for the body.

Example

#import "@preview/caidan:0.1.0": *

#show: caidan.with(
  title: [#en_text(22pt, fill: nord0)[Chen's Private Cuisine]],
  cover_image: image("cover.png"),
  update_date: datetime.today(),
  num_columns: 3,
)

#cuisine[é²čœ][Shandong Cuisine]
- #item[č‘±ēƒ§ęµ·å‚][Braised Sea Cucumber w/ Scallions]
- #item[č‘±ēˆ†ē‰›č‚‰][Scallion Beef Stir-Fry]
- #item[é†‹ęŗœē™½čœ][Napa Cabbage Stir-Fry w/ Vinegar]

#cuisine[å·čœ][Sichuan Cuisine]
- #item[å®«äæéø”äø][Gong Bao Chicken]
- #item[å›žé”…č‚‰][Twice-cooked pork]
- #item[麻婆豆腐][Mapo Tofu]

Contributors

cu1ch3n

7 commits

skylee03

1 commits

Languages

Typst

100.0%