Skip to content
/ caidan Public

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

License

Notifications You must be signed in to change notification settings

cu1ch3n/caidan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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:

Argument Default Value Type Description
title none content The title for your menu
cover_image none content The image on the menu's cover page
update_date none datetime This date will be displayed on the cover page in both Chinese and English
page_height 595.28pt length Page height of your menu
page_width 841.89pt length Page width of your menu
num_columns 3 int The 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]

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages