Giter Club home page Giter Club logo

simplenote's Introduction

模板介绍

SimpleNote 是为撰写简易课程笔记而设计的 Typst 模板,修改自 jsk-lecnotes,有问题欢迎提交 Issue。

使用方法

Note

此模板需要使用 Typst 0.11.0 及以上版本进行编译。

页面右边点击:Clone or download -> Download Zip,将模板文件下载到本地并解压

模板文件夹内主要包含以下七部分:

  • main.typ 主文件
  • refs.bib 参考文献
  • template.typ 文档格式控制,包括一些基础的设置、函数
  • resource.typ 存放模板 svg 资源
  • /content 正文文件夹,存放正文章节
  • /fonts 字体文件夹
  • /figures 图片文件夹

使用模板首先需配置 main.typ,设置标题、描述、作者等信息,如需要进一步更改文档格式,请修改 template.typ。撰写文档请修改 /content 文件夹内的文件。

本地编辑建议使用 VSCode 编辑器,并推荐安装 TinymistTypst Preview 插件。

模板预览

封面 正文1 正文2
cover content1 content2

Caution

如果要将文档拆分为多个文件进行组织,需要将 #import "../template.typ": * 添加到每个文件的顶部,以使某些函数(例如 blockquote())正常工作。

例如,假设你在项目根目录下有一个 ./content/chapter.typ 文件和一个 ./template.typ 文件,那么你需要在 chapter.typ 文件顶部添加 #import "../template.typ": *

更改记录

2024-5-13

  • 修复页眉章节标题显示问题
  • 修复公式编号记数问题
  • 调整定理环境标题显示位置

2024-4-30

  • 更新 typst 包
    • codelst: 2.0.0 ——> 2.0.1
    • ctheorems: 1.1.0 ——> 1.1.2
    • 移除 mitex 包
  • 替换默认封面图片
  • 更改封面日期显示格式
  • 优化页眉章节标题显示逻辑
  • 将变量名中的下横线替换为连字号
  • 默认使用 codelst 包显示行间代码块

simplenote's People

Contributors

a-kkiri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

simplenote's Issues

如何添加新的icon

数学上还有推论,引理等环境,请问一下如何添加相应的icon, 换句话说,您是如何得到resourse.typ 里面的那些定义的?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.