Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flavio20002/typst-orange-template
The Legrand Orange Book implemented in Typst
https://github.com/flavio20002/typst-orange-template
Last synced: 6 days ago
JSON representation
The Legrand Orange Book implemented in Typst
- Host: GitHub
- URL: https://github.com/flavio20002/typst-orange-template
- Owner: flavio20002
- License: other
- Created: 2023-08-02T06:40:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-22T21:04:43.000Z (8 months ago)
- Last Synced: 2024-06-05T12:46:34.702Z (5 months ago)
- Language: Typst
- Size: 91.6 MB
- Stars: 63
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-typst - typst-orange-template - A Typst book template inspired by The Legrand Orange Book (Templates & Libraries / General)
README
# orange-book
A book template inspired by The Legrand Orange Book of Mathias Legrand and Vel https://www.latextemplates.com/template/legrand-orange-book.## Usage
You can use this template in the Typst web app by clicking "Start from template"
on the dashboard and searching for `orange-book`.Alternatively, you can use the CLI to kick this project off using the command
```
typst init @preview/orange-book
```Typst will create a new directory with all the files needed to get you started.
## Configuration
This template exports the `book` function with the following named arguments:- `title`: The book's title as content.
- `subtitle`: The book's subtitle as content.
- `author`: Content or an array of content to specify the author.
- `paper-size`: Defaults to `a4`. Specify a [paper size
string](https://typst.app/docs/reference/layout/page/#parameters-paper) to
change the page format.
- `copyright`: Details about the copyright or
`none`.
- `lowercase-references`: True to have references in lowercase (Eg. table 1.1)The function also accepts a single, positional argument for the body of the
book.The template will initialize your package with a sample call to the `book`
function in a show rule. If you, however, want to change an existing project to
use this template, you can add a show rule like this at the top of your file:```typ
#import "@preview/orange-book:0.1.0": book#show: book.with(
title: "Exploring the Physical Manifestation of Humanity’s Subconscious Desires",
subtitle: "A Practical Guide",
date: "Anno scolastico 2023-2024",
author: "Goro Akechi",
mainColor: rgb("#F36619"),
lang: "en",
cover: image("./background.svg"),
imageIndex: image("./orange1.jpg"),
listOfFigureTitle: "List of Figures",
listOfTableTitle: "List of Tables",
supplementChapter: "Chapter",
supplementPart: "Part",
part_style: 0,
copyright: [
Copyright © 2023 Flavio BarisiPUBLISHED BY PUBLISHER
#link("https://github.com/flavio20002/typst-orange-template", "TEMPLATE-WEBSITE")
Licensed under the Apache 2.0 License (the “License”).
You may not use this file except in compliance with the License. You may obtain a copy of
the License at https://www.apache.org/licenses/LICENSE-2.0. Unless required by
applicable law or agreed to in writing, software distributed under the License is distributed on an
“AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License._First printing, July 2023_
],
lowercase-references: false
)// Your content goes below.
```