\(\LaTeX\) & Typst
\(\LaTeX\)
Usage
- Overleaf
- TeX Live
- Arch Linux:
paru -S texlive texlive-lang texlive-binextra python-pygments
- MacOS:
brew install --cask mactex-no-gui
&brew install latexindent
- Windows: install-latex-guide-zh-cn
- VS Code: LaTeX Workshop, LaTeX Utilities, Ultra Math Preview
Tutorial
Project Structure
Template
Slides
\documentclass[9pt,aspectratio=169,hyperref=colorlinks]{beamer}
\usepackage{xeCJK}
% or \documentclass{ctexbeamer}
\usecolortheme{whale}
\usefonttheme{professionalfonts}
% \setbeamercolor{item}{fg=black}
\setbeamertemplate{page number in head/foot}[totalframenumber]\useoutertheme[footline=authorinstitutetitle]{miniframes}
\setbeamertemplate{itemize items}[circle]
\title{纯 $\mathbf{AdS_3}$ 引力中的渐进对称性和守恒荷}
\subtitle{河海大学本科毕业论文答辩}
\institute{河海大学力学与工程科学学院}
\author{冯哲}
\usepackage{ragged2e}\justifying\let\raggedright\justifying
% \usepackage{tikz}
% \usebackgroundtemplate{\tikz\node[opacity=0.1]{\includegraphics[width=\paperwidth]{background.jpg}};}
\title{Title}
\subtitle{Subtitle}
\institute{Institute}
\author{Author}
% \date{}
\begin{document}
\frame{\titlepage}
\begin{frame}{frame title}
\end{frame}
\end{document}
Hohai University Bachelor Thesis
Typst
Usage
- Typst.app
- VS Code: Tinymist Typst
Tutorial
Template
中文文章:
#import "article.typ": *
#show: article
#import "@preview/cetz:0.3.0"
#import "@preview/physica:0.9.3": tensor
#let article(body) = {
set heading(numbering: "1.1")
set math.equation(numbering: "(1)")
set page(numbering: "1")
set par(leading: 0.55em, spacing: 0.55em, first-line-indent: 1.8em, justify: true)
set text(font: ("New Computer Modern", "Noto Serif CJK JP"))
show heading: set block(above: 1.4em, below: 1em)
show math.equation: set block(breakable: true)
body
}