Coder Social home page Coder Social logo

hust-typst-template's Introduction

Hi I'm werifu (pronounced /welifuː/ or 「ヱリフ」(ウェリフ))👋

  • I like trying new things.
  • I want to make programming easier.

Werifu's GitHub stats

hust-typst-template's People

Contributors

enter-tainer avatar hakureir-eimu avatar kuangjux avatar rapiz1 avatar werifu avatar

Stargazers

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

Watchers

 avatar  avatar

hust-typst-template's Issues

图片序号排版问题

image
更新以后图片排版序号出现出现两次的bug,估计是原来的功能内置了然后又写了一遍导致的,我回去试着改一下

关于标题后分段

标题后不缩进问题应该可以通过

#show heading: it => it + parbreak()

解决,至少我实测如此
(归根结底,没缩进是因为标题和紧接着的文本间不会分段)
从qq空间来的x

中文缩进问题

在列表之后的第一行文本仍然存在不缩进的问题,有序无序均存在问题
image

Ref has a wrong numbering

复现

引用出现在本体后,会导致引用的编号不对(比原来的大)

image

#equation(
  $ A = pi r^2 $,
) <eq1>

根据@eq1 ,推断出@eq2

#equation(
  $ x < y => x gt.eq.not y $,
) <eq2>

原因是自己实现的章节编号(typst并不提供按章节编号功能),在排版执行到图片时自动+1,而引用会用引用时的location去得到计数器。

解决方案是学 word 用 图 1- 作为 supplement 而不是 ,这样可以每一章重新编号,但是 typst 现在还没支持自定义ref的文案,会自动给 supplement 和 numbering 加空格,导致得到 图 1- 1而不是 图 1-1,其他的实现方案感觉成本比较高,先等typst 更新

相关pr:typst/typst#646

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.