Tired of documents that look like they were formatted by a troop of baboons? Try Ape for Typst!
This Typst package provides a comprehensive set of tools for structuring and styling academic course documents across various disciplines. It simplifies the process of creating good looking and consistent layouts, allowing students to focus on content creation.
Key Features:
-
Flexible Title Numbering: Offers a variety of numbering styles for headings and subheadings
-
Table of Contents Customization: Provides enhanced outline
-
Front Page Design: Offers a pre-designed front page templates
-
Easy Integration: Simple to integrate into your Typst documents with clear and concise functions and components.
-
Helpful function: function to highlight information (in boxes), shortcuts, plotting, etc.
Functionalities:
- Starting a new document
#import "@preview/ape:0.3.1": *
#show: doc.with(
lang: "en",
title: "Title",
authors: ("Author1", "Author2"),
style: "numbered",
title-page: true,
outline: true,
smallcaps: true,
)
Exemple 1 : (Style : numbered)
Exemple 2 : (Style : colored)
Soon…
Further informations
Some shortcuts are currently only available in french.
-
Available style
- Numbered
- Plain
- Colored
- Presentation
-
Formatting Functions
para(name, content)
: Create a named paragraph with custom contentrq(content)
: Create a “Remarque” (note) paragraphex(content)
: Create an “Exemple” (example) paragrapharrow-list(items)
: Create a list with arrow bulletsinbox(content)
: Create a box with gray background and border- There are a lot of varient accesible with
inbox2
,inbox3
,inbox4
- There are a lot of varient accesible with
-
Drawing and Plotting
plotting(functions, domain, samples, steps, axis-style, axis, size)
: Plot mathematical functions with customizable optionspoint(coordinates)
: Draw a point at given coordinatespoint-name(coordinates, name, offset)
: Draw a named point with custom offsetquadratic(a, b, c)
: Calculate roots of quadratic equationbase(coordinates, name1, name2, angle)
: Draw a base with custom anglespring(x0, y0, xf, yf, repetitions, amplitude)
: Draw a spring
-
Mathematical Shortcuts
recurrence(property, domain, initialization, heredity, conclusion)
: Format mathematical recurrence proofsdt
,dx
,dtheta
: Differential notationsar(content)
: Arrow notationnar(content)
: Norm of arrow notationdot2
,dot3
: Double and triple dot notationsgrad
: Gradient notationcste
: Constant notation