Code Monkey home page Code Monkey logo

ilm's Issues

Toggle Equation Numbering

Hi, I found configuration options to turn off indices for figures, tables, etc. Could you please help me find a way to turn off numbering for math equations as well? In my case, they're not necessary and are affecting the flow of the content. Thanks!

Typst Universe "create project in app" resulted in an invalid document

I tried using the "Create project in app" feature here, and it generated the following:


#show: ilm.with(
  title: "Chemical Reaction Engineering: ",
  authors: (
    (name: "Andrew S. Rosen", affiliation: "Princeton University"),
  ),
  // Insert your abstract after the colon, wrapped in brackets.
  // Example: `abstract: [This is my abstract...]`
  abstract: lorem(59),
)

However, I'm not sure this is accurate. For instance, authors is not valid.

I know how to properly use the ilm template but just wanted to report this.

Cannot use page function with headings

Really like this template I'm running into issues using the page function with inner headings.

Code

#import "@preview/ilm:1.1.1": *

#show: ilm.with(
  title: [Process Design - G11],
  author: "",
  abstract: [],
  bibliography: bibliography("refs.bib"),
  figure-index: (enabled: true),
  table-index: (enabled: true),
  listing-index: (enabled: true)
)

#page(flipped: true)[
  = PID
#figure(
  align(center)[#image("PID.svg", width: 100%)],
  caption: [A figure to show the PID for the plant],
) 
#table(
  columns: 5,
  [Gross numbers]
)
]

Error

Pagebreaks are not allowed inside of containers line (failed in package "@preview/ilm:1.1.1")

Thanks!

Toggle link circles

The maroon circles next to links are kind of non-standard. It would be good if they could be removed.

Support for other languages

First of all: thanks for this fantastic template! I've already used it in a few documents. One feature request I have, though, would be to support other languages apart from English (currently, things like the date format and headings "force" English in some areas). From a brief look at the template, it looks like this should be relatively easy to achieve, apart from one area:

Trivial Cases

Here, hard-coded values could simply become parameters with default values:

ilm/lib.typ

Lines 93 to 94 in ea4413d

// Display date as MMMM DD, YYYY
text(date.display("[month repr:long] [day padding:zero], [year repr:full]"))

ilm/lib.typ

Lines 129 to 130 in ea4413d

// Display table of contents.
outline(title: "Contents")

ilm/lib.typ

Lines 236 to 238 in ea4413d

if imgs { outline(title: "Index of Figures", target: fig-t(image)) }
if tbls { outline(title: "Index of Tables", target: fig-t(table)) }
if lsts { outline(title: "Index of Listings", target: fig-t(raw)) }

Non-trivial Case

ilm/lib.typ

Lines 137 to 139 in ea4413d

if not txt.starts-with("Index of") and txt != "Bibliography" {
pagebreak()
}

Here, it isn't quite as easy, since the title of the bibliography currently isn't managed by the lib.typ. While, as a short-term solution, this variable could be introduced (and at least set as a default using a #set expression), I don't think this is a great long-term solution ๐Ÿค”. A more stable solution could be to scope that chapter pagebreak show rule to only the body, with the bibliography and outlines being outside the affected scope.

Next steps

I'd be willing to work on / create a PR for this. Would you accept such a change to the project? And if so: what's your preferred solution on the non-trivial case?

Thanks!

Managing acronyms

Thanks for you really excellent template.

There are two acronyms management packages: acrostiche and acrotastic on typst. They do not seem to integrate with the template. I'm just wondering if it's possible to add support for acronym management, it would be great to get an autogenerated section somewhere that contains acronyms and definitions.

image

Page break after title page

Thanks you for creating such a clean and nice looking template for typst. I wonder if you had mind to control via a parameter if there is a blank page after the title - for web this may be unneccessary - I would gladly use a parameter like title-pagebreak = false. Thanks for considering.

Locale

The language is harcoded to English (ie. the word "Contents").
It would be nice to change it according to language settings.

Adding support for a subtitle

Thank you for the excellent template!

Are there any recommended approaches for how to deal with adding a subtitle to an ilm-templated Typst document? Some other Typst templates have this if you're looking for inspiration (e.g. dvdtyp is one). I'm thinking the subtitle would go below the title, maybe not bold and smaller font.

Included files

When working with included files, the page number doesn't show in them.

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.