c

cuti

@preview

Easily simulate (fake) bold, italic and small capital characters.

v0.4.0
MIT
1 downloads

Package Information

Last Updated
Minimum Typst Version
0.12.0

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/cuti:0.4.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/cuti:0.4.0": *

Version History

0.4.00.12.0
aff8bc9e44a8...
0.3.00.12.0
62a7e9f7210f...
0.2.10.11.0
5c7b37cbb7e3...
0.2.00.11.0
e6c7aff00d8a...
0.1.00.11.0
3b0b45c16246...

Cuti

Cuti (/kjuːti/) is a package that simulates fake bold / fake italic / fake small captials. This package is typically used on fonts that do not have a bold weight, such as "SimSun".

Usage

Please refer to the Documentation.

本 Package 提供中文文档: 中文文档

Getting Started Quickly (For Chinese User)

Please add the following content at the beginning of the document:

#import "@preview/cuti:0.4.0": show-cn-fakebold
#show: show-cn-fakebold

Then, the bolding for SimHei, SimSun, and KaiTi fonts should work correctly.

Changelog

0.4.0

0.3.0

  • feat: Add fake small caps feature by Tetragramm.
  • fix: show-fakebold may crash on Typst version 0.12.0.

0.2.1

  • feat: The stroke of fake bold will use the same color as the text.
  • fix: Attempted to fix the issue with the spacing of punctuation in fake italic (#2), but there are still problems.

0.2.0

  • feat: Added fake italic functionality.

0.1.0

  • Basic fake bold functionality.

License

MIT License

This package refers to the following content:

Thanks to Enter-tainer for the assistance.