Package Information
- Last Updated
- Authors
- @Neruthes
- Categories
- utility
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/latex-compat:0.1.02. Import in your Typst file
Add this to your .typ file:
#import "@preview/latex-compat:0.1.0": *This package provides commands that are named from LaTeX equivalents.
Hierarchy
#section[]#subsection[]#subsubsection[]
Font
#setromanfont(string | dictionary)#setsansfont(string | dictionary)#setmonofont(string | dictionary)#sffamily()#rmfamily()#ttfamily()#mdseries()#bfseries()#upshape()#itshape()#textrm[]#textsf[]#texttt[]#textmd[]#textbf[]#textup[]#textit[]
Miscellaneous
#hrulefill#LaTeX
Metadata
#title[]#author[]#date[]#maketitle()