-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypstfun.tex
79 lines (56 loc) · 1.64 KB
/
typstfun.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
% -*- coding: utf-8 -*-
\documentclass[oneside,11pt]{article}
\usepackage[a4paper,margin=2cm]{geometry}
\newcommand*{\myversion}{2024A}
\newcommand*{\mydate}{Version \myversion\ (\the\year-\mylpad\month-\mylpad\day)}
\newcommand*{\mylpad}[1]{\ifnum#1<10 0\the#1\else\the#1\fi}
\setlength{\parindent}{0pt}
\setlength{\parskip}{4pt plus 1pt minus 1pt}
\usepackage{typstfun}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{amsmath,amssymb}
\usepackage{ninecolors}
\usepackage{codehigh}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
urlcolor=blue3,
linkcolor=green3,
}
\begin{document}
\title{\textsf{\color{green3}Equivalent Typst Function Names of LaTeX Commands}}
\author{Jianrui Lyu ([email protected])}
\date{\mydate}
\maketitle
This documentation lists equivalent \href{https://typst.app}{Typst} function names for LaTeX commands.
Only math symbols provided by LaTeX format or \texttt{amsmath} bundle are included.
\tableofcontents
\section{Text Environments}
\typstfunPrintEnv{text}
\section{Text Commands}
\typstfunPrintCmd{text}
\section{Math Environments}
\typstfunPrintEnv{math}
\section{Math Commands}
\typstfunPrintCmd{math}
\section{Math Symbols}
\typstfunPrintSym{math}
\begin{thebibliography}{9}
\bibitem{Hefferon}
Jim Hefferon,
\textit{LaTeX Math for Undergrads},
\url{https://gitlab.com/jim.hefferon/undergradmath},
2020.
\bibitem{Xie}
Johan Xie,
\textit{Typst Math for Undergrads},
\url{https://github.com/johanvx/typst-undergradmath},
2023.
\bibitem{Pakin}
Scott Pakin,
\textit{The Comprehensive LaTeX Symbol List},
\url{https://ctan.org/pkg/comprehensive},
2024.
\end{thebibliography}
\end{document}