Giter Club home page Giter Club logo

lualatex-sitelen-pona's Introduction

Notice

This package is based on Jack Humbert's sitelen pona pona font (a cleaned version of sitelen pona), which does the heavy lifting.

However, the font in the latest release of that repository is slightly outdated (doesn't have tonsi or kijetesantakalu). This package was made using the one in Jack's repository's head branch, which is included in this repository for convenience.

Also, this is the first LaTeX package I have ever made.

Description

This LaTeX package adds the commands \sitelenfont and \toki{*}.

\sitelenfont sets the font of the current environment to sitelen-pona-pona.otf, which allows writing text in the style of sitelen pona.

\toki{*} is equivalent to {\sitelenfont *}, though in math mode it is equivalent to \text{\toki{*}}.

For every toki pona word (available in Humbert's sitelen pona pona), this package also adds the commands \toki* as a shorthand for \toki{*} (ex. \tokitonsi, which is equivalent to \toki{tonsi}). Bare in mind that any text can be passed to \toki, like \toki{jan tino li nasa}.

This package was made for and tested with LuaLaTeX. I am not sure if the way other engines are compatible with this package.

Usage

  • Install Jack Humbert's sitelen-pona-pona.otf font on your machine or include the file in your LaTeX project's directory.
  • Install sitelen-pona.sty or include it in your LaTeX project's directory.
  • Import the package with \usepackage{sitelen-pona}.

Example

\documentclass{article}

\usepackage{amssymb}
\usepackage{sitelen-pona}

\begin{document}
	Let $\tokipilin \colon \mathbb R \to \mathbb R$ be the function given by
	\[ \tokipilin(\tokimun) = \frac{2}{\sqrt \pi} \int_0^{\tokimun} e^{-\tokikon^2} d \tokikon \]

	This function is known as the \toki{elo} function.	
\end{document}

compiled latex file showing the definition of the error function

lualatex-sitelen-pona's People

Contributors

dino6 avatar

Watchers

 avatar

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.